{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"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":"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":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"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":"InteractivePresentationController.onPanGesture (cyclomatic 132): InteractivePresentationController.onPanGesture has cyclomatic complexity 132 (threshold 15). Of this number, 129 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8541cad0037e0cf7e02f1106790e6f40af94cdc8093fb3ccbe9ff8b0eead9a5c"}},{"ruleId":"D1","level":"warning","message":{"text":"DestinationLinkDelegateProxy.panGestureDidChange (cyclomatic 80): DestinationLinkDelegateProxy.panGestureDidChange has cyclomatic complexity 80 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cd8b27e28d36d605d6820438426479ae399041e07adc6da702b9751678effa"}},{"ruleId":"D1","level":"warning","message":{"text":"MatchedGeometryViewControllerTransitionAnimator.animateTransition (cyclomatic 72): MatchedGeometryViewControllerTransitionAnimator.animateTransition has cyclomatic complexity 72 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/MatchedGeometryViewControllerTransition.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb72c7665e0907b7941e6233863619067846a921453783086ef8e34ce17d62df"}},{"ruleId":"D1","level":"warning","message":{"text":"UIContextMenuInteraction.makeUIAccessoryView (cyclomatic 59): UIContextMenuInteraction.makeUIAccessoryView has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuAccessoryView.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"448eab7e8d8e911c45fb1aa9074f79238699bb573a2937c98ab142527a641524"}},{"ruleId":"D1","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.onUpdate (cyclomatic 56): PresentationLinkCoordinatorAdapter.onUpdate has cyclomatic complexity 56 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bee732c8387e4801cd3c3334b7106db1205596d3924eb3c48168b7fdd947794"}},{"ruleId":"D1","level":"warning","message":{"text":"CardPresentationController.frameOfPresentedViewInContainerView (cyclomatic 56): CardPresentationController.frameOfPresentedViewInContainerView has cyclomatic complexity 56 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 15 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/CardPresentationController.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce55074a01d90d9e99307a06a3dc0fac395f0b52a1d5e9dbcfe8f258093bf76b"}},{"ruleId":"D1","level":"warning","message":{"text":"PresentationHostingController.viewDidLayoutSubviews (cyclomatic 51): PresentationHostingController.viewDidLayoutSubviews has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Hosting/PresentationHostingController.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1091522838b231c7d780415df65a563bc7d0e318f2b0e71b76ab1854c9dde7ee"}},{"ruleId":"D1","level":"warning","message":{"text":"Detent.toUIKit (cyclomatic 37): Detent.toUIKit has cyclomatic complexity 37 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 16 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"75628da8f7fc552135bcdb75bddb85513d2b07eddcc9db954bb270d743913d30"}},{"ruleId":"D1","level":"warning","message":{"text":"PushNavigationControllerTransition.configureTransitionAnimator (cyclomatic 36): PushNavigationControllerTransition.configureTransitionAnimator has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/PushDestinationLinkTransition.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ea14ba420502240f8a4fa532d118b35f0cbdfbd43ec70f4643ac4747a1bf24"}},{"ruleId":"D1","level":"warning","message":{"text":"NavigationControllerTransition._configureTransitionAnimator (cyclomatic 32): NavigationControllerTransition._configureTransitionAnimator has cyclomatic complexity 32 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/NavigationControllerTransition.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce02d506b56b2b3b08fedce728dddc76c5f7db97afd29fc8f4bbbac275a0cc8"}},{"ruleId":"D1","level":"warning","message":{"text":"Options.update (cyclomatic 30): Options.update has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/SheetPresentationController.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abd27a2f98c49a4da4d50ceca09dfd7fcd5758c356d87d82b0fbd71f82489a2"}},{"ruleId":"D1","level":"warning","message":{"text":"DestinationLinkDelegateProxy.gestureRecognizerShouldBegin (cyclomatic 29): DestinationLinkDelegateProxy.gestureRecognizerShouldBegin has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"724cc599cdb3593373bfd55ac24ee87ab1e79f101c895e2516e67fe5f26bbdf4"}},{"ruleId":"D1","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.present (cyclomatic 27): PresentationLinkCoordinatorAdapter.present has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"597879f1aa0b16556a249cc0b64879b85b17871a49124f2f6a5f33fa0bffb737"}},{"ruleId":"D1","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.presentationController (cyclomatic 27): PresentationLinkCoordinatorAdapter.presentationController has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1cc688b3e227e709dbfea7e3bdeeab5035c19605e0f22e15b4fc8e3bc79f03"}},{"ruleId":"D1","level":"warning","message":{"text":"UITextInput.updateTextPreservingSelection (cyclomatic 25): UITextInput.updateTextPreservingSelection has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/UITextInput\u002BExtensions.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b734db67c507d1738495972a20b35807bd25c29501a809ad1579bebfec020bc7"}},{"ruleId":"D1","level":"warning","message":{"text":"InteractivePresentationController.isAtTop (cyclomatic 24): InteractivePresentationController.isAtTop has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb2bb9065f9a941880d074ece58dc26fdcf83e6c3e786d3cc989daf28f1a309"}},{"ruleId":"D1","level":"warning","message":{"text":"UIView.swizzled_magicMorph_setCenter (cyclomatic 24): UIView.swizzled_magicMorph_setCenter has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Supporting Files/UIMagicMorph\u002BSwizzling.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6434500be3cd0fda86f9a64323f02630cce3770f3a49b50487c4542701012325"}},{"ruleId":"D1","level":"warning","message":{"text":"LuminanceTrackingReader.init (cyclomatic 22): LuminanceTrackingReader.init has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/AdaptiveColorSchemeModifier.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"301899d68e565d40984cec2d7a5f55f0832982299051d84261e74f36d527460c"}},{"ruleId":"D1","level":"warning","message":{"text":"DestinationLinkCoordinatorAdapter.onPop (cyclomatic 22): DestinationLinkCoordinatorAdapter.onPop has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"3338be0cd7de7ae74b22b5ebccc2251731c0cd8d2fbb98d1d9d449c105c6b95c"}},{"ruleId":"D1","level":"warning","message":{"text":"PageContainerController.displayViewController (cyclomatic 22): PageContainerController.displayViewController has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PageContainer.swift"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e12e4b3b682a0a35e116d6fb6d6430d5d2b16268db5bb2b906a5c7a66020de6"}},{"ruleId":"D1","level":"warning","message":{"text":"MatchedGeometryPresentationController.dismissalTransitionShouldBegin (cyclomatic 22): MatchedGeometryPresentationController.dismissalTransitionShouldBegin has cyclomatic complexity 22 (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":"Sources/Transmission/Sources/Transitions/Presentation Controllers/MatchedGeometryPresentationController.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c1b31575b981053a7ed250ea369f2b8d41b2876e741fa4b3d97eef79c59f60"}},{"ruleId":"D1","level":"warning","message":{"text":"DestinationLinkCoordinatorAdapter.onUpdate (cyclomatic 21): DestinationLinkCoordinatorAdapter.onUpdate has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9c82f56202332f2862927b5d670a8d6b0f49f39481a0e791025ab0b325fe23"}},{"ruleId":"D1","level":"warning","message":{"text":"DestinationLinkCoordinatorAdapter.navigationController (cyclomatic 21): DestinationLinkCoordinatorAdapter.navigationController has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"69074c68bbab7a6882b398a1b06503b18dcb01376036fa767be528ec869a7b2d"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuSourceViewLink_Previews.previews (cyclomatic 20): MenuSourceViewLink_Previews.previews has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuSourceViewLink.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92bb7a6fa6a02695d64ea3d5c6380070353021faf1d27035e7eb671da3e21e2"}},{"ruleId":"D1","level":"warning","message":{"text":"TransitionReaderCoordinator.transitionDidChange (cyclomatic 20): TransitionReaderCoordinator.transitionDidChange has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/TransitionReader.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f6ea381a7e6b5efb24374481f9ced7c6c68b40176fd9954bebe0423cbb7602"}},{"ruleId":"D1","level":"warning","message":{"text":"PassthroughView.hitTest (cyclomatic 20): PassthroughView.hitTest has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Supporting Files/PassthroughView.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"868b049a09364b1f4d32409d6cfe12a6988dbb5d9c45582bdd825655c5382fbf"}},{"ruleId":"D1","level":"warning","message":{"text":"SlideTransitionAnimator.animateTransition (cyclomatic 19): SlideTransitionAnimator.animateTransition 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":"Sources/Transmission/Sources/Transitions/View Controller Transitions/SlideTransitionAnimator.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b929944e1b9328ab8f55d8c6cb5e8bd911d2fa86c0fcd641a04500d2e40a367"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextMenuLinkCoordinator.onUpdate (cyclomatic 18): ContextMenuLinkCoordinator.onUpdate has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0676c75094d936803c523a926b40ca3dc8f2190fe0a2c6df8268e803030fda"}},{"ruleId":"D1","level":"warning","message":{"text":"MultilineTextFieldBody.updateUIView (cyclomatic 18): MultilineTextFieldBody.updateUIView has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"db49cdd2d48f2a16140c632030b35578f2e05c9e20f665cd11baedbf0c0dd9d7"}},{"ruleId":"D1","level":"warning","message":{"text":"PageContainerController.didPan (cyclomatic 18): PageContainerController.didPan has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PageContainer.swift"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b291c630db3d03b860e5a04f05e505f8a9230aebdbc60c6b9d73d4314f26ce"}},{"ruleId":"D1","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.presentationControllerWillDismiss (cyclomatic 18): PresentationLinkCoordinatorAdapter.presentationControllerWillDismiss has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"b392fbc19659a0fcfede09938336ed455d75ee59703675265d902cfb2dabb8fc"}},{"ruleId":"D1","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.animationController (cyclomatic 18): PresentationLinkCoordinatorAdapter.animationController has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdcd04049d72fdfcb891de9ac3068a933e4ec9db920377a92feafe8c16fe9bb"}},{"ruleId":"D1","level":"warning","message":{"text":"PageContainerController.scrollViewDidScroll (cyclomatic 17): PageContainerController.scrollViewDidScroll 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":"Sources/Transmission/Sources/PageContainer.swift"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"e004cf022af7935920d6553cb2b1cb48a6cd543ae16758fffb5e636820925625"}},{"ruleId":"D1","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.presentationControllerShouldDismiss (cyclomatic 17): PresentationLinkCoordinatorAdapter.presentationControllerShouldDismiss has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b8146fb09eca8818e59000a34bf65e5f950ca5926a22987e96c1517980122f"}},{"ruleId":"D1","level":"warning","message":{"text":"InteractivePresentationController.dismissalTransitionShouldBegin (cyclomatic 17): InteractivePresentationController.dismissalTransitionShouldBegin has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f66f1aaa0330d15f945a719b71d80799789a0e29fed21bf77f0a3c9b705526"}},{"ruleId":"D1","level":"warning","message":{"text":"InteractivePresentationController.gestureRecognizer (cyclomatic 17): InteractivePresentationController.gestureRecognizer has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65580f9015b90cf2a80d64bc57367a2a9cf221b6d522d1b496e7c74c8faa1f7"}},{"ruleId":"D1","level":"warning","message":{"text":"ToastPresentationControllerTransition.configureTransitionAnimator (cyclomatic 17): ToastPresentationControllerTransition.configureTransitionAnimator 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":"Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"770592dc3f33b4b4c2bea545ec94653c58752e8538fed95f64a6c76f1f04f1ec"}},{"ruleId":"D1","level":"warning","message":{"text":"PopoverPresentationControllerTransition.configureTransitionAnimator (cyclomatic 17): PopoverPresentationControllerTransition.configureTransitionAnimator 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":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45cad143212e5880b399ccc702ee412419d130790134e8709f46c6e7f964c10"}},{"ruleId":"D1","level":"warning","message":{"text":"CrossDissolveTransitionAnimator.animateTransition (cyclomatic 17): CrossDissolveTransitionAnimator.animateTransition 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":"Sources/Transmission/Sources/Transitions/View Controller Transitions/CrossDissolveTransitionAnimator.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3826cea909cbd13dd4ef292cdb1aba3def2ad4fad8448a97e71f0cc7ea41da8"}},{"ruleId":"D1","level":"warning","message":{"text":"String.commonPrefixRange (cyclomatic 17): String.commonPrefixRange has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/UITextInput\u002BExtensions.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fcfeaf0352ddb12cf6116f0959db3bbc6e2843a2d7ff70dd9377f78811a6e1"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextMenuLinkCoordinator.contextMenuPreview (cyclomatic 16): ContextMenuLinkCoordinator.contextMenuPreview 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":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c29702cc044c58d5dd163c9f9c827a3cffd12a3de88d2707fdb06bfc630205"}},{"ruleId":"D1","level":"warning","message":{"text":"DestinationLinkDelegateProxy.triggerHapticsIfNeeded (cyclomatic 16): DestinationLinkDelegateProxy.triggerHapticsIfNeeded has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66c50e9217ab7402df4ca24ec37b0ae7e77f757681f8f335900a4c6f9d096b2"}},{"ruleId":"D1","level":"warning","message":{"text":"SegmentedControlBody.updateUIView (cyclomatic 16): SegmentedControlBody.updateUIView has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/SegmentedControl.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef3ee9d924a1af62755c881e46d373d2658cdca19e465680fce791b33e30170"}},{"ruleId":"D1","level":"warning","message":{"text":"GlassEffect.makeUIVisualEffect (cyclomatic 16): GlassEffect.makeUIVisualEffect 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":"Sources/Transmission/Sources/VisualEffectView.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c494b0728242bbd7c55bba4d282f1eb8499cf044a33021799ab0bf98f70fbb5"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractivePresentationController.onPanGesture (cognitive 284): InteractivePresentationController.onPanGesture has cognitive complexity 284 (threshold 15). Drivers by points: if/else 71 (191 pts), boolean chains 59, ternaries 8 (30 pts), match/switch 2 (4 pts) (nesting depth added 144). Of this number, 273 points are the body\u0027s own statements and 11 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa793e362c48a1e44e8b9b9c136a6da557dcfafd8383c37357f13fae544c161"}},{"ruleId":"D2","level":"warning","message":{"text":"DestinationLinkDelegateProxy.panGestureDidChange (cognitive 188): DestinationLinkDelegateProxy.panGestureDidChange has cognitive complexity 188 (threshold 15). Drivers by points: if/else 56 (147 pts), boolean chains 25, ternaries 5 (12 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 100). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c4cf0a0e5f3eaf7da1191ac8f4c911598ca70eb4b1a7b19fb326dcc3698a53"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.onUpdate (cognitive 128): PresentationLinkCoordinatorAdapter.onUpdate has cognitive complexity 128 (threshold 15). Drivers by points: if/else 32 (99 pts), boolean chains 14, ternaries 3 (9 pts), match/switch 2 (6 pts) (nesting depth added 77). Of this number, 122 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a36868d4b74015e8fd3ad1b3e7e12e9f0eff7ac14f4168d776e0d59da2342e"}},{"ruleId":"D2","level":"warning","message":{"text":"MatchedGeometryViewControllerTransitionAnimator.animateTransition (cognitive 105): MatchedGeometryViewControllerTransitionAnimator.animateTransition has cognitive complexity 105 (threshold 15). Drivers by points: if/else 46 (68 pts), ternaries 16 (18 pts), boolean chains 17, loops 1, match/switch 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/MatchedGeometryViewControllerTransition.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f721d93970b314afefb37c34233dd131dd3656eda0fe96618198eff2bd8ef06"}},{"ruleId":"D2","level":"warning","message":{"text":"UIContextMenuInteraction.makeUIAccessoryView (cognitive 91): UIContextMenuInteraction.makeUIAccessoryView has cognitive complexity 91 (threshold 15). Drivers by points: if/else 30 (51 pts), ternaries 5 (16 pts), boolean chains 12, match/switch 6 (12 pts) (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuAccessoryView.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dc018477948365491610742c19f659ad954970a20d4d2afeac57a45f299e36"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationHostingController.viewDidLayoutSubviews (cognitive 77): PresentationHostingController.viewDidLayoutSubviews has cognitive complexity 77 (threshold 15). Drivers by points: if/else 24 (46 pts), boolean chains 29, ternaries 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Hosting/PresentationHostingController.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d57d7e97220c2b5bf13119d823840d9ca931f2bb090aa636593eead2d0a6c9a"}},{"ruleId":"D2","level":"warning","message":{"text":"CardPresentationController.frameOfPresentedViewInContainerView (cognitive 74): CardPresentationController.frameOfPresentedViewInContainerView has cognitive complexity 74 (threshold 15). Drivers by points: if/else 28 (40 pts), boolean chains 20, ternaries 3 (9 pts), match/switch 2 (5 pts) (nesting depth added 21). Of this number, 59 points are the body\u0027s own statements and 15 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/CardPresentationController.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e08a5c0de417d0c193164fcb26993f5319741b606ca3044ff1b6372c8d5d41"}},{"ruleId":"D2","level":"warning","message":{"text":"Detent.toUIKit (cognitive 60): Detent.toUIKit has cognitive complexity 60 (threshold 15). Drivers by points: if/else 26 (48 pts), boolean chains 11, match/switch 1 (nesting depth added 22). Of this number, 39 points are the body\u0027s own statements and 21 belong to 2 function items inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c48923f4086f58d2c893b7bf4cdf7abd776ab8625a92bf0f3b23d1b666c7653"}},{"ruleId":"D2","level":"warning","message":{"text":"PushNavigationControllerTransition.configureTransitionAnimator (cognitive 57): PushNavigationControllerTransition.configureTransitionAnimator has cognitive complexity 57 (threshold 15). Drivers by points: if/else 19 (33 pts), ternaries 11 (15 pts), boolean chains 8, match/switch 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/PushDestinationLinkTransition.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2bb84e80e068f49bd462c0776b7a43a84b7d70625ca111dc935bc2fa7a0d53"}},{"ruleId":"D2","level":"warning","message":{"text":"UIView.swizzled_magicMorph_setCenter (cognitive 53): UIView.swizzled_magicMorph_setCenter has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (37 pts), boolean chains 10, loops 2 (6 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Supporting Files/UIMagicMorph\u002BSwizzling.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"41101abf67f31eb733fd36bc0d3d6aed97f907035ccf709e04972e393b58b750"}},{"ruleId":"D2","level":"warning","message":{"text":"DestinationLinkCoordinatorAdapter.onUpdate (cognitive 45): DestinationLinkCoordinatorAdapter.onUpdate has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (32 pts), boolean chains 6, ternaries 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dd0175f2b6ab9abc875e70545beb6b7a274081641888f0d05691831b0484d4"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.presentationController (cognitive 45): PresentationLinkCoordinatorAdapter.presentationController has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (36 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faa01f8e2010dc9a17e85bcb65f403204a5972e5ba630dac3eb446366981ace"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.present (cognitive 44): PresentationLinkCoordinatorAdapter.present has cognitive complexity 44 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2325a2f538e1f430c1ae54755fcc2d1221088cc1d273b200f8c596378debe6"}},{"ruleId":"D2","level":"warning","message":{"text":"DestinationLinkCoordinatorAdapter.navigationController (cognitive 41): DestinationLinkCoordinatorAdapter.navigationController has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 6, ternaries 2 (5 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"1508ccd153aff19debe6f589b51eca4673deb6ca634d1c18cf0bf66387fbec15"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenuLinkCoordinator.contextMenuPreview (cognitive 40): ContextMenuLinkCoordinator.contextMenuPreview has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (31 pts), loops 2 (6 pts), boolean chains 3 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffd6ea768dd0558607092c92b1238f385450e8334e4409a432e40e2a4c20b99"}},{"ruleId":"D2","level":"warning","message":{"text":"DestinationLinkDelegateProxy.gestureRecognizerShouldBegin (cognitive 40): DestinationLinkDelegateProxy.gestureRecognizerShouldBegin has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 12 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"54eef1ca3aff84f6468c7e61d756c404163f81fed833b64c8f87124136da8634"}},{"ruleId":"D2","level":"warning","message":{"text":"PassthroughView.hitTest (cognitive 40): PassthroughView.hitTest has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 3 (10 pts), boolean chains 5, ternaries 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Supporting Files/PassthroughView.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6261d7f6a1e2bd1757efaeb4fc31b2b82098b14823aae4c587ace0024931c799"}},{"ruleId":"D2","level":"warning","message":{"text":"DestinationLinkCoordinatorAdapter.onPop (cognitive 38): DestinationLinkCoordinatorAdapter.onPop has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 9 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a41d80536bca2a919f37444116fcf6d4f18cefc5d0029550db2be326c9af7e8"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuSourceViewLink_Previews.previews (cognitive 38): MenuSourceViewLink_Previews.previews has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 6 (15 pts), loops 5 (8 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuSourceViewLink.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"c128c362970992dacffcaa5c8dbe9c1f44277982b1834495b4eb81fb1bd31f22"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.presentationControllerShouldDismiss (cognitive 36): PresentationLinkCoordinatorAdapter.presentationControllerShouldDismiss has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (28 pts), boolean chains 5, ternaries 1 (2 pts), match/switch 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad495a6cc7b1630949b76c213502613f71780feb238d7740d4002da2eb6afe8"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.update (cognitive 36): Options.update has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 8 (nesting depth added 6). Of this number, 30 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/SheetPresentationController.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"2303f23e9dc56a0253b9dd0be7b21c9c4b06d5f2d031a39997c111242e760f56"}},{"ruleId":"D2","level":"warning","message":{"text":"PopoverDimmingView.hitTest (cognitive 36): PopoverDimmingView.hitTest has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (27 pts), loops 2 (7 pts), boolean chains 2 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/PopoverPresentationController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4377fc09c7b166570f0ec009989d7bf4daba1e9da0521ad8868b1615b54b087a"}},{"ruleId":"D2","level":"warning","message":{"text":"UITextInput.updateTextPreservingSelection (cognitive 36): UITextInput.updateTextPreservingSelection has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 10, ternaries 2 (7 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/UITextInput\u002BExtensions.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f95aa633a338ab329f666a2099e4d49cbba32ebc19c18f12b49250bf9625cb"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationControllerTransition._configureTransitionAnimator (cognitive 34): NavigationControllerTransition._configureTransitionAnimator has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 12, loops 5 (nesting depth added 2). Of this number, 30 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/NavigationControllerTransition.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8492244f27bc5f8206f7c2ec7bfb388dd5edc52e0954102fd5d4d91d5350bf1e"}},{"ruleId":"D2","level":"warning","message":{"text":"TransitionReaderCoordinator.transitionDidChange (cognitive 33): TransitionReaderCoordinator.transitionDidChange has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 7 (14 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/TransitionReader.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c59d7bc7930419235adc6139f8b8b60d60394abac750f1acb671938c50bea3a"}},{"ruleId":"D2","level":"warning","message":{"text":"LuminanceTrackingReader.init (cognitive 31): LuminanceTrackingReader.init has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 12 (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":"Sources/Transmission/Sources/AdaptiveColorSchemeModifier.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d35711d80930441650f6074c817ea805b2f561e45086ecb590ebe17bf3e1393"}},{"ruleId":"D2","level":"warning","message":{"text":"PageContainerController.didPan (cognitive 31): PageContainerController.didPan has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 6 (12 pts), boolean chains 4, match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PageContainer.swift"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"70475cbbd78f3bd3955c5c1c8b04a38c52dd5e5a55f1e6b6b294876d5be41493"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.presentationControllerWillDismiss (cognitive 30): PresentationLinkCoordinatorAdapter.presentationControllerWillDismiss has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 7 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"272379c520d16150e0237f6e4e8d0c47ed94b8f0297f873123129edd9351c032"}},{"ruleId":"D2","level":"warning","message":{"text":"PageContainerController.displayViewController (cognitive 28): PageContainerController.displayViewController has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 11, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PageContainer.swift"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ea751d95da112cfc39b3792de939cede2d364c3e60456e5f78f09bdb932993"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowLinkCoordinatorAdapter.onUpdate (cognitive 27): WindowLinkCoordinatorAdapter.onUpdate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, ternaries 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/WindowLinkAdapter.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"85534b2e72df01d6f2b34b836357df142ec8050dcd3f573f031ed636a8dc56f0"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractivePresentationController.isAtTop (cognitive 27): InteractivePresentationController.isAtTop has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 13 (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":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0f74b150c50f72101aa4e1da132ec5e7c96890e5cd8fe1cc20ab1676af276c"}},{"ruleId":"D2","level":"warning","message":{"text":"TransitionReaderCoordinator.transitionCoordinatorDidChange (cognitive 26): TransitionReaderCoordinator.transitionCoordinatorDidChange has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (21 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/TransitionReader.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a8827e60794e9a50dbb35081da936fc85e0c2d5cc55a8ff5f6e618ee5a6788"}},{"ruleId":"D2","level":"warning","message":{"text":"CardPresentationController.setCornerRadius (cognitive 26): CardPresentationController.setCornerRadius has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 3 (9 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/CardPresentationController.swift"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afcc3fa8630daeae81395ae52716d61437470ee4d7770213521689e2dbd72d0"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideTransitionAnimator.animateTransition (cognitive 26): SlideTransitionAnimator.animateTransition has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 4, boolean chains 3, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/SlideTransitionAnimator.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"713901ef0aac62f17af96edb4d4911716c25eb5a2784ce77e310a80a48d8148a"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenuLinkCoordinator.onUpdate (cognitive 25): ContextMenuLinkCoordinator.onUpdate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad780101a67cd418c671a65a5d09321ded0d5094ba6a2573590b9dc2ff8cab5"}},{"ruleId":"D2","level":"warning","message":{"text":"DestinationLinkDelegateProxy.triggerHapticsIfNeeded (cognitive 25): DestinationLinkDelegateProxy.triggerHapticsIfNeeded has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 6, ternaries 1 (2 pts), match/switch 1 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4286e8d4e3e7cb098af092971984f27ebe277b9ca0e0ddccc9c97b3a3614249"}},{"ruleId":"D2","level":"warning","message":{"text":"MultilineTextFieldBody.updateUIView (cognitive 25): MultilineTextFieldBody.updateUIView has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 4, boolean chains 3, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"de155e6e1dad3331fdd64f0a8b59230edaaacee6e8eaff3bffe177e5ab8c4c69"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.animationController (cognitive 25): PresentationLinkCoordinatorAdapter.animationController has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 5, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc7c1625a64f3d63a2bc0ea383aae8e7484429a3569b992aa42e60c2c6e7237"}},{"ruleId":"D2","level":"warning","message":{"text":"Preview.body (cognitive 25): Preview.body has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 9 (17 pts), if/else 8 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/TransitionSourceHostingView.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f205da8bf154da2c6ad55b87372fb4184946c2e905426a7af8c122ecd528d6"}},{"ruleId":"D2","level":"warning","message":{"text":"GlassEffect.makeUIVisualEffect (cognitive 23): GlassEffect.makeUIVisualEffect has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 8 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/VisualEffectView.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc04a6e8a45c00fdaaac05aae2a3cd68abf54efc5e18d4e7330fffc2eb847bf0"}},{"ruleId":"D2","level":"warning","message":{"text":"CornerMask.toCoreAnimation (cognitive 22): CornerMask.toCoreAnimation has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 6 (10 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7493327f0df4337d95b5984af8b5546942bd5a6b8e0153ed00fdd4df880950eb"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractivePresentationController.gestureRecognizer (cognitive 22): InteractivePresentationController.gestureRecognizer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 6 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"859a785b4a8189838a0a9abdc66e547e3b9c62a97bbcb059f77341e076c0cc03"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.gestureDidChange (cognitive 21): PresentationLinkCoordinatorAdapter.gestureDidChange has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"b156768988a817c0c3b2940175dbcdc1218d040aa0679d780e78950cf6f83f36"}},{"ruleId":"D2","level":"warning","message":{"text":"MatchedGeometryPresentationController.dismissalTransitionShouldBegin (cognitive 21): MatchedGeometryPresentationController.dismissalTransitionShouldBegin has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 16, if/else 5. 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":"Sources/Transmission/Sources/Transitions/Presentation Controllers/MatchedGeometryPresentationController.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce3eca0e27338ea02575942b983caa139458698f9a50e22db605e8f20e5c8dc"}},{"ruleId":"D2","level":"warning","message":{"text":"DestinationLinkCoordinatorAdapter.navigationController (cognitive 20): DestinationLinkCoordinatorAdapter.navigationController has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (5 pts), boolean chains 4 (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":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6e8637a1db8584878bd9a122087701676a82f8ba0a69aa6cda186fce47ead5"}},{"ruleId":"D2","level":"warning","message":{"text":"_NavigationTitleViewContentView.layoutSubviews (cognitive 20): _NavigationTitleViewContentView.layoutSubviews has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/NavigationTitleViewModifier.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd9a122f459f62e3ff19f3b43525e5963c48fd47516d62a4b7bb42e297faac4"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.detentDidChange (cognitive 20): Options.detentDidChange has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 1 (4 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/SheetPresentationController.swift"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ea92129a1377ae99648c4863352a6088b7d912c26ea9fb922bf5699397d3f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ToastPresentationControllerTransition.configureTransitionAnimator (cognitive 20): ToastPresentationControllerTransition.configureTransitionAnimator has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 3 (5 pts), ternaries 4, boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc32af8b86256fa517a56fcc97b3ac33df6152c17e2cb9f49ed4afc61abecad8"}},{"ruleId":"D2","level":"warning","message":{"text":"PopoverPresentationControllerTransition.configureTransitionAnimator (cognitive 20): PopoverPresentationControllerTransition.configureTransitionAnimator has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, ternaries 4, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ed13d07cb2d26a015bab6f5924fbde5552c3f1dbeb5d0c8b90883cbb0f49f9"}},{"ruleId":"D2","level":"warning","message":{"text":"CrossDissolveTransitionAnimator.animateTransition (cognitive 20): CrossDissolveTransitionAnimator.animateTransition has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 5, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/CrossDissolveTransitionAnimator.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cab5fcf09e1a90faebc6a542020982de3acf13dd475112c6ee26e297adb233"}},{"ruleId":"D2","level":"warning","message":{"text":"String.commonPrefixRange (cognitive 20): String.commonPrefixRange has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/UITextInput\u002BExtensions.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af4774bd231dd7430f0f32497b7a2de0569749317b318ebf280ee0b0800966c"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayMode.isCollapsed (cognitive 20): DisplayMode.isCollapsed has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (11 pts), match/switch 2 (5 pts), if/else 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/UISplitViewController\u002BExtensions.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d125a31779a2be68484838334d8e0f81a4e40ef32dc3760415b1cb316e922542"}},{"ruleId":"D2","level":"warning","message":{"text":"DestinationLinkDelegateProxy.gestureRecognizer (cognitive 19): DestinationLinkDelegateProxy.gestureRecognizer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"6224fcdcfb8877da0e47b6e13abbfe417f06bc1a12a03fa89ec540bf53802a60"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.makePresentationController (cognitive 19): PresentationLinkCoordinatorAdapter.makePresentationController has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 1 (2 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":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48c62e39aa053779e5750683dba40a0c61ca48074ce991b98569f8610eb268e"}},{"ruleId":"D2","level":"warning","message":{"text":"UIViewController.swizzled_dismiss (cognitive 19): UIViewController.swizzled_dismiss has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Supporting Files/PresentationDelegate.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"910ad68ae4c8417e5bc86ac7464620d703105843e18f1fca94de6b57532a9fee"}},{"ruleId":"D2","level":"warning","message":{"text":"DestinationLinkCoordinatorAdapter.gestureDidChange (cognitive 18): DestinationLinkCoordinatorAdapter.gestureDidChange has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, match/switch 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ca93d319c200738a677d1c1ed1ee1f8ff08c2a00a9fa23bb0c01b29c8d3260"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.sheetPresentationControllerDidChangeSelectedDetentIdentifier (cognitive 18): PresentationLinkCoordinatorAdapter.sheetPresentationControllerDidChangeSelectedDetentIdentifier has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (18 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"e091c4d70d3da9157878c32fed2e528115a4d3bc0eb5887c2f0287201de82f0b"}},{"ruleId":"D2","level":"warning","message":{"text":"SegmentedControlBody.updateUIView (cognitive 18): SegmentedControlBody.updateUIView has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 4, loops 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/SegmentedControl.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c208c3eb09f11cc7c6e0364330e9931a9f7ab944c4659a57a8677c3f790232f5"}},{"ruleId":"D2","level":"warning","message":{"text":"RoundedRectangle.setCornerRadius (cognitive 18): RoundedRectangle.setCornerRadius has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 3 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87d09fe8f3073391cb2edf797e11547eee9f81a7198a1c4c3d65c9dbe83dded"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractivePresentationController.triggerHapticsIfNeeded (cognitive 18): InteractivePresentationController.triggerHapticsIfNeeded has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, match/switch 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b81194881624a196f230249006cf4da967960cb462b0ef3ef3e3c8123281ffb"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewControllerTransition.configureTransitionAnimator (cognitive 18): ViewControllerTransition.configureTransitionAnimator has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 5, boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/ViewControllerTransition.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60fbd6ff40c85b2ce588e8a6517085a3df1724dbfb5d398a921fa8605e9f5a5"}},{"ruleId":"D2","level":"warning","message":{"text":"DestinationLinkDelegateProxy.gestureRecognizer (cognitive 17): DestinationLinkDelegateProxy.gestureRecognizer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0987b4b51e5ecf80b5113ccfed8c5563c87f61cc1f0b73ec138ef41fd76295"}},{"ruleId":"D2","level":"warning","message":{"text":"Binding.updateUIResponder (cognitive 17): Binding.updateUIResponder has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/FirstResponderState.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cb1da18e204c3a7add921184b30bccfd8f2e22db5c05b0aa8074e5ddc47dd9"}},{"ruleId":"D2","level":"warning","message":{"text":"PageContainerController.scrollViewDidScroll (cognitive 17): PageContainerController.scrollViewDidScroll has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), 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":"Sources/Transmission/Sources/PageContainer.swift"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"73223e1d4f50033bc0a8b7fc4825798dead95e3a90274b30315b653a42fd7252"}},{"ruleId":"D2","level":"warning","message":{"text":"SheetPresentationController.frameOfPresentedViewInContainerView (cognitive 17): SheetPresentationController.frameOfPresentedViewInContainerView has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (6 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/SheetPresentationController.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63a459c075d9e2889dfb93bd64713a6e1ab3c0acc907c3429bca63d1880e79d"}},{"ruleId":"D2","level":"warning","message":{"text":"UIGestureRecognizer.isSimultaneousWithTransition (cognitive 17): UIGestureRecognizer.isSimultaneousWithTransition has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (7 pts) (nesting depth added 3). 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":"Sources/Transmission/Sources/Extensions/UIGestureRecognizer\u002BExtensions.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"79975c378447bf21758b603a7ac4a12854e2f0564f680affa53e46b67d392cda"}},{"ruleId":"D2","level":"warning","message":{"text":"DestinationLinkCoordinatorAdapter.navigationController (cognitive 16): DestinationLinkCoordinatorAdapter.navigationController has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dcc2d9d1af7d9f6a69546e2c56283bfd100566dfe7ba31c37df987344b887f"}},{"ruleId":"D2","level":"warning","message":{"text":"DestinationLinkDelegateProxy.gestureRecognizer (cognitive 16): DestinationLinkDelegateProxy.gestureRecognizer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"9226119e184f3c22d7ee9638fa1ddb174cb4f4365dbb2089f1a233202f66b0f2"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationLinkCoordinatorAdapter.animationController (cognitive 16): PresentationLinkCoordinatorAdapter.animationController has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ce3643b168cdc87f1bf9a3804a6f407a2f457eb946bda7213b522a54169121"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractivePresentationController.dismissalTransitionShouldBegin (cognitive 16): InteractivePresentationController.dismissalTransitionShouldBegin has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 4. 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":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"96366c0e8e02d294a73487bd6c2a66fe1808eebc78660461cb167fd327c7ce02"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationController.layoutDimmingView (cognitive 16): PresentationController.layoutDimmingView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2 (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":"Sources/Transmission/Sources/Transitions/Presentation Controllers/PresentationController.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c918f7f7549d538f3aaef5b026fca089f7ccb247e2dd49c5d2d30c45d0856bd7"}},{"ruleId":"D2","level":"warning","message":{"text":"PresentationControllerTransition.configureTransitionAnimator (cognitive 16): PresentationControllerTransition.configureTransitionAnimator has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4, boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedd5fcf35f49be79779398cbf18b89359ec0d891db0b7fc934ae7a9b46a7705"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/DestinationLinkAdapter.swift: FileTooLong \u2014 1402 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 902 over it, 2.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fee692c34320d272a9fa589d42026b2437098c02bdc3d422459cec85a93d3b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InteractivePresentationController.onPanGesture: MethodTooLong \u2014 onPanGesture runs 269 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 169 over it, 2.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0265fa7f59530ec8f82a89b75c0522582beb79c71eadd9de23397facebe2b352"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/PresentationLinkAdapter.swift: FileTooLong \u2014 1299 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: PresentationLinkCoordinatorAdapter (344-1664). The bar is 500 significant lines; this is 799 over it, 2.60\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fcbeb5bec75c4d865d698f574c9d35621fdfdd764aa6e3c719b4173da48f2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MenuSourceViewLink_Previews.previews: MethodTooLong \u2014 previews runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuSourceViewLink.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"465b60161ce8d211c7bfaee44137ea67838df0d572bf391780fd7f963e39c7d1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PresentationLinkCoordinatorAdapter: ClassTooLong \u2014 945 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 545 over it, 2.36\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c561c9ca08009929bf1b6e5c27fc800856468bfda0d550b1e06cd4a42276926"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transitions/CornerRadiusOptions.swift: FileTooLong \u2014 1122 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 622 over it, 2.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40c19a40b5f7073a5989e9050edacf19eb92e4c45f46df6cd38ffec5c16da39"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Preview.body: MethodTooLong \u2014 body runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/VisualEffectView.swift"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac362d790953b58f5f4d92999109c3daa33b7c6ca314812a28fe09ee5e0b6c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MatchedGeometryViewControllerTransitionAnimator.animateTransition: MethodTooLong \u2014 animateTransition runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/MatchedGeometryViewControllerTransition.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a19cd78ee380aab73b0dce9c16d7dc5dfe7180fa9c577c3fce2ab317ea9734"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PresentationLinkCoordinatorAdapter.onUpdate: MethodTooLong \u2014 onUpdate runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"125bbdac165682e050fcc7c8237deeea0f69fadff7e4a494ed81bb67ff85e0db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DestinationLinkDelegateProxy.panGestureDidChange: MethodTooLong \u2014 panGestureDidChange runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1e262981591fa8407ca1370f7c428adf2a30a128b9e6cbe800e70fedb02907"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UIContextMenuInteraction.makeUIAccessoryView: MethodTooLong \u2014 makeUIAccessoryView runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuAccessoryView.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78defaa8d20673186a27a020ec80c5cf3c7485629dd2598c95db9a3a25849f2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: View: TooManyMethods \u2014 48 methods, declared across 21 files: Sources/DestinationLinkModifier.swift (6), Sources/PresentationLinkModifier.swift (6), Sources/WindowLinkModifier.swift (6), Sources/NavigationTitleViewModifier.swift (5), \u002B17 more file(s). The bar is 30 methods; this is 18 over it, 1.60\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":"Sources/Transmission/Sources/AdaptiveColorSchemeModifier.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"07afdebcfc7803e265f46e7d53899734970a70660c9c067bc37966f1e270cc67"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/PageContainer.swift: FileTooLong \u2014 800 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 300 over it, 1.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PageContainer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dd1d30e449e2e93ecfa7af1887c623f600fd02d5d12710d6bed6651b06d94a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DestinationLinkDelegateProxy: ClassTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 207 over it, 1.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3fa92dbf548e21899cacd72e74f2f39db45ff4688018ee998ce615dc176980"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/ContextMenuLinkAdapter.swift: FileTooLong \u2014 753 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 253 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72de9603e01146f105a12f829ca15d6721727e65737e368cfbdfcda5d7ded07c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/VisualEffectView.swift: FileTooLong \u2014 743 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 243 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/VisualEffectView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5041e7fd4c9cb672dc19391404d1fde99959914ee80f7d63e436a27f3d6701ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PortalView_Previews.previews: MethodTooLong \u2014 previews runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Supporting Files/PortalView.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b3c5686a95a0c64db7b3e02817e3db8d912e97bd9d42b8d0c3e26c04fa7439"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InteractivePresentationController: ClassTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 174 over it, 1.44\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb2bedb0611381b9052d0784d29ec725f812aeee4b72c685b0f7a2796f30ef5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CardPresentationController.frameOfPresentedViewInContainerView: MethodTooLong \u2014 frameOfPresentedViewInContainerView runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/CardPresentationController.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a81cca79d8fa822ba2453a48694c20b15add38489db00a1106980b8f55f388"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Preview.body: MethodTooLong \u2014 body runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/SegmentedControl.swift"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2decd7f11dd3d3521da48d25109305aad3a075ef78361f025a183a0ab31708"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/MenuElement.swift: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuElement.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b7d1c0f46bc6563e7745627fc3b8e2d155c33aefe5158d7d84259cf2122867"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Presentation Controllers/SheetPresentationController.swift: FileTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 132 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/SheetPresentationController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0142d3e1c28be738acc27db9b88a63e0e99f57ae02554023ac19d881ece34e28"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SheetPresentationController: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods, 2 blocks, lines 13-767. The bar is 400 significant lines; this is 101 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/SheetPresentationController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cfeaa395c4af9eb61e36f47affa3bdcec07c1ba4a9e5c7532f1076e79a6e9f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NavigationControllerTransition._configureTransitionAnimator: MethodTooLong \u2014 _configureTransitionAnimator runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/NavigationControllerTransition.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8b6e56e9b3c2c645a862f60e30df3071b7f4182929fc5c053d178ef41864d3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DestinationLinkCoordinatorAdapter: ClassTooLong \u2014 482 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 82 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb5143f682e428423b1288a5696293049366d0833fd461fa251728d7f08fcad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/MenuSourceViewLink.swift: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 102 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuSourceViewLink.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"549f9b4c3c643c117833b02bc673fd017632a2ed9bbba7fcad06697c82d642cb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PresentationLinkCoordinatorAdapter: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac348478e89b4a1ff8c67f4ab3c0b45b0cab196a4477c03a6c26f8ab91cb334"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Presentation Controllers/InteractivePresentationController.swift: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: InteractivePresentationController (17-839). The bar is 500 significant lines; this is 81 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7475383775db68acb45256e0d420f9d8fdc70c3e3f932b328780d41ba2e053fc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CornerRadiusOptions: ClassTooLong \u2014 449 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 49 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"328c5c816279780f0076fca254f56abf997f0b4f4a5a01dc6dc76b6ee6a5cac8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Preview.body: MethodTooLong \u2014 body runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fcc3371f23850c267b1219f88ed7afd9ff7083356ca45ced41d526a9fa4d66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Detent.toUIKit: MethodTooLong \u2014 toUIKit runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"88788177dc1b9f3067361cd330d533c5dacd49029bcbc488abb89f416141da20"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Preview.body: MethodTooLong \u2014 body runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d09b02ee5642e0e4f54dd25c69ab53819a75dcb32e0ceb639b1a0a3689d1697"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PresentationLinkCoordinatorAdapter.makePresentationController: MethodTooLong \u2014 makePresentationController runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"589f61e2b714718cb4246ad0c76eaca29f0724300b88ef4e75cdeb3f5530e7f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PushNavigationControllerTransition.configureTransitionAnimator: MethodTooLong \u2014 configureTransitionAnimator runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/PushDestinationLinkTransition.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bdf6064b6af8f9b9aa4c5c77e4fb832c274ed52d100daec0071e1c5d396ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Sources/Transmission/Sources/DestinationLink.swift:136-152 | Sources/Transmission/Sources/DestinationSourceViewLink.swift:171-191 | Sources/Transmission/Sources/PresentationLink.swift:138-154 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:172-192 | Sources/Transmission/Sources/WindowLink.swift:145-163 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e720939154a7c59e130095dd2a81a468fb76cfdf2df880a0af45473f3c20cedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Example/Example/DynamicIslandTransition.swift:169-232 | Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift:145-226 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift:112-204 | Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift:28-93 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DynamicIslandTransition.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceeb19a8a46cf2071147b27a80765597597bb36b4c3e35d07731b452dfae64b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/Transmission/Sources/DestinationLinkAdapter.swift:103-121 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:123-141 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:104-122 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:124-142 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d83679d44f2e2567aebf8ad4cb293ff68402560c63bf21c6e98b8a8a904cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/Transmission/Sources/DestinationLinkAdapter.swift:888-931 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:1360-1413 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1611-1663 | Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift:653-697 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"4910a1fbc8fbf78f72999693a960dfa2650181e5e2facebecb4da93182af120c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/Transmission/Sources/DestinationSourceViewLink.swift:50-65 | Sources/Transmission/Sources/DestinationSourceViewLink.swift:67-83 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:51-66 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:68-84 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b271cfbb19d3e53172bf36666106a2b52cafed49659bcfb426936f957bdac1c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/Transmission/Sources/Transitions/View Controller Transitions/CrossDissolveTransitionAnimator.swift:25-94 | Sources/Transmission/Sources/Transitions/View Controller Transitions/MatchedGeometryViewControllerTransition.swift:39-295 | Sources/Transmission/Sources/Transitions/View Controller Transitions/SlideTransitionAnimator.swift:26-126 | Sources/Transmission/Sources/Transitions/View Controller Transitions/ViewControllerTransition.swift:211-264 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/CrossDissolveTransitionAnimator.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be542b8e0f9a9d725a4cbc52369ef19dc3bcfd2e7c03023d2c1e6781408b65a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (117 corresponding lines): Sources/Transmission/Sources/MultilineTextField.swift:470-587 | Sources/Transmission/Sources/SinglelineTextField.swift:357-473 \u2014 These two members are one piece of code written twice and then edited apart: 117 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":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee50e6ffdcdcc90bd7cfb489ed12964d209d2375039f65821a9431ecd62aa00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): Sources/Transmission/Sources/DestinationLinkPathAdapter.swift:159-212 | Sources/Transmission/Sources/PresentationLinkPathAdapter.swift:158-212 \u2014 These two members are one piece of code written twice and then edited apart: 54 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":"Sources/Transmission/Sources/DestinationLinkPathAdapter.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d74e034391b065eddc9b4433592584be2b1ac6731a66bbf55fff83cc19d31f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:777-805 | Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:807-842 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82660ebd4b0882ded83e8cbbb42814da06ead92d5ece0a5edb77bc799b95554"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): Sources/Transmission/Sources/PresentationLinkAdapter.swift:1120-1181 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1183-1248 \u2014 These two members are one piece of code written twice and then edited apart: 62 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":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed17cc85719e52f5235d5d8842af5274ccc113bf8a6a71167586e72b6222c365"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): Sources/Transmission/Sources/DestinationSourceViewLink.swift:266-306 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:267-305 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f3e5a2cdc6be0e43ac002a1a15ee23f349579ae5454660e39c2cb9861607ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift:21-49 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift:52-87 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd73f48cdeccb1ab1d8f255e70e25ee6f3d7b3dac650bb7930a52afcb39fd4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Sources/Transmission/Sources/WindowLinkTransition.swift:158-189 | Sources/Transmission/Sources/WindowLinkTransition.swift:191-222 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"Sources/Transmission/Sources/WindowLinkTransition.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"560510830d621daedb3e4ddaeb96a6f4d399c9c1863b5ae22d732a31ad94169c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/Transmission/Sources/Extensions/UINavigationController\u002BExtensions.swift:115-139 | Sources/Transmission/Sources/Extensions/UINavigationController\u002BExtensions.swift:141-165 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/UINavigationController\u002BExtensions.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1363515541d4d8d108dc3e26e40558c70b27b5ee4bb4a39ab9f1a830ec72df4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:103-127 | Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:129-155 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuSourceViewLink.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1951d07f30c547c61aa82a7d6a99238c5f43f0e6ec17708c41217f3bcd8a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/Transmission/Sources/ContextMenuLinkAdapter.swift:38-58 | Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:38-57 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31ba987bcc123b3b3ce8d43bc268a1193e60b437afb95f63a1d06634bca1bd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 39\u002B corresponding lines): Sources/Transmission/Sources/DestinationLinkAdapter.swift:1535-1577 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:1579-1617 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:1619-1657 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 39 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9387a8cbdb60ba4c05f9761b42e57cc9dfc5f9fc0b0ebf38b242f8dd1a96cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/Transmission/Sources/DestinationLinkAdapter.swift:1989-2014 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1850-1875 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb2ebf90ac6ad003e9dd8fa660582464da1bf0b0c2acf68bf8844eef1b6c704"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:1191-1209 | Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:1261-1279 \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":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f7bff2a35fa2a9b3b902ce2e765c0afb9b90fa0e32b50340c140e38a969e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:30-62 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SlidePresentationLinkTransition.swift:32-60 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1267faca56dd03b2c9f360df418dea2eee6f469103babde54d9448853b103a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/Transmission/Sources/TransitionReader\u002BAppearanceTransition .swift:17-37 | Sources/Transmission/Sources/TransitionReader\u002BAppearanceTransition .swift:56-76 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/TransitionReader\u002BAppearanceTransition .swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b04880d73152e20ef42d35912e321fa81db6c409ec01d455a4de0298e65acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/Transmission/Sources/Supporting Files/LiquidLensView.swift:26-47 | Sources/Transmission/Sources/Supporting Files/PortalView.swift:161-182 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"Sources/Transmission/Sources/Supporting Files/LiquidLensView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4aa43fda070d73b85925a44a55ddacbd592468203613c5075fc5f90f9c7e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/Transmission/Sources/MenuDialogLink.swift:48-65 | Sources/Transmission/Sources/MenuDialogLink.swift:90-108 \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":"Sources/Transmission/Sources/MenuDialogLink.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"47261b6f0121da2283cbca52c20f9a2005395c915b2c9ac5acabb0762d63addf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/Transmission/Sources/NavigationPaletteModifier.swift:225-249 | Sources/Transmission/Sources/NavigationTitleViewModifier.swift:295-318 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/NavigationPaletteModifier.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4af3474adbb604d8637b1c006896d51d3477ad387b508a804025a9b349e20f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:929-959 | Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:961-995 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f008368168136d1de2b2b18408fde74a059cf69d3e20e7f2668b10161a6acd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): Sources/Transmission/Sources/DestinationLinkAdapter.swift:1659-1684 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:1686-1711 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:1713-1738 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc46d51ca24ce6f7b3c8f9f67ea43ed3762d3de41f1c131acb7e4f45f09de40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:178-201 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:203-225 \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":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8413597a72ecfd0f3b8afe271a13df023948bdc43fd73522cceb9ec5f9f00f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/Transmission/Sources/MenuElement.swift:939-956 | Sources/Transmission/Sources/MenuElementView.swift:128-149 \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":"Sources/Transmission/Sources/MenuElement.swift"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f919c5a609f30e872040a134a4a1d78613adcf5435d7a4140232640f7aedb98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): Sources/Transmission/Sources/DestinationLink.swift:173-189 | Sources/Transmission/Sources/DestinationLinkModifier.swift:109-122 | Sources/Transmission/Sources/PresentationLink.swift:175-191 | Sources/Transmission/Sources/PresentationLinkModifier.swift:112-125 | Sources/Transmission/Sources/WindowLink.swift:186-204 | Sources/Transmission/Sources/WindowLinkModifier.swift:118-133 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"410b3ceb948c7c04349519e05f487ceffe1d3a6e4523c9381fa9d9e82c5101b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/Transmission/Sources/DestinationLinkAdapter.swift:873-886 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1596-1609 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"327d1aaed860ee622c479d7b4e648db783d2e46122a04328858533a3c2c10e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/Transmission/Sources/PresentationLinkAdapter.swift:1250-1271 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1273-1294 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7737b76c26fe4e97c13cb527d56df113efdce42e72ccb6e7226257187addcf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 15\u002B corresponding lines): Sources/Transmission/Sources/DestinationLink.swift:191-208 | Sources/Transmission/Sources/DestinationLinkModifier.swift:124-138 | Sources/Transmission/Sources/DestinationSourceViewLink.swift:238-259 | Sources/Transmission/Sources/PresentationLink.swift:193-210 | Sources/Transmission/Sources/PresentationLinkModifier.swift:127-141 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:239-260 | Sources/Transmission/Sources/WindowLink.swift:206-225 | Sources/Transmission/Sources/WindowLinkModifier.swift:135-151 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63aff3939baff9b6c156bda8dbfa3908b056b190b0f1cbbbb0a02414350cb63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/Transmission/Sources/StatusBarModifier.swift:341-360 | Sources/Transmission/Sources/StatusBarModifier.swift:396-415 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/StatusBarModifier.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"042a7c79c17cf8e93585177bb93729545d24465d8821bf5670e4819a9b6d1dec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:1163-1189 | Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:1234-1259 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"082eba5f43507a7f77693903fb31d9002862b1060c89f3a7d8fb88198315bffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/Transmission/Sources/Transitions/Presentation Controllers/PopoverPresentationController.swift:145-164 | Sources/Transmission/Sources/Transitions/Presentation Controllers/PresentationController.swift:386-409 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/PopoverPresentationController.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"828be930df612a278f0458bbfe9b532c9ac89c814b08a227858f51a8d909039e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:420-439 | Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:571-588 \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":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1aa41c65d15a80b066f79fda712abee80ea3471a83974e651f94a0230ee2424"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/Transmission/Sources/ContextMenuLinkModifier.swift:97-117 | Sources/Transmission/Sources/ContextMenuLinkModifier.swift:124-144 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkModifier.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"13242df85f0fdde4f3c0929909a32c2029f4d3337b9d218f5e57f83f9b3f9179"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/Transmission/Sources/MenuSourceViewLink.swift:96-111 | Sources/Transmission/Sources/MenuSourceViewLink.swift:133-149 \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":"Sources/Transmission/Sources/MenuSourceViewLink.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da8fdd847ace98630d723ccbba314c58338d5adc79ef40b4ba7398751048baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/Transmission/Sources/Supporting Files/PresentationDelegate.swift:178-191 | Sources/Transmission/Sources/Supporting Files/PresentationDelegate.swift:193-206 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Supporting Files/PresentationDelegate.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c0761d6cb4dc351b3fab74e1abb6f2aa3fa72f2132cfcac5aaeb5c306e6cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Sources/Transmission/Sources/DestinationCoordinator.swift:143-170 | Sources/Transmission/Sources/PresentationCoordinator.swift:149-176 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"Sources/Transmission/Sources/DestinationCoordinator.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7992915f02fbb683013b1b6e2bb3378ed978c833017d98058a346f1342f70a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): Sources/Transmission/Sources/DestinationLink.swift:154-171 | Sources/Transmission/Sources/DestinationSourceViewLink.swift:193-214 | Sources/Transmission/Sources/PresentationLink.swift:156-173 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:194-215 | Sources/Transmission/Sources/WindowLink.swift:165-184 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6463635de847e1b1bc83c8b1c2b171a6207e50df95b7c1aacb3aa8fc7f3cede0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/Transmission/Sources/PageContainer.swift:148-163 | Sources/Transmission/Sources/PageContainer.swift:221-235 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PageContainer.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41dbf1af377a3a890743a191ed46961714b3ba1684525f835238a45f0f031cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/Transmission/Sources/SinglelineTextField.swift:46-57 | Sources/Transmission/Sources/SinglelineTextField.swift:79-90 \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":"Sources/Transmission/Sources/SinglelineTextField.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"977e03a240d2bc64b9a1a455f1117e21afbe448916a09abf776663588120263b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): Sources/Transmission/Sources/MenuDialogLink.swift:27-46 | Sources/Transmission/Sources/MenuDialogLink.swift:67-88 | Sources/Transmission/Sources/MenuDialogLinkModifier.swift:96-115 | Sources/Transmission/Sources/MenuDialogLinkModifier.swift:162-186 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuDialogLink.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f499e4ed44f1ca51cb4e726c52524ce6b86c25d2565c220700eecdab8a1ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/Transmission/Sources/MenuElement.swift:546-563 | Sources/Transmission/Sources/MenuElement.swift:654-670 \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":"Sources/Transmission/Sources/MenuElement.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a5cf83119f7ae6757e3bed468afe1eb86cabd57713fe141299c4513239d02d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/Transmission/Sources/DestinationLinkAdapter.swift:1893-1910 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1728-1745 \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":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1893}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a282c4580df5b1eaf488cc6a1e614ba123e560e59ed0ce5d7d4d7cede869b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift:106-126 | Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift:128-147 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e98573c1ec523281d830d75e61fe87864cab477a0b5752b261cfa9cd50ded28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Sources/Transmission/Sources/DestinationLinkAdapter.swift:65-79 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:66-80 | Sources/Transmission/Sources/TransitionLinkAdapter.swift:89-105 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"67806d576d25a9f8f21f83530ee8ee0e8e6041f0c3eae2f67f421630a5ad5a2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/Transmission/Sources/PageContainer.swift:165-182 | Sources/Transmission/Sources/PageContainer.swift:237-252 \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":"Sources/Transmission/Sources/PageContainer.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f080c2c8d497e0ce4d95a4437fd820a32aad221fbaa3f4d40e1980fa9506cc8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): Sources/Transmission/Sources/DestinationLink.swift:118-134 | Sources/Transmission/Sources/DestinationLinkModifier.swift:66-78 | Sources/Transmission/Sources/PresentationLink.swift:120-136 | Sources/Transmission/Sources/PresentationLinkModifier.swift:69-81 | Sources/Transmission/Sources/WindowLink.swift:125-143 | Sources/Transmission/Sources/WindowLinkModifier.swift:69-83 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ce2b36a17584b940e851100167a68a2cd96ab82230dd38808f6215ed779d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/Transmission/Sources/DestinationLinkAdapter.swift:1912-1930 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1747-1765 \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":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64bc850822f8cb825271d0d6dd0a934c1c3511f9ffd93f43cb5d67541b2f8d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:399-418 | Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:550-569 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5e458e46a27ac49de91dc53e24746c30437031c0dd3b8fd3c5ba727d68d18b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Sources/Transmission/Sources/DestinationLinkAdapter.swift:1851-1865 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1686-1700 | Sources/Transmission/Sources/WindowLinkAdapter.swift:338-352 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"303baa1890c423974d1cd9c9dfe6036c9658b8026c2e6f10977551bc354bf757"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/Transmission/Sources/ShareSheetLink.swift:68-79 | Sources/Transmission/Sources/ShareSheetLink.swift:81-93 \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":"Sources/Transmission/Sources/ShareSheetLink.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf91d96ec60ad2e30666ac5fcc9c0b2c39fa8b0267f21f5e9a1eac18df117c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Sources/Transmission/Sources/DestinationLinkAdapter.swift:1877-1891 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1712-1726 | Sources/Transmission/Sources/WindowLinkAdapter.swift:385-399 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dab291a7a4af8c84ebdb52f5ec30a6f60186e377f36be6116eeed78e8e5be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/Transmission/Sources/DestinationLinkPathAdapter.swift:58-72 | Sources/Transmission/Sources/PresentationLinkPathAdapter.swift:57-71 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkPathAdapter.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52816e96d16b02e3606e38814a142959a89cd45392163d9c4e625e7d444300f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): Sources/Transmission/Sources/DestinationLink.swift:102-116 | Sources/Transmission/Sources/DestinationSourceViewLink.swift:129-147 | Sources/Transmission/Sources/PresentationLink.swift:104-118 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:130-148 | Sources/Transmission/Sources/WindowLink.swift:107-123 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c8a5fa2da33dbab25167a5c1eaf8980f47ca1503b2f08a3eeeace15750fc62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): Sources/Transmission/Sources/DestinationLink.swift:85-100 | Sources/Transmission/Sources/DestinationSourceViewLink.swift:108-127 | Sources/Transmission/Sources/PresentationLink.swift:87-102 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:109-128 | Sources/Transmission/Sources/WindowLink.swift:88-105 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5401670d0540cdd16953db88d19e51c1eb8afc610a1dcc04cf457a93ed74e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): Sources/Transmission/Sources/SinglelineTextField.swift:59-67 | Sources/Transmission/Sources/SinglelineTextField.swift:69-77 | Sources/Transmission/Sources/SinglelineTextField.swift:92-100 | Sources/Transmission/Sources/SinglelineTextField.swift:102-110 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/SinglelineTextField.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a8b693cb4fca68dfd0519917c9dc19a62ba57c0b7a10e7a1e7248f7741dec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/Transmission/Sources/StatusBarModifier.swift:319-330 | Sources/Transmission/Sources/StatusBarModifier.swift:374-385 \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":"Sources/Transmission/Sources/StatusBarModifier.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee2a447d1402dd1c01e162da060fbedae29d9b29093e2c663341d17cb5fd36f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Sources/Transmission/Sources/MenuLink.swift:54-66 | Sources/Transmission/Sources/MenuSourceViewLink.swift:78-94 | Sources/Transmission/Sources/MenuSourceViewLink.swift:113-131 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuLink.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5056ff7cd76a206e10ff98ecc111e8c3c14b4d3410a7697abd40480d469d8d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/PushDestinationLinkTransition.swift:84-98 | Sources/Transmission/Sources/Transitions/DestinationLink Transitions/PushDestinationLinkTransition.swift:100-114 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/PushDestinationLinkTransition.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b10f7aa02467d7b5d871258efc384fb697f891b266d7c2dba83751884f6ec39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift:32-50 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/ToastPresentationLinkTransition.swift:30-52 \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":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bee2c571ae1919195cd3584776e2c603977b2f69a9c62abee92fee001c48fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/Transmission/Sources/Transitions/Presentation Controllers/PresentationController.swift:123-146 | Sources/Transmission/Sources/Transitions/Presentation Controllers/PresentationController.swift:161-185 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/PresentationController.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"793a0f8fe3307a991368ec800f384c0a82c1e75a5690099b2268bb30c0cd7e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Transmission/Sources/Transitions/View Controller Transitions/ViewControllerTransition.swift:101-111 | Sources/Transmission/Sources/Transitions/View Controller Transitions/ViewControllerTransition.swift:113-124 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"Sources/Transmission/Sources/Transitions/View Controller Transitions/ViewControllerTransition.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"18143be0fa99c22b4b5e7be2a1fb8ec4ab7eebc5c95629f191ac5f3a28f04f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 17\u002B corresponding lines): Sources/Transmission/Sources/WindowLinkModifier.swift:162-178 | Sources/Transmission/Sources/WindowLinkModifier.swift:185-201 | Sources/Transmission/Sources/WindowLinkModifier.swift:208-224 | Sources/Transmission/Sources/WindowLinkModifier.swift:231-247 | Sources/Transmission/Sources/WindowLinkModifier.swift:254-270 | Sources/Transmission/Sources/WindowLinkModifier.swift:277-293 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/WindowLinkModifier.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ebd7ff81f848c355faa4adb59c523da728574ab049f48b839efe446fde1111"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): Sources/Transmission/Sources/DestinationLinkModifier.swift:80-92 | Sources/Transmission/Sources/DestinationLinkModifier.swift:94-107 | Sources/Transmission/Sources/PresentationLinkModifier.swift:83-95 | Sources/Transmission/Sources/PresentationLinkModifier.swift:97-110 | Sources/Transmission/Sources/WindowLinkModifier.swift:85-99 | Sources/Transmission/Sources/WindowLinkModifier.swift:101-116 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkModifier.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f4eb3700948571204d71d3adc17a9df1118ef46f2c7ab4b83d1219ff957326"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 21\u002B corresponding lines): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift:34-54 | Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift:30-51 | Sources/Transmission/Sources/Transitions/DestinationLink Transitions/ZoomDestinationLinkTransition.swift:18-39 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift:19-39 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/ZoomPresentationLinkTransition.swift:20-41 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"55693e67876ab82d011a1793d1df71e059011ebc2a5084f411c80c3518063160"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:159-169 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SlidePresentationLinkTransition.swift:119-131 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06b55b4a388dc165401aa773343e19955b1ddaa008d288a6ec355866a8c1576"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 17\u002B corresponding lines): Example/Example/DynamicIslandTransition.swift:52-68 | Sources/Transmission/Sources/PresentationLinkTransitionRepresentable.swift:162-178 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CardPresentationLinkTransition.swift:149-165 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift:116-135 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SlidePresentationLinkTransition.swift:140-158 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/ToastPresentationLinkTransition.swift:119-136 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DynamicIslandTransition.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ca0663f5465838e9da1081b918d30211a96fe52c7952f932aeb5d360345b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/Transmission/Sources/MenuLink.swift:111-127 | Sources/Transmission/Sources/MenuSourceViewLink.swift:233-251 \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":"Sources/Transmission/Sources/MenuLink.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"103667e792796b2e853a1d5144469667c38c82faa08bf6cef48d99545874e638"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): Sources/Transmission/Sources/DestinationLink.swift:49-61 | Sources/Transmission/Sources/PresentationLink.swift:51-63 | Sources/Transmission/Sources/QuickLookPreviewLink.swift:76-88 | Sources/Transmission/Sources/WindowLink.swift:50-64 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0497338cc9e051bb1803181d90d5aee0b89e001c061860009d452fc8be484a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): Sources/Transmission/Sources/Extensions/UIView\u002BExtensions.swift:57-65 | Sources/Transmission/Sources/Extensions/UIView\u002BExtensions.swift:75-84 | Sources/Transmission/Sources/Extensions/UIViewController\u002BExtensions.swift:114-122 | Sources/Transmission/Sources/Extensions/UIViewController\u002BExtensions.swift:132-141 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/UIView\u002BExtensions.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d9b62a9c145df6cf0d2da272c598ff57b9b4182cd7b06c142598373c882e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift:302-312 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift:315-327 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift:330-340 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"83092f506c1e55270ee4a69f8c4d1590f968b689cac1b35cd738b200993dbba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 16\u002B corresponding lines): Example/Example/DynamicIslandTransition.swift:70-85 | Sources/Transmission/Sources/PresentationLinkTransitionRepresentable.swift:228-243 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CardPresentationLinkTransition.swift:167-182 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift:137-155 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SlidePresentationLinkTransition.swift:160-177 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/ToastPresentationLinkTransition.swift:138-154 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DynamicIslandTransition.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de3e6833cf1cec2cf0e787d382cc8e3aa9ed8ca6f9d4b776ef831733d1293b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/Transmission/Sources/MenuElement.swift:342-355 | Sources/Transmission/Sources/MenuGroup.swift:304-312 \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":"Sources/Transmission/Sources/MenuElement.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cf26d9dcb218083ebc7ba7474cc42b11abb25c2ecc60b6e462a23dd5f49a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/Transmission/Sources/TabContainer.swift:638-655 | Sources/Transmission/Sources/TabContainer.swift:657-672 \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":"Sources/Transmission/Sources/TabContainer.swift"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b4cf81268ecb52b3a9c673e8b0dbdfc6d77b26d644b3a591661cfa692fea54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift:85-100 | Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift:102-116 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41c6d68453d81e5a7e76431eefea27b714256f6416765487d6293e9efeb6f2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Transmission/Sources/DestinationLinkPathAdapter.swift:25-35 | Sources/Transmission/Sources/PresentationLinkPathAdapter.swift:24-34 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"Sources/Transmission/Sources/DestinationLinkPathAdapter.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21e42e17cf2aa24be29fa86b36a0a491906a0d7e34241b255038045fb195d6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/Transmission/Sources/MenuElement.swift:812-823 | Sources/Transmission/Sources/MenuElement.swift:825-837 \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":"Sources/Transmission/Sources/MenuElement.swift"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eebfe9ed24f4c47f472ff3ef6111bbd21d2321fe4696687fa08f2ba6a1873ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): Sources/Transmission/Sources/DestinationLinkAdapter.swift:281-296 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:379-395 | Sources/Transmission/Sources/WindowLinkAdapter.swift:126-141 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"af14c4090d11ae2c5c4a4fe1aa21a7f5309b50246a43bf60fde14e71071d25d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 15\u002B corresponding lines): Sources/Transmission/Sources/DestinationLinkModifier.swift:149-163 | Sources/Transmission/Sources/DestinationLinkModifier.swift:170-184 | Sources/Transmission/Sources/DestinationLinkModifier.swift:191-205 | Sources/Transmission/Sources/DestinationLinkModifier.swift:212-226 | Sources/Transmission/Sources/DestinationLinkModifier.swift:233-247 | Sources/Transmission/Sources/DestinationLinkModifier.swift:254-268 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkModifier.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7056ea2c99efe955ffad35be2d2b964176287c9c4368c4e43d775719776b891c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): Sources/Transmission/Sources/PresentationLinkModifier.swift:152-166 | Sources/Transmission/Sources/PresentationLinkModifier.swift:194-208 | Sources/Transmission/Sources/PresentationLinkModifier.swift:215-229 | Sources/Transmission/Sources/PresentationLinkModifier.swift:236-250 | Sources/Transmission/Sources/PresentationLinkModifier.swift:257-271 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkModifier.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"510e138c7ac477c22d63b7475c0504b6e620ce0875d867a87f5c8b6485fa7a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:108-116 | Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:118-126 \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":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59bc9efac7c7c7cf3052303a9ce13c986ea1472ce2a7f2905e5512ad2953d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): Sources/Transmission/Sources/DestinationLink.swift:36-47 | Sources/Transmission/Sources/PresentationLink.swift:38-49 | Sources/Transmission/Sources/QuickLookPreviewLink.swift:63-74 | Sources/Transmission/Sources/WindowLink.swift:35-48 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f38082445587203e09c5499cec3de3b2d594e793daff45e27550289fb45a5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/Transmission/Sources/Extensions/UIView\u002BExtensions.swift:14-31 | Sources/Transmission/Sources/Extensions/UIView\u002BExtensions.swift:33-47 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/UIView\u002BExtensions.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bacbff9f98aed30d50aabd13add46a909c694fa63e2cacad363dc04dda4a1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:533-548 | Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:606-621 \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":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07695f174b597225b038e03319d751a3183c4113e8e23cc3445d7027beabe7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/Transmission/Sources/MultilineTextField.swift:345-348 | Sources/Transmission/Sources/SinglelineTextField.swift:274-277 \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":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cfeed2615a516f0fca753cbbcb7268f700b43d5882f70836cac17e5610619c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Sources/Transmission/Sources/ContextMenuAccessoryView.swift:509-522 | Sources/Transmission/Sources/MenuDialogLinkModifier.swift:322-333 | Sources/Transmission/Sources/MenuElement.swift:960-972 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuAccessoryView.swift"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32939ab2d93c7f16973a67bedc38af6990a69418c287141d5daa04e3e135eb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Sources/Transmission/Sources/ShareSheetLink.swift:95-107 | Sources/Transmission/Sources/ShareSheetLink.swift:109-123 | Sources/Transmission/Sources/ShareSheetLink.swift:152-166 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ShareSheetLink.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f51e53b644a2b9c4c98bb282715c03df567869127f5a6383de5c181267fbab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/Transmission/Sources/MultilineTextField.swift:44-57 | Sources/Transmission/Sources/SinglelineTextField.swift:37-44 \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":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f698b33e0f08b8921a889dd8f5079879dc56def4389afe9a1cc7cf5266d7f994"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/Transmission/Sources/QuickLookPreviewLink.swift:90-102 | Sources/Transmission/Sources/QuickLookPreviewLink.swift:144-158 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"Sources/Transmission/Sources/QuickLookPreviewLink.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"275f3e41e3571618b28fa39e0c715ffbc7b14ca9edb53a0bcf22b543dc077af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Sources/Transmission/Sources/TabContainer.swift:253-263 | Sources/Transmission/Sources/Transitions/DestinationLink Transitions/SlideDestinationLinkTransition.swift:116-126 | Sources/Transmission/Sources/Transitions/Presentation Controllers/SlidePresentationController.swift:174-184 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/TabContainer.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"829fd2abcdaa13da773f8b8ca3a7fa6addaa6acd535362c58edc2fb56a4c8d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/ZoomDestinationLinkTransition.swift:62-71 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/ZoomPresentationLinkTransition.swift:64-73 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/ZoomDestinationLinkTransition.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9586cbb9f04dcb124007d09049e9a1a846ac243f37e50858f124f6b635b41c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/Transmission/Sources/PresentationLinkAdapter.swift:641-653 | Sources/Transmission/Sources/WindowLinkAdapter.swift:216-227 \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":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f475d484101dfea8d9b249c3ba35f95ab9c92162388101e62cbcf0c64c84f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/Transmission/Sources/DestinationCoordinator.swift:51-57 | Sources/Transmission/Sources/PresentationCoordinator.swift:53-59 \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":"Sources/Transmission/Sources/DestinationCoordinator.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a46abf60c134798d696cf148572160a94c416190e4ff4df6577a09e3cbfb75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/Transmission/Sources/MultilineTextField.swift:18-28 | Sources/Transmission/Sources/SinglelineTextField.swift:18-27 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c927df500ea305c73cf956154b643db6048048c393a83d2163368ff3bc93e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/Transmission/Sources/MenuElementView.swift:53-63 | Sources/Transmission/Sources/MenuElementRepresentable.swift:32-39 \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":"Sources/Transmission/Sources/MenuElementView.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78f100f69e2a281c863e24fa7625977d08370c110815440cf32c1418dc46501"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/Transmission/Sources/NavigationContainer.swift:141-149 | Sources/Transmission/Sources/PageContainer.swift:604-612 | Sources/Transmission/Sources/TabContainer.swift:550-563 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/NavigationContainer.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b45e6c5061506ca9bb631b3415a1d281ee606d86ea9e8bef6f3f21c9cab85f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Transmission/Sources/ShareSheetLink.swift:196-206 | Sources/Transmission/Sources/QuickLookPreviewLink.swift:171-181 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"Sources/Transmission/Sources/ShareSheetLink.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0d3695e908117388e1605e5fa53dad51ef41cdd71e8ef79bd8cc172c3475ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/Transmission/Sources/MultilineTextField.swift:30-42 | Sources/Transmission/Sources/SinglelineTextField.swift:29-35 \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":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"65751de9b6d8d8bab8cd126e94cc2fde94821f1efd84a9c5ac7378af33ca1804"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/Transmission/Sources/TransitionLinkModifier.swift:47-63 | Sources/Transmission/Sources/WindowLinkModifier.swift:46-63 \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":"Sources/Transmission/Sources/TransitionLinkModifier.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d07cdb8f314969a7ec82a6a76e42a5df469236afc8a247ad6e11168a75679d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/Transmission/Sources/PageContainer.swift:327-340 | Sources/Transmission/Sources/TabContainer.swift:438-450 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"Sources/Transmission/Sources/PageContainer.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ac27ecd14146af288fbb0a567b9871fdbfa36381c118a5f6a14af0d5f048f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/ZoomDestinationLinkTransition.swift:97-107 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/ZoomPresentationLinkTransition.swift:119-131 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/ZoomDestinationLinkTransition.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f437d2c484742b6be3a55f1a33df0c57a3336af330ac98f52ddca0fc7d194fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/Transmission/Sources/Extensions/UIView\u002BExtensions.swift:49-51 | Sources/Transmission/Sources/Extensions/UIViewController\u002BExtensions.swift:106-108 \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":"Sources/Transmission/Sources/Extensions/UIView\u002BExtensions.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcd4f596ccef263b5c726f39bcaaaf0151734e0f60a3f6d7eb573e5cabd8924"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/Transmission/Sources/Extensions/UIView\u002BExtensions.swift:67-69 | Sources/Transmission/Sources/Extensions/UIViewController\u002BExtensions.swift:124-126 \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":"Sources/Transmission/Sources/Extensions/UIView\u002BExtensions.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef63f65d3c2e9fcf7943fc96ad99ce9e1878a4cc60fb1b4209b365bf4ce0d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/Transmission/Sources/QuickLookPreviewLink.swift:104-120 | Sources/Transmission/Sources/ShareSheetLink.swift:125-141 \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":"Sources/Transmission/Sources/QuickLookPreviewLink.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbff5a592a4dad8cdfdc7c6521782c28ea925d585bcb058b8cc127197eed0f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Transmission/Sources/Extensions/UISheetPresentationController\u002BExtensions.swift:297-307 | Sources/Transmission/Sources/Extensions/UIViewControllerTransitionZoomOptions\u002BExtensions.swift:15-25 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"Sources/Transmission/Sources/Extensions/UISheetPresentationController\u002BExtensions.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cb6ea96edf3c2a98349c17fb9c37d88a8ba3ecec02b1a4dd70d3ab5f15b3f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/Transmission/Sources/PresentationLinkTransitionRepresentable.swift:91-104 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CardPresentationLinkTransition.swift:111-123 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"Sources/Transmission/Sources/PresentationLinkTransitionRepresentable.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0821c0553e2434016c676512de68caca41f394d9e6730664dedfac2220496255"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/Transmission/Sources/QuickLookPreviewLink.swift:183-196 | Sources/Transmission/Sources/ShareSheetLink.swift:208-222 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/QuickLookPreviewLink.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b03ec2a7923e2cb9009336231e00275dd9b4b908c3056954fb5c9f9365ace5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Transmission/Sources/Extensions/UIScreen\u002BExtensions.swift:19-29 | Sources/Transmission/Sources/Supporting Files/NavigationBarPalette.swift:66-76 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"Sources/Transmission/Sources/Extensions/UIScreen\u002BExtensions.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ff1a50c35a2cd8d3f0cf95ab48c72bbf37bed635b1a38972d4dd19bdf60b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CardPresentationLinkTransition.swift:19-29 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift:19-29 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SlidePresentationLinkTransition.swift:19-29 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CardPresentationLinkTransition.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a6f85cae045ed91f4f4a42df2937ee6c43e4eb76a13188db9235417693fdbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/Transmission/Sources/MenuButton.swift:229-238 | Sources/Transmission/Sources/MenuElementView.swift:173-182 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuButton.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74a19f1cf49b4b00982e21b76fe5a4dd3f63a91347677a89a074434fbc870c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/Transmission/Sources/TransitionSourceHostingView.swift:157-163 | Sources/Transmission/Sources/VisualEffectView.swift:633-638 \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":"Sources/Transmission/Sources/TransitionSourceHostingView.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cadf38fde3379fe51e6d8347a1f10d9efa2d23fb8f13c0926a92dc734dd313"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/Transmission/Sources/MenuElement.swift:228-233 | Sources/Transmission/Sources/MenuElementRepresentable.swift:73-79 \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":"Sources/Transmission/Sources/MenuElement.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3759e86bc42ed936e585018991d160477bd84ba002daf4f10785090f7c30937d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/Transmission/Sources/TabContainer.swift:243-251 | Sources/Transmission/Sources/Transitions/Presentation Controllers/SlidePresentationController.swift:163-172 \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":"Sources/Transmission/Sources/TabContainer.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e3a37bc1ef71ed6afb7df8afa8bee3ad710afa1ceec22ba87f5d98b60614b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/Transmission/Sources/DestinationCoordinator.swift:128-130 | Sources/Transmission/Sources/PresentationCoordinator.swift:130-132 \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":"Sources/Transmission/Sources/DestinationCoordinator.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a1a0372986de610af23bcf64fdcdf7ee65c1401fd6b995029c21cd5c5f8468"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Example/Example/DynamicIslandTransition.swift:116-125 | Sources/Transmission/Sources/Transitions/Presentation Controllers/PopoverPresentationController.swift:63-72 | Sources/Transmission/Sources/Transitions/Presentation Controllers/SheetPresentationController.swift:125-131 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DynamicIslandTransition.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc11d05def3d876053d67bfed1f74658ae698d98accffb30562e7d60fd5b2bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/Transmission/Sources/NavigationPaletteModifier.swift:75-82 | Sources/Transmission/Sources/NavigationTitleViewModifier.swift:118-124 \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":"Sources/Transmission/Sources/NavigationPaletteModifier.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"11251950e6af896bc6b1e875aad5df625832e57c187c21544bb305da39d2b4b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/Transmission/Sources/TransitionSourceHostingView.swift:310-317 | Sources/Transmission/Sources/VisualEffectView.swift:680-686 \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":"Sources/Transmission/Sources/TransitionSourceHostingView.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ea73644c57e3cef66210dee13eca5ad6c3748f6f7be6801e62b05d7fc35123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): Sources/Transmission/Sources/SegmentedControl.swift:418-468 | Sources/Transmission/Sources/SegmentedControl.swift:502-552 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/SegmentedControl.swift:418\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/Transmission/Sources/SegmentedControl.swift:469\u0060 calls \u0060font\u0060, \u0060weight\u0060 and \u0060Sources/Transmission/Sources/SegmentedControl.swift:554\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":"Sources/Transmission/Sources/SegmentedControl.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d40c10faf91074880b80f1a6866eed992c1966e858aebad3ed4c8b6f91b4d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): Sources/Transmission/Sources/Transitions/Presentation Controllers/CardPresentationController.swift:102-137 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift:372-407 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Transitions/Presentation Controllers/CardPresentationController.swift:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/CardPresentationController.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a2ac51efb67916422beca9fb07df6d1c80085618966c35dc5b40f8667b1103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): Sources/Transmission/Sources/MenuSourceViewLink.swift:815-845 | Sources/Transmission/Sources/MenuSourceViewLink.swift:849-879 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MenuSourceViewLink.swift:815\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuSourceViewLink.swift"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47871652aad708bf7f7048c55ee6c2cd23d72f44f646394f3f634b56f652fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 4): Sources/Transmission/Sources/DestinationLinkAdapter.swift:901-922 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:1381-1403 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1633-1654 | Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift:665-687 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkAdapter.swift:901\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6c2431933c62a6bb4a35f7d2b12eab309e1c85fe1fda534cae4471ba28e3be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): Sources/Transmission/Sources/DestinationLinkAdapter.swift:1662-1684 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:1689-1711 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:1716-1738 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkAdapter.swift:1662\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef079df13b0ef3dd979d8725f672e7a139204a27c1d5476b35717b391a1d172e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Sources/Transmission/Sources/MultilineTextField.swift:130-152 | Sources/Transmission/Sources/TextView.swift:82-104 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MultilineTextField.swift\u0060 and \u0060Sources/Transmission/Sources/TextView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MultilineTextField.swift:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be0c3ee502f8b80e6643d08ad1d7ab782878e8aa395f561edc1c94a7bcd2e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift:161-183 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:244-266 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift\u0060 and \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fc36d259597af63585035e69a2eb6f6407a1fcc98bccbb6bf571d2145cd368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): Sources/Transmission/Sources/DestinationLinkAdapter.swift:1557-1577 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:1597-1617 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:1637-1657 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkAdapter.swift:1557\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1557}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8631220ca566b5f48b2f4954772f7a37fdee1bb743716ebb9312014de12660c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkPathAdapter.swift:192-212 | Sources/Transmission/Sources/PresentationLinkPathAdapter.swift:192-212 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkPathAdapter.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkPathAdapter.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkPathAdapter.swift:192\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkPathAdapter.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8273c2b225d779f86f32f7f7fbfaba2df645ed7d86827f862dc3987a2113fec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sources/Transmission/Sources/MenuSourceViewLink.swift:525-545 | Sources/Transmission/Sources/MenuSourceViewLink.swift:549-569 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MenuSourceViewLink.swift:525\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuSourceViewLink.swift"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"deea84ea7bc64dc6bb9cd381bf88ab4f4ee4656ff9b486a4df2108bcd0452fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift:153-173 | Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift:35-55 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift\u0060 and \u0060Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ca1e18b4e15372dacccd54bf2c37157e0a7d0eb5c50589de7f4f571b973203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sources/Transmission/Sources/Transitions/View Controller Transitions/ViewControllerTransition.swift:189-209 | Sources/Transmission/Sources/Transitions/View Controller Transitions/ViewControllerTransitionAnimator.swift:41-61 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Transitions/View Controller Transitions/ViewControllerTransition.swift:189\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/ViewControllerTransition.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"042c6f80bc5fd7fdc0f9b2937b2dae575af6f6ae52c49561d49e6924e7d3545a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 3): Sources/Transmission/Sources/DestinationLinkAdapter.swift:181-200 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:182-201 | Sources/Transmission/Sources/TransitionLinkAdapter.swift:197-213 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3314f3ee384d7591b57ec098beb11cdd35627f5c6cb1cbefbcd4a8eae6302129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:172-191 | Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:195-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:172\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:194\u0060 calls \u0060frame\u0060 and \u0060Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:171\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuSourceViewLink.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbab1b16fbf4062d214e996967c3407e6213f77ba63162ef107256c51330ba48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkAdapter.swift:160-179 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:161-180 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkAdapter.swift:160\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8482e1d2d5c81eead13e32cc0ead8a95057f91435fe47e16bf6c35db98d7d7c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/Transmission/Sources/NavigationTitleViewModifier.swift:395-414 | Sources/Transmission/Sources/NavigationTitleViewModifier.swift:424-443 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/NavigationTitleViewModifier.swift:395\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/NavigationTitleViewModifier.swift"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3770f62358ea2265f65cf9116907c7c24d02c351f5c71ecbdcd3d026261b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): Sources/Transmission/Sources/PresentationLinkAdapter.swift:1123-1142 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1185-1203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/PresentationLinkAdapter.swift:1123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bf4e6c1485f7e8466be457d0c2746101d7df77800307d186b1e7de4a15a4e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/Transmission/Sources/DestinationSourceViewLink.swift:151-169 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:152-170 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:151\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"668296f0ff31b494edaa5b32b2e4c8a609af909f7020c8383dacfbf28de6cfb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/Transmission/Sources/DestinationSourceViewLink.swift:173-191 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:174-192 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:173\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8cc8e722a02bfd4e013f0daa88c23405a54e54bf6addefabbc67a478925acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/Transmission/Sources/DestinationSourceViewLink.swift:196-214 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:197-215 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:196\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbac0d61c8c09b49ba1a3daee8c05f87bd89d5d5a5eb1fc559465e43019a0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/Transmission/Sources/DestinationSourceViewLink.swift:218-236 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:219-237 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:218\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"217dbb20ad26df77090f328164dffeb74d2c6a099037944b51fe26e53a533ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/Transmission/Sources/DestinationSourceViewLink.swift:241-259 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:242-260 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:241\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbec554b7638ddade9563ad25574b77769dd6dfdd86e5575d145b9b408217781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkPathAdapter.swift:174-191 | Sources/Transmission/Sources/PresentationLinkPathAdapter.swift:173-190 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkPathAdapter.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkPathAdapter.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkPathAdapter.swift:174\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkPathAdapter.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11d9f893c9d480bf20d126fbcb26a19869099d876c3a8ed4206221c9784ec77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/Transmission/Sources/NavigationPaletteModifier.swift:227-244 | Sources/Transmission/Sources/NavigationTitleViewModifier.swift:297-314 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060contentView\u0060 to \u0060ContentView\u0060 in one and \u0060UIView\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/NavigationPaletteModifier.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d80b483b6f9640f6522ed4b962e5979b8b2eca780345e7d555184cfe2ca1a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkPathAdapter.swift:141-157 | Sources/Transmission/Sources/PresentationLinkPathAdapter.swift:140-156 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkPathAdapter.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkPathAdapter.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkPathAdapter.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96911c5693923e37917af30c76ca95680657eb7c023150bd7031b92eb3f182e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/Transmission/Sources/DestinationSourceViewLink.swift:131-147 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:132-148 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:131\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6aae1f540bf7ca218e1c933983a432916693716bb9776b50e58d3c0f98243b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): Sources/Transmission/Sources/TransitionSourceHostingView.swift:215-230 | Sources/Transmission/Sources/TransitionSourceHostingView.swift:232-248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/TransitionSourceHostingView.swift:215\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/TransitionSourceHostingView.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9934b613fbfbad24c77425b733a7d99cb5a2df132016ceb7c4f2bd879fc3d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): Sources/Transmission/Sources/TransitionSourceHostingView.swift:216-230 | Sources/Transmission/Sources/TransitionSourceHostingView.swift:233-247 | Sources/Transmission/Sources/TransitionSourceHostingView.swift:249-264 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/TransitionSourceHostingView.swift:216\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/Transmission/Sources/TransitionSourceHostingView.swift:231\u0060 calls \u0060rounded\u0060 and \u0060Sources/Transmission/Sources/TransitionSourceHostingView.swift:265\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":"Sources/Transmission/Sources/TransitionSourceHostingView.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"754c6c7976a4680dffc04880e16c5f9e8373066dca7e114477b5fb7608d19009"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:47-62 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SlidePresentationLinkTransition.swift:45-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:47\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f23bf55fc6b834eb6e3c74ffed836104211580c237757edc07fe0af6a1af3ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/ContextMenuAccessoryView.swift:610-624 | Sources/Transmission/Sources/ContextMenuAccessoryView.swift:626-640 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060alignment\u0060 to \u0060.topTrailing\u0060 in one and \u0060.center\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/Transmission/Sources/ContextMenuAccessoryView.swift:641\u0060 calls \u0060padding\u0060 and \u0060Sources/Transmission/Sources/ContextMenuAccessoryView.swift:626\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuAccessoryView.swift"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3594958bb2ef8a42c15c1c6dc58fcdbe5aea8dd9e56d9a1cca5164bbe5521f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/DestinationLink.swift:120-134 | Sources/Transmission/Sources/PresentationLink.swift:122-136 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLink.swift:120\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7144fc17357b9969907d96de89819c86288d88dc90a62d57b25d3d42bf5e585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/DestinationLink.swift:138-152 | Sources/Transmission/Sources/PresentationLink.swift:140-154 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLink.swift:138\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb6ce7b3556f727555770f8a863c969045f5cd3a222320f262b95eeabbc5570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/DestinationLink.swift:157-171 | Sources/Transmission/Sources/PresentationLink.swift:159-173 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLink.swift:157\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1034d65768e37144fe03afb06482d97ed85e53686c5b3112a8e6797992296576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/DestinationLink.swift:175-189 | Sources/Transmission/Sources/PresentationLink.swift:177-191 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLink.swift:175\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6490ad8c03869643a58bf0cc69a2aa633be171121130c3a2cb878b1b6b98a46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/DestinationLink.swift:194-208 | Sources/Transmission/Sources/PresentationLink.swift:196-210 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLink.swift:194\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a591a3417b106e0436eb51e4b7069346e179fcd80b60b27d33fede8bb5de7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkAdapter.swift:105-119 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:106-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkAdapter.swift:105\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"976e40ee624200bd1f3e7f9caddc95c1388827e2ce7e10a6ac29f11a8681a4d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkAdapter.swift:125-139 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:126-140 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkAdapter.swift:125\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5803183d459d36eff735bdb1f103be813bfa6d3c466070cffd7c7e1b110fe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/DestinationSourceViewLink.swift:69-83 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:70-84 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:69\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d77c3fa376841a6243babb9afc0020cdaa4df609a42140d0715ade50574632a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/DestinationSourceViewLink.swift:111-125 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:112-126 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:111\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6792a149b488b635b9a6886970dd17c42026c5dca50b8ae96634be2fe8ef0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/MenuDialogLinkModifier.swift:172-186 | Sources/Transmission/Sources/MenuDialogLinkModifier.swift:197-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MenuDialogLinkModifier.swift:172\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, \u0060Sources/Transmission/Sources/MenuDialogLinkModifier.swift:214\u0060 calls \u0060available\u0060 and \u0060Sources/Transmission/Sources/MenuDialogLinkModifier.swift:188\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuDialogLinkModifier.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7871a59117b182fd83f4ad0d6a418f8de26f26460b58627b8dcb4baee76fd60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/Supporting Files/PortalView.swift:294-308 | Sources/Transmission/Sources/Supporting Files/PortalView.swift:313-327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Supporting Files/PortalView.swift:294\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Supporting Files/PortalView.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fa8978b1ce44769a80baccecc0b5ce75d09ff6892d94240cea251d0bc27acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift:128-142 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift:167-181 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift\u0060 and \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"89405e90a79a091aa91f2404a7b7a60918b07eb69148b0cfe24b5bd1d95b0878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Sources/Transmission/Sources/DestinationSourceViewLink.swift:114-127 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:115-128 | Sources/Transmission/Sources/WindowLink.swift:171-184 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:114\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a324e747a8099012bb502bd8c479c41edcccbace4199ccb1bba053b61731b867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift:160-173 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift:144-157 | Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift:42-55 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift\u0060 and \u0060Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift:160\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6caa3c1ba02c6f19b4768207d7f8f3395fe5cca13f00c528fe7b00fe6295a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkAdapter.swift:858-871 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1564-1577 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"625a02bc9a8bab9745bfd5fa4527de28977e5ba46a819edb4479f188c4ba3dbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/Transmission/Sources/DestinationSourceViewLink.swift:52-65 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:53-66 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:52\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c796875929b08201a97e00d0331e117aabf21f83054610ae75751cc8108fe9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/Transmission/Sources/MultilineTextField.swift:113-128 | Sources/Transmission/Sources/SinglelineTextField.swift:164-179 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MultilineTextField.swift\u0060 and \u0060Sources/Transmission/Sources/SinglelineTextField.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MultilineTextField.swift:113\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d60152afffed8e9763abecbe89751a96a7d8d2b952b15fabad01bb89be94b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift:185-198 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:268-281 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift\u0060 and \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3628a3d47834852bf9d27d8af078006703b1723c2987cc32853c67e6a49c53e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): Sources/Transmission/Sources/DestinationLinkAdapter.swift:109-121 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:129-141 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:110-122 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:130-142 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkAdapter.swift:109\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5d01d73921a2610d97336d05c30b5555d4c9962bcf67f5ea74650054fdd30e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:43-55 | Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:65-77 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:43\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuSourceViewLink.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0486c788c7660f48fd3a51b62511dbed5e57b92fe05160462dd4ae7ffdc738d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Transmission/Sources/DestinationLink.swift:88-100 | Sources/Transmission/Sources/PresentationLink.swift:90-102 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLink.swift:88\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"718ae00b552308b81ba2489ef65590dbbee8662b7ccd09ee013c610b8c3fc59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Transmission/Sources/DestinationLink.swift:104-116 | Sources/Transmission/Sources/PresentationLink.swift:106-118 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLink.swift:104\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"46794ae2b7817a488ae9c4af1153f4cc422655ef7f76fbe2a25d89248845459d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkAdapter.swift:67-79 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:68-80 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkAdapter.swift:67\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e8e2cf334731561bbe34108b93e2ffe0743e846a81babeca261175845ecc99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Transmission/Sources/DestinationSourceViewLink.swift:268-280 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:268-280 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:268\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a184fb09be481f8676b387c38910bb1c5522479a765f6d48b067996c7fb902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Transmission/Sources/MenuDialogLink.swift:51-63 | Sources/Transmission/Sources/MenuDialogLink.swift:94-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MenuDialogLink.swift:51\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuDialogLink.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b038ea9b520d4e5059e83d41e8d72383b0da5ac7fbbe6c8edfbb86f0d3ab62a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift:149-161 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift:188-200 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift\u0060 and \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf8621620229b5cd981513bb5909e1ec8812565f82ffb1da05152e4a799072d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Sources/Transmission/Sources/ContextMenuAccessoryView.swift:245-256 | Sources/Transmission/Sources/ContextMenuAccessoryView.swift:376-386 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/ContextMenuAccessoryView.swift:245\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuAccessoryView.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc524b4a3c0eef53e9619c4452959cd238447618aeae5243ece1139762fdce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkModifier.swift:111-122 | Sources/Transmission/Sources/PresentationLinkModifier.swift:114-125 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkModifier.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift:111\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkModifier.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8c343ab0e5f26e7157899ac927636fb9d91bd9526c5b5c40ec1d9c5979437e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkModifier.swift:127-138 | Sources/Transmission/Sources/PresentationLinkModifier.swift:130-141 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkModifier.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift:127\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkModifier.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb1199bc7eab9d644c6c445c68145c081efbab6078620475e3886d234d7bbe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Transmission/Sources/Supporting Files/UIGestureRecognizerDelegateProxy.swift:20-31 | Sources/Transmission/Sources/Supporting Files/UINavigationControllerDelegateProxy.swift:20-31 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Supporting Files/UIGestureRecognizerDelegateProxy.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a44c860498ebb66806dc1a6a7a03262cf71b0a2b48c9f8be47b852ab885eb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Transmission/Sources/Supporting Files/UIGestureRecognizerDelegateProxy.swift:33-44 | Sources/Transmission/Sources/Supporting Files/UINavigationControllerDelegateProxy.swift:33-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Supporting Files/UIGestureRecognizerDelegateProxy.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09740bf6e167ad193997997efb221a813675ee2cbce5b02fe51c754422b55b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift:189-199 | Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift:61-72 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift\u0060 and \u0060Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift:189\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d937b85801623e20f324574159b838acba4e43df2bcf82f8d96e5d191b4cf9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:180-191 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:205-215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:180\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060presentationController\u0060 to \u0060MatchedGeometryPresentationController\u0060 in one and \u0060UIPresentationController\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afb21efb0689b089459cedc3890eedba85ac912eaec52f09b8d8352826cf3e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Transmission/Sources/ContextMenuLinkAdapter.swift:778-788 | Sources/Transmission/Sources/ContextMenuLinkAdapter.swift:798-808 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e924c30e7b5b8411ba2ed5e5754ce9b6aafb4334c5978524c9df7bfb69247bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Transmission/Sources/DestinationLink.swift:51-61 | Sources/Transmission/Sources/PresentationLink.swift:53-63 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLink.swift:51\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"912f71a28af6509537600b7a86a794f32b879efad2ed1dc4ff19ba2de270a028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkModifier.swift:68-78 | Sources/Transmission/Sources/PresentationLinkModifier.swift:71-81 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkModifier.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift:68\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkModifier.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c13136258ea73222b62f237ddca0143639cfa5b2d00f8b15e515222e0aa8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkModifier.swift:82-92 | Sources/Transmission/Sources/PresentationLinkModifier.swift:85-95 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkModifier.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift:82\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkModifier.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6b476507b15cb0fe9c99052131b757bdc776d2410c464b29298ac93e233532"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkModifier.swift:97-107 | Sources/Transmission/Sources/PresentationLinkModifier.swift:100-110 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkModifier.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift:97\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkModifier.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b4e93ed301fdcaf7dbd69e025d89c01b4a84005eed6da557e395d221006c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Transmission/Sources/DismissDestinationLink.swift:26-36 | Sources/Transmission/Sources/DismissPresentationLink.swift:26-36 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DismissDestinationLink.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"316dde657aaa5402d2de70c207d18f19cb1c8713f70cbfdf32e2fccd8fa7c704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Transmission/Sources/PresentationLinkAdapter.swift:1690-1700 | Sources/Transmission/Sources/WindowLinkAdapter.swift:342-352 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/PresentationLinkAdapter.swift:1690\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b9900ebc044c171b3bf99b9ad544517a8928a136214ad64c202744301ae37b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Transmission/Sources/Supporting Files/LiquidLensView.swift:32-42 | Sources/Transmission/Sources/Supporting Files/PortalView.swift:167-177 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Supporting Files/LiquidLensView.swift:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Supporting Files/LiquidLensView.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d297f572d602411328ebe9f3f8f616a85957f0e4c7c827699b35fee87eb03c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:1191-1200 | Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift:1261-1271 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/CornerRadiusOptions.swift"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"987613101294fa2aa9524d0d8f920ed2f444963693e21dc5ab7d36a6206e6407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): Sources/Transmission/Sources/DestinationSourceViewLink.swift:198-206 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:199-207 | Sources/Transmission/Sources/WindowLink.swift:169-178 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:198\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edcc1cc94711f9bd47f72696f2845394d9bef23d824e881503fc64057d99675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:108-117 | Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:135-143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:108\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuSourceViewLink.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"926bab0e1d55f0788d68fcf62fa6a53be594aef0286de45593a5492734642986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Transmission/Sources/DestinationLink.swift:38-47 | Sources/Transmission/Sources/PresentationLink.swift:40-49 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLink.swift:38\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44b2847f3c90a57193e61f6e0c058a15e03a661c8aae392fb1ac06e150436ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Transmission/Sources/MenuSourceViewLink.swift:100-109 | Sources/Transmission/Sources/MenuSourceViewLink.swift:138-147 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MenuSourceViewLink.swift:100\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuSourceViewLink.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"851286df2eb660aa27566ad357104209e58fda19747dc5e53a48e4af5d45398d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Transmission/Sources/MultilineTextField.swift:472-481 | Sources/Transmission/Sources/SinglelineTextField.swift:358-367 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MultilineTextField.swift\u0060 and \u0060Sources/Transmission/Sources/SinglelineTextField.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MultilineTextField.swift:472\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55b61abe396940b092a9e29796fd13b2df36112c2dc6c54cad5bf4fc4b1fd59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift:176-188 | Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift:201-210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a2f21891335f0c9a9ea0f93496efbd1ee59f91ed5846dbff3c058d9755b456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): Sources/Transmission/Sources/DestinationLink.swift:138-146 | Sources/Transmission/Sources/DestinationSourceViewLink.swift:175-182 | Sources/Transmission/Sources/PresentationLink.swift:140-148 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:176-183 | Sources/Transmission/Sources/WindowLink.swift:148-155 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLink.swift\u0060 and \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLink.swift:138\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea666f5e027398982b1781033d751b031a97ad409c5aaf51d6a4fd5a5a2790e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Sources/Transmission/Sources/DestinationSourceViewLink.swift:55-63 | Sources/Transmission/Sources/DestinationSourceViewLink.swift:73-81 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:56-64 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:74-82 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:55\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"affe82c015933a50d5e12cf857a9f661b94da2bbdad23c3973ef31756843ccf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sources/Transmission/Sources/DestinationSourceViewLink.swift:153-161 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:154-162 | Sources/Transmission/Sources/WindowLink.swift:128-136 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:153\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dd8cf014a6e82a7871cd40629eb7197f9a3a8f6179f64a5a4f5a7d41b2a87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sources/Transmission/Sources/DestinationSourceViewLink.swift:243-251 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:244-252 | Sources/Transmission/Sources/WindowLink.swift:210-218 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:243\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"814e0f8dc2a498f9835b14aefb2f9e5b369a5a51352f59e9350390b2cd705469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/MenuDialogLink.swift:31-39 | Sources/Transmission/Sources/MenuDialogLink.swift:72-80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MenuDialogLink.swift:31\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuDialogLink.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f89d089c7aaeb632163429537b436916fe341d85b7d6b80b7b7821273c97f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/MenuLink.swift:248-256 | Sources/Transmission/Sources/MenuSourceViewLink.swift:424-432 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MenuLink.swift\u0060 and \u0060Sources/Transmission/Sources/MenuSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuLink.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"53530a4acf8194f25a243c2be64f60b186c89ad13a79d9cee0b4827e2cd94334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/PresentationLinkAdapter.swift:1251-1259 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1274-1282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/PresentationLinkAdapter.swift:1251\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c1bb3bc1f50477f0f3dc433b04ce3e39278df28d03cb124415663eeaf0d1c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): Sources/Transmission/Sources/DestinationLink.swift:175-182 | Sources/Transmission/Sources/DestinationSourceViewLink.swift:220-227 | Sources/Transmission/Sources/PresentationLink.swift:177-184 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:221-228 | Sources/Transmission/Sources/WindowLink.swift:189-196 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLink.swift\u0060 and \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLink.swift:175\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6504c9360678726d6d6dbaa7b0577de3e42a68315bf6daa8a6bfe9ccc7afd9ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Sources/Transmission/Sources/DestinationSourceViewLink.swift:223-230 | Sources/Transmission/Sources/DestinationSourceViewLink.swift:246-253 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:224-231 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:247-254 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift:223\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b60a9a923736ccec8f3c96d7441d8fc39c29f650e0bcea2a1b6b392517201c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): Sources/Transmission/Sources/Transitions/View Controller Transitions/CrossDissolveTransitionAnimator.swift:33-40 | Sources/Transmission/Sources/Transitions/View Controller Transitions/MatchedGeometryViewControllerTransition.swift:48-53 | Sources/Transmission/Sources/Transitions/View Controller Transitions/ViewControllerTransition.swift:219-226 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/CrossDissolveTransitionAnimator.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78021725a7a47c890c914188fb3be5597bcb6f38b592e6fb3e3780cddeec106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Transmission/Sources/ContextMenuLinkAdapter.swift:38-45 | Sources/Transmission/Sources/ContextMenuSourceViewLink.swift:59-66 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/ContextMenuLinkAdapter.swift:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"86423f15f9566892b1bff8c1da1310c918d407bd4137d0c4f1a5c25bac91f5a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Transmission/Sources/Extensions/UIView\u002BExtensions.swift:58-65 | Sources/Transmission/Sources/Extensions/UIViewController\u002BExtensions.swift:115-122 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060matching\u0060 to \u0060(UIView) -\u003E Bool\u0060 in one and \u0060(UIViewController) -\u003E Bool\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/UIView\u002BExtensions.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bab76ebf46ea4eeade1d0c7c30291e5ef6a8947149b371a50197f84b7dbb78e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Transmission/Sources/MultilineTextField.swift:91-98 | Sources/Transmission/Sources/SinglelineTextField.swift:149-156 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MultilineTextField.swift\u0060 and \u0060Sources/Transmission/Sources/SinglelineTextField.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MultilineTextField.swift:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b61999fc37869158527fb02a28139297e086ba62583e584578ef57a4aece38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/ZoomDestinationLinkTransition.swift:18-25 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/ZoomPresentationLinkTransition.swift:20-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Transitions/DestinationLink Transitions/ZoomDestinationLinkTransition.swift:18\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/ZoomDestinationLinkTransition.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35c5147b5c03be103118c6eb909f5d088d782eb956069feac53b96085c537fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift:370-377 | Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift:518-525 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d16485751c274ba3d5e3eda5fb4d5b063c1233a49795a0e8c8a0adc9ed8238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20138 lines \u00D7 3): Sources/Transmission/Sources/Transitions/View Controller Transitions/CrossDissolveTransitionAnimator.swift:25-32 | Sources/Transmission/Sources/Transitions/View Controller Transitions/SlideTransitionAnimator.swift:26-33 | Sources/Transmission/Sources/Transitions/View Controller Transitions/ViewControllerTransition.swift:214-218 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Transitions/View Controller Transitions/CrossDissolveTransitionAnimator.swift:25\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/CrossDissolveTransitionAnimator.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ff035eea8d8591efe01451b818f830bc890b76723b0991b6371740ae6d30be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Transmission/Sources/MenuElement.swift:941-947 | Sources/Transmission/Sources/MenuElementView.swift:130-136 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MenuElement.swift:941\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuElement.swift"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d690b46a85a647394d4ceabb4ceb9d8b4a3b1f5f80732d4488e30fd507f9ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Transmission/Sources/ShareSheetLink.swift:71-77 | Sources/Transmission/Sources/ShareSheetLink.swift:85-91 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/ShareSheetLink.swift:71\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ShareSheetLink.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9ab2f0b2e3dcfb5908f267b521fec39bcbce1ffb782d1cd2a1ed90b81698f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift:112-119 | Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift:28-34 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift\u0060 and \u0060Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift:112\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift:109\u0060 calls \u0060available\u0060 and \u0060Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift:26\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d1ab1ab5817ef7abc5df324cba8da905870c8e98273051066ce8491d2ff5b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): Example/Example/DynamicIslandTransition.swift:171-182 | Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift:147-158 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift:114-125 | Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift:30-40 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/Transitions/Presentation Controllers/ToastPresentationController.swift\u0060 and \u0060Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Example/Example/DynamicIslandTransition.swift:171\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DynamicIslandTransition.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"996016a476fcf0f15ac4ac77ae6b0f40259a7d67309a04481a4661f422714b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Sources/Transmission/Sources/Transitions/View Controller Transitions/CrossDissolveTransitionAnimator.swift:31-38 | Sources/Transmission/Sources/Transitions/View Controller Transitions/MatchedGeometryViewControllerTransition.swift:46-53 | Sources/Transmission/Sources/Transitions/View Controller Transitions/SlideTransitionAnimator.swift:32-39 | Sources/Transmission/Sources/Transitions/View Controller Transitions/ViewControllerTransition.swift:217-224 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/CrossDissolveTransitionAnimator.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"42de56959720801ca2711635f678b04e86e7958e25d808c9cfdd8a4c1a93ec12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Example/Example/DynamicIslandTransition.swift:169-176 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift:113-119 | Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift:29-34 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift\u0060 and \u0060Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Example/Example/DynamicIslandTransition.swift:169\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/PopoverPresentationLinkTransition.swift:109\u0060 calls \u0060available\u0060 and \u0060Sources/Transmission/Sources/Transitions/View Controller Transitions/PresentationControllerTransition.swift:26\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DynamicIslandTransition.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa98f9187b4a2ca27d0c06d1617912c953653e099f5c15fcb5eb752bbf869ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/Transmission/Sources/MultilineTextField.swift:96-102 | Sources/Transmission/Sources/SinglelineTextField.swift:154-160 | Sources/Transmission/Sources/TextView.swift:72-78 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MultilineTextField.swift\u0060 and \u0060Sources/Transmission/Sources/SinglelineTextField.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad696d04720fc0d294b68a19b016356a2c3337f22c8cdcd0d74d3b1f4cf63717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Transmission/Sources/MenuDialogLink.swift:69-74 | Sources/Transmission/Sources/MenuDialogLinkModifier.swift:167-173 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuDialogLink.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3970e8bc9032ac1e0035d8d3d4675b4db52a40c3c603a54bf7d95ddd9ddcda57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Transmission/Sources/MenuDialogLink.swift:91-96 | Sources/Transmission/Sources/MenuDialogLinkModifier.swift:192-198 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuDialogLink.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55487337d67597590b91704c08979cd8c1d2d12783d5a115f379d3783fe679b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Transmission/Sources/MultilineTextField.swift:323-328 | Sources/Transmission/Sources/TextView.swift:132-137 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MultilineTextField.swift\u0060 and \u0060Sources/Transmission/Sources/TextView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MultilineTextField.swift:323\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/Transmission/Sources/MultilineTextField.swift:320\u0060 calls \u0060sizeThatFits\u0060, \u0060max\u0060 and \u0060Sources/Transmission/Sources/TextView.swift:131\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"8805f625a28043c88fb2f3090815f7bb6b270ea10f4aee07799ebfd0e5e489e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Transmission/Sources/SinglelineTextField.swift:62-67 | Sources/Transmission/Sources/SinglelineTextField.swift:72-77 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/SinglelineTextField.swift:62\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/SinglelineTextField.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e282c96b59fa1d84b969d3d649fcdf075e03b55045f63c6a276660e4d02a0b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Transmission/Sources/SinglelineTextField.swift:95-100 | Sources/Transmission/Sources/SinglelineTextField.swift:105-110 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/SinglelineTextField.swift:95\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/SinglelineTextField.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"885966bb76f73361bd6512677ea1d9da63baedbf59c97146ef1ae2a0093943b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkModifier.swift:285-350 | Sources/Transmission/Sources/WindowLinkModifier.swift:310-375 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkModifier.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dcb860f10b8e81ab6ed8c3f46ba2627b48535f5fc7b5c19a32d7d614f1fcaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkPath.swift:15-121 | Sources/Transmission/Sources/PresentationLinkPath.swift:25-105 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkPath.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkPath.swift\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkPath.swift:15\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkPath.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4efd028bc242266e5a8b25790092e27c9fbee1cd371937af04628bc67078bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): Sources/Transmission/Sources/ContextMenuLinkAdapter.swift:129-136 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:202-209 | Sources/Transmission/Sources/MenuLink.swift:129-136 | Sources/Transmission/Sources/MenuSourceViewLink.swift:253-260 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:203-210 | Sources/Transmission/Sources/TransitionLinkAdapter.swift:215-222 | Sources/Transmission/Sources/TransitionSourceHostingView.swift:319-326 | Sources/Transmission/Sources/VisualEffectView.swift:513-520 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 8 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c420de892f1528044d4d12ff279abefc0369b54c5ee6d1fe927c863c5f19818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): Sources/Transmission/Sources/ContextMenuLinkAdapter.swift:138-144 | Sources/Transmission/Sources/DestinationLinkAdapter.swift:211-217 | Sources/Transmission/Sources/MenuLink.swift:138-144 | Sources/Transmission/Sources/MenuSourceViewLink.swift:262-268 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:212-218 | Sources/Transmission/Sources/TransitionLinkAdapter.swift:224-230 | Sources/Transmission/Sources/TransitionSourceHostingView.swift:328-334 | Sources/Transmission/Sources/VisualEffectView.swift:522-528 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 8 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6f45411ba14deec34ab5405d107972e20ea4952de4656304076377e94509e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Transmission/Sources/DestinationCoordinator.swift:28-38 | Sources/Transmission/Sources/PresentationCoordinator.swift:30-40 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationCoordinator.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationCoordinator.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationCoordinator.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c88f8967316dbadf593f47e6af4eee5cd928b40bfb9aee9e2b5992a1319712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Transmission/Sources/DestinationCoordinator.swift:40-49 | Sources/Transmission/Sources/PresentationCoordinator.swift:42-51 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationCoordinator.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationCoordinator.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationCoordinator.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"678b7c1fa882b8a94c904f00dbead68cd9d5e277b8a6c5f853c43d32e16bdfc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Transmission/Sources/DestinationCoordinator.swift:59-70 | Sources/Transmission/Sources/PresentationCoordinator.swift:61-72 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationCoordinator.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationCoordinator.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationCoordinator.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dba8de9b1c2ef0a601b95d6d273e1b9383a1c132e2ec3e8b5b3355138c9f941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/Transmission/Sources/DestinationLinkAdapter.swift:22-27 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:22-27 | Sources/Transmission/Sources/TransitionLinkAdapter.swift:20-25 | Sources/Transmission/Sources/WindowLinkAdapter.swift:21-26 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3b59bc9372435fdf79e70999d734118b373fbe8e1373688eac5287ed7c0cdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Sources/Transmission/Sources/DestinationLinkAdapter.swift:219-224 | Sources/Transmission/Sources/MenuLink.swift:146-151 | Sources/Transmission/Sources/MenuSourceViewLink.swift:270-275 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:220-225 | Sources/Transmission/Sources/TransitionLinkAdapter.swift:232-237 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"919e675c669136415db01a7c6e229e10cff0c85728719734d18b0fd4a6aee80e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkAdapter.swift:1867-1875 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1702-1710 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9f11f6c0b7c9505aa9d5e81d3a4aad67f91e28ac8d5114284ebab3c5683f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/Transmission/Sources/DestinationLinkModifier.swift:278-283 | Sources/Transmission/Sources/PresentationLinkModifier.swift:281-286 | Sources/Transmission/Sources/WindowLinkModifier.swift:303-308 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkModifier.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkModifier.swift"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf528d93edeb2a6c0646872fc8ece35131590dcefbf8e2cddf85bf316944a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkPathAdapter.swift:93-103 | Sources/Transmission/Sources/PresentationLinkPathAdapter.swift:92-102 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkPathAdapter.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkPathAdapter.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkPathAdapter.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d180cc649002fbb6bbcb1ea0730bc86bdbf227f8b12c6cbafd0c7c460d9c9d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/Transmission/Sources/Extensions/CALayer\u002BCornerRadii.swift:46-56 | Sources/Transmission/Sources/Extensions/UISheetPresentationController\u002BExtensions.swift:224-234 | Sources/Transmission/Sources/Extensions/UISheetPresentationController\u002BExtensions.swift:236-246 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/CALayer\u002BCornerRadii.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e885ba83e2f59379d9566b5ba17e6e8f133387ad8a8c763a045581606fdb126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Sources/Transmission/Sources/Extensions/UIAlertController\u002BExtensions.swift:22-31 | Sources/Transmission/Sources/MenuElementView.swift:183-192 | Sources/Transmission/Sources/Supporting Files/NavigationBarPalette.swift:26-35 | Sources/Transmission/Sources/Supporting Files/NavigationBarPalette.swift:50-59 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Extensions/UIAlertController\u002BExtensions.swift:22\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/UIAlertController\u002BExtensions.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2fb9494f6e03d1b461637114ed4f2a732b5264e05094db74a81dae7fe00465"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Sources/Transmission/Sources/Extensions/UIPopoverPresentationController\u002BExtensions.swift:11-21 | Sources/Transmission/Sources/Extensions/UISheetPresentationController\u002BExtensions.swift:248-258 | Sources/Transmission/Sources/Extensions/UISheetPresentationController\u002BExtensions.swift:260-270 | Sources/Transmission/Sources/Supporting Files/NavigationBarPalette.swift:169-179 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/UIPopoverPresentationController\u002BExtensions.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd5188c7472b90af22f7a2830aaca11194ca48432935eba74663500fbf4fddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Sources/Transmission/Sources/Extensions/UITargetedPreview\u002BExtensions.swift:12-22 | Sources/Transmission/Sources/SegmentedControl.swift:281-291 | Sources/Transmission/Sources/Supporting Files/NavigationBarPalette.swift:118-128 | Sources/Transmission/Sources/Supporting Files/NavigationBarPalette.swift:144-154 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/Extensions/UITargetedPreview\u002BExtensions.swift:12\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Extensions/UITargetedPreview\u002BExtensions.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e18b39f8ced73c5578350ff5120857cbf54c06c8670d8cb8b9171cfaddfe0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Transmission/Sources/Hosting/DestinationHostingController.swift:41-50 | Sources/Transmission/Sources/Hosting/PresentationHostingWindowController.swift:76-86 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Hosting/DestinationHostingController.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f130057ae808a922c440170dcb09ac060071d85b8b967e7b0a03ef4a13bb4a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Transmission/Sources/MenuLink.swift:214-221 | Sources/Transmission/Sources/MenuSourceViewLink.swift:368-375 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MenuLink.swift\u0060 and \u0060Sources/Transmission/Sources/MenuSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuLink.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9128468fa35b900b14baeb301869868a08742b2ad765c7684e488fbcd30c038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/MenuLink.swift:264-272 | Sources/Transmission/Sources/MenuSourceViewLink.swift:440-448 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MenuLink.swift\u0060 and \u0060Sources/Transmission/Sources/MenuSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuLink.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9ed993d1f105ab55542ed9bc483149743ca4ffec2690efe32933f04e3d727a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Transmission/Sources/MenuLink.swift:274-281 | Sources/Transmission/Sources/MenuSourceViewLink.swift:450-457 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MenuLink.swift\u0060 and \u0060Sources/Transmission/Sources/MenuSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuLink.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a380987cf655d0fb81ccc4de827477cdc85a72b7ad988c18977aba91f3a8b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Transmission/Sources/MenuLink.swift:283-290 | Sources/Transmission/Sources/MenuSourceViewLink.swift:459-466 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MenuLink.swift\u0060 and \u0060Sources/Transmission/Sources/MenuSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuLink.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7a5d43e31435edd406f85ab049c9e55b0ab90d170012a9b383adbcf58a450a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/MenuLink.swift:292-300 | Sources/Transmission/Sources/MenuSourceViewLink.swift:468-476 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MenuLink.swift\u0060 and \u0060Sources/Transmission/Sources/MenuSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuLink.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32586550b130795b99fc5cbfb89716afc6eaf293332f239611a3454ab657f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/MenuLink.swift:302-310 | Sources/Transmission/Sources/MenuSourceViewLink.swift:478-486 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MenuLink.swift\u0060 and \u0060Sources/Transmission/Sources/MenuSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuLink.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"69943119ad93ff891e722ad88b3f84d6db798af7766d1a0feef77566ce181d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Transmission/Sources/MenuLink.swift:312-323 | Sources/Transmission/Sources/MenuSourceViewLink.swift:488-499 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MenuLink.swift\u0060 and \u0060Sources/Transmission/Sources/MenuSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuLink.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f18c543433eac5366ff3d2a02ec65164c30a3ffb3ff81f581b9db807e8bbb43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Transmission/Sources/MenuLink.swift:325-336 | Sources/Transmission/Sources/MenuSourceViewLink.swift:501-512 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MenuLink.swift\u0060 and \u0060Sources/Transmission/Sources/MenuSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuLink.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30975385f50aaad5e7d6ace172a15841e077c50efab33a14f036def1028d382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Transmission/Sources/MultilineTextField.swift:190-194 | Sources/Transmission/Sources/SinglelineTextField.swift:213-217 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MultilineTextField.swift\u0060 and \u0060Sources/Transmission/Sources/SinglelineTextField.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e41102ec3e9467099014b1976b16ba9c022b0edc7e4cf7d5a4f644bbf4c6d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/Transmission/Sources/MultilineTextField.swift:330-343 | Sources/Transmission/Sources/SinglelineTextField.swift:259-272 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MultilineTextField.swift\u0060 and \u0060Sources/Transmission/Sources/SinglelineTextField.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3f022ad4c423e810ff10d5ba1bec1fbdc87d3b493887bd9ea311c9ca9652c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Transmission/Sources/MultilineTextField.swift:374-381 | Sources/Transmission/Sources/SinglelineTextField.swift:295-302 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MultilineTextField.swift\u0060 and \u0060Sources/Transmission/Sources/SinglelineTextField.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6859fe0a9da64de46c080bcf2e1668aecbd986aa334fe249f3ec525242e615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/SegmentedControl.swift:199-207 | Sources/Transmission/Sources/Switch.swift:46-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/SegmentedControl.swift"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"716c6c333ac0eba7f3807fde5b03e1b1982ce144fdc24a3ecca9223861bba996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Transmission/Sources/SinglelineTextField.swift:219-226 | Sources/Transmission/Sources/TextView.swift:152-159 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/SinglelineTextField.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbd4f77cfa3eb14879aa32af85fe40803f1b62f210e35972df17b67f2fe9e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Transmission/Sources/SinglelineTextField.swift:228-234 | Sources/Transmission/Sources/TextView.swift:161-167 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/SinglelineTextField.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e32efdad1b23bb61eb4caa0fdebddef919911fa77dfaa981e9680a68edbbdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift:68-76 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift:65-73 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift\u0060 and \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aacd7b61c43ad173805339442742b2a08767efdf3096d66dcefd5cab2e4fb46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/ZoomDestinationLinkTransition.swift:109-113 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/ZoomPresentationLinkTransition.swift:133-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/ZoomDestinationLinkTransition.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"59662c1b3181ede1d0400715720a51aff3610a22ff4b55835e8f17cdeb7428c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Transmission/Sources/Transitions/Presentation Controllers/MatchedGeometryPresentationController.swift:20-29 | Sources/Transmission/Sources/Transitions/Presentation Controllers/SlidePresentationController.swift:38-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/MatchedGeometryPresentationController.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04e19ffc11a4964408099c5cdc19ace6e480d6736ecd2533ef35c204e3a22f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CardPresentationLinkTransition.swift:140-147 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/ToastPresentationLinkTransition.swift:110-117 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CardPresentationLinkTransition.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f03e8be3956655cded9121eec183b32af602d654e7466f32d72fbaeeae7a7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Transmission/Sources/DestinationCoordinator.swift:115-119 | Sources/Transmission/Sources/PresentationCoordinator.swift:117-121 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationCoordinator.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationCoordinator.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationCoordinator.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21bf3d772c755fd2d20e1a8cc5cd06b3a4c5ec30b005cb43baa9c1f1f553500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/Transmission/Sources/DestinationLink.swift:63-79 | Sources/Transmission/Sources/PresentationLink.swift:65-81 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLink.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLink.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c9fc4d18bac9b729b97c980b189a3396bd131ccf386ee8e104f359d284ca70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkAdapter.swift:81-97 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:82-98 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb689f2decfc63f23422cf11d868abe172f223a5af140304b88af1513f27ebd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkAdapter.swift:462-471 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:787-796 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060options\u0060 to \u0060DestinationLinkTransition.Options\u0060 in one and \u0060PresentationLinkTransition.Options\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6eff0601f0ac218079cffe587b9382582eef8f18d33bc8583790f809a345412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkAdapter.swift:1944-1956 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1779-1791 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0568206e984e12755f304a8690d03438c89400ae13c7c13a56cb1337b2cef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkModifier.swift:33-43 | Sources/Transmission/Sources/PresentationLinkModifier.swift:36-46 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkModifier.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkModifier.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e516fe9318719bb9ad2d61b4633c3c60b6c012289ecd5dcf09e82cbdd694f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkModifier.swift:45-60 | Sources/Transmission/Sources/PresentationLinkModifier.swift:48-63 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkModifier.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkModifier.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkModifier.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1b0c3a5881fdfdf60ba8dfde60a4f47f720eed83578ee6c7ef551ce1131aef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkPathAdapter.swift:37-52 | Sources/Transmission/Sources/PresentationLinkPathAdapter.swift:36-51 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationLinkPathAdapter.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationLinkPathAdapter.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkPathAdapter.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa504e49c0302daa7900f5c74b94d9612163bb3847b195208c5cfe7b9c2ef7e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/DestinationLinkTransition.swift:77-85 | Sources/Transmission/Sources/PresentationLinkTransition.swift:112-122 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkTransition.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f955bfcddf9294f4d2a56f6058c30c2cb9b92b496d61f21cb16c3f5bf4088d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/Transmission/Sources/DestinationSourceViewLink.swift:85-102 | Sources/Transmission/Sources/PresentationSourceViewLink.swift:86-103 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/DestinationSourceViewLink.swift\u0060 and \u0060Sources/Transmission/Sources/PresentationSourceViewLink.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 263 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationSourceViewLink.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7495df03507cf9a2168f6bda9bccf0541ccb8468641101c313a6ae2068f037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/DismissDestinationLink.swift:38-46 | Sources/Transmission/Sources/DismissPresentationLink.swift:38-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DismissDestinationLink.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e215e9993a7696b928e2ed2ab6e9cd496a677d26956b4ddd2b23512461ddec69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/MenuButton.swift:215-223 | Sources/Transmission/Sources/MenuPicker.swift:49-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuButton.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"920130619eb6a75755d9f31bb031f5ecd5645ac550a7f5668fbc8f0ae6446247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Transmission/Sources/MultilineTextField.swift:408-414 | Sources/Transmission/Sources/SinglelineTextField.swift:331-337 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/MultilineTextField.swift\u0060 and \u0060Sources/Transmission/Sources/SinglelineTextField.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb48dc091eadcac7c85ea5df944ed3d33318f8e0645e82b80aa8fb865437d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Transmission/Sources/NavigationPaletteModifier.swift:286-290 | Sources/Transmission/Sources/NavigationTitleViewModifier.swift:447-451 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/NavigationPaletteModifier.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f897c73a6d510a9388259b763a4052d97d2b9813f42936a3482ff88584bba2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Transmission/Sources/NavigationPaletteModifier.swift:292-296 | Sources/Transmission/Sources/NavigationTitleViewModifier.swift:453-457 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/NavigationPaletteModifier.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4905e5dce0dee97d0e1af9d7df1adfd7699e4785dc008820d048543c6af5dc03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift:19-31 | Sources/Transmission/Sources/Transitions/DestinationLink Transitions/PushDestinationLinkTransition.swift:19-29 | Sources/Transmission/Sources/Transitions/DestinationLink Transitions/SlideDestinationLinkTransition.swift:19-29 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/CrossDissolveDestinationLinkTransition.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b950f0e81929f93c8d56d18b5ca56dd800613f6231d6c3c93f1368e2abdfd663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift:19-27 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:19-27 \u2014 before extracting anything, compare \u0060Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift\u0060 and \u0060Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060options\u0060 to \u0060DestinationLinkTransition.Options = .init()\u0060 in one and \u0060PresentationLinkTransition.Options = .init()\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/MatchedGeometryDestinationLinkTransition.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0506d0983edce4d38c795a9c8f08f55003d03ee65ba0aa6178af5e948d39f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sources/Transmission/Sources/Transitions/DestinationLink Transitions/ZoomDestinationLinkTransition.swift:42-51 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift:90-99 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/ZoomPresentationLinkTransition.swift:44-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060options\u0060 to \u0060DestinationLinkTransition.Options = .init()\u0060 in one and \u0060PresentationLinkTransition.Options = .init()\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/DestinationLink Transitions/ZoomDestinationLinkTransition.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9ffcdf67ec9da1cfc5b60c1850f64c11cf06da3220b1bb7b5876c8f714df27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift:82-93 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/MatchedGeometryPresentationLinkTransition.swift:146-157 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SlidePresentationLinkTransition.swift:106-117 | Sources/Transmission/Sources/Transitions/PresentationLink Transitions/ToastPresentationLinkTransition.swift:86-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/CrossDissolvePresentationLinkTransition.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"684d60c55eb15bf00780d902ba6bc89ec551e3b8d07268dad14db9033f45a22b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sources/Transmission/Sources/DestinationLinkAdapter.swift:358-367 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1453-1462 | Sources/Transmission/Sources/PresentationLinkAdapter.swift:1485-1494 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/DestinationLinkAdapter.swift:358\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b00b68b47250eff98695355642c0b0dc249abc85cef8d37124640b6acbcda5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Transmission/Sources/MenuGroup.swift:242-247 | Sources/Transmission/Sources/MenuGroup.swift:252-257 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Transmission/Sources/MenuGroup.swift:242\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/Transmission/Sources/MenuGroup.swift:248\u0060 calls \u0060toUIKit\u0060 and \u0060Sources/Transmission/Sources/MenuGroup.swift:258\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MenuGroup.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0030e88fc8249470db66ac7c771222d53cb2cb2e3a7c21838b15515f37887f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift:405-416 | Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift:568-579 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21fda61b599741eb100ad2e014a4167ca9f8173ecc17b3c175541fd57237c62"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (108 shared lines): Example/Example/DestinationLinkExamples.swift:58-306 | Example/Example/PresentationLinkExamples.swift:92-504 \u2014 These two members are variants of one another: 108 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DestinationLinkExamples.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c746e3dbe253ecf2c1f2b5aa1feec77a86553c39d16b0c949de668ef6303d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): Example/Example/PresentationLinkExamples.swift:92-504 | Example/Example/PresentationLinkExamples.swift:614-694 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"Example/Example/PresentationLinkExamples.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c479d2428239aac6133bc829f625ef10dc16cb4e1595c57c9c36766150a0d815"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Example/Example/DynamicIslandTransition.swift:52-68 | Example/Example/DynamicIslandTransition.swift:70-85 \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":"Example/Example/DynamicIslandTransition.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"288b5b72ed7c5c93581f70075171c9b3416452a3f2a20aa5e4bfae55afe759d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): Example/Example/PresentationLinkExamples.swift:462-499 | Example/Example/PresentationLinkExamples.swift:654-691 \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 \u0060Example/Example/PresentationLinkExamples.swift:462\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, \u0060Example/Example/PresentationLinkExamples.swift:500\u0060 calls \u0060buttonStyle\u0060, \u0060frame\u0060 and \u0060Example/Example/PresentationLinkExamples.swift:692\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/PresentationLinkExamples.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"4788ea50b072206726616dae6d77a9a766cea43d5f471697c58ae7ddf2166776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Example/Example/DestinationLinkExamples.swift:113-135 | Example/Example/PresentationLinkExamples.swift:198-220 \u2014 before extracting anything, compare \u0060Example/Example/DestinationLinkExamples.swift\u0060 and \u0060Example/Example/PresentationLinkExamples.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Example/Example/DestinationLinkExamples.swift:113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DestinationLinkExamples.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc40e58c62d1382086d7070bc3aff5bf17da11eb51567de89d429b448f8b7d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): Example/Example/PresentationLinkExamples.swift:252-268 | Example/Example/PresentationLinkExamples.swift:271-289 \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 \u0060Example/Example/PresentationLinkExamples.swift:252\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/PresentationLinkExamples.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8773fda043e0fe4e5b3674421e840f51d552c54173d841a8b65efa99f642ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): Example/Example/DestinationLinkExamples.swift:167-183 | Example/Example/PresentationLinkExamples.swift:252-268 | Example/Example/PresentationLinkExamples.swift:271-287 \u2014 before extracting anything, compare \u0060Example/Example/DestinationLinkExamples.swift\u0060 and \u0060Example/Example/PresentationLinkExamples.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Example/Example/DestinationLinkExamples.swift:167\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DestinationLinkExamples.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"794a3fbb2fce699e206e25c659703b4e7b9e462823c494f7eec9f7d35674a989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): Example/Example/DestinationLinkExamples.swift:203-218 | Example/Example/DestinationLinkExamples.swift:234-249 | Example/Example/DestinationLinkExamples.swift:267-282 | Example/Example/PresentationLinkExamples.swift:421-436 \u2014 before extracting anything, compare \u0060Example/Example/DestinationLinkExamples.swift\u0060 and \u0060Example/Example/PresentationLinkExamples.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Example/Example/DestinationLinkExamples.swift:203\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DestinationLinkExamples.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef50b654099f7a13be878f1be444bb50a1bce702a5ba2c34449d52864e17db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Example/Example/DestinationLinkExamples.swift:70-85 | Example/Example/PresentationLinkExamples.swift:108-123 \u2014 before extracting anything, compare \u0060Example/Example/DestinationLinkExamples.swift\u0060 and \u0060Example/Example/PresentationLinkExamples.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Example/Example/DestinationLinkExamples.swift:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DestinationLinkExamples.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0566a06ecabef801dd14bf741d479c2bdae211ac94ea1b8553333adef604bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Example/Example/QuickLookPreviewLinkExamples.swift:18-32 | Example/Example/QuickLookPreviewLinkExamples.swift:37-51 \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 \u0060Example/Example/QuickLookPreviewLinkExamples.swift:18\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/QuickLookPreviewLinkExamples.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ebf08ab31b6841d1acd3d745300e81ff35fee4e010f05287b0e7dc5c60ef37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Example/Example/DestinationLinkExamples.swift:88-98 | Example/Example/PresentationLinkExamples.swift:145-155 \u2014 before extracting anything, compare \u0060Example/Example/DestinationLinkExamples.swift\u0060 and \u0060Example/Example/PresentationLinkExamples.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Example/Example/DestinationLinkExamples.swift:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DestinationLinkExamples.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a621d1a9e550782d4d5f2685fbc77afbbd345d25eb17a99510fec02004ebbfb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Example/Example/DestinationLinkExamples.swift:110-120 | Example/Example/DestinationLinkExamples.swift:147-157 \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 \u0060Example/Example/DestinationLinkExamples.swift:110\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DestinationLinkExamples.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d739c964f0db6717c47f1b8460c9884b7b24f57df3db444d3ad08451b51ed96f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Example/Example/PresentationLinkExamples.swift:195-205 | Example/Example/PresentationLinkExamples.swift:232-242 \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 \u0060Example/Example/PresentationLinkExamples.swift:195\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/PresentationLinkExamples.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f65217e5a288b673e8eba5dac7df2d608ed40adf1e5d7463d5d5019b74ce8a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Example/Example/DestinationLinkExamples.swift:58-65 | Example/Example/PresentationLinkExamples.swift:92-99 \u2014 before extracting anything, compare \u0060Example/Example/DestinationLinkExamples.swift\u0060 and \u0060Example/Example/PresentationLinkExamples.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Example/Example/DestinationLinkExamples.swift:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Example/DestinationLinkExamples.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece228d533ea4838fa5a59c01e7fff6dcf2463d5890e2aa251880860bdb690ed"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UIViewController (LCOM4 14): UIViewController\u0027s methods fall into 14 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 14 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":"Sources/Transmission/Sources/ControllerContainer.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"492298f87085251f3cfca7e34feabf65a48f87462464f1370f23717d4f03adc3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UIView (LCOM4 12): UIView\u0027s methods fall into 12 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 12 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":"Sources/Transmission/Sources/ContextMenuAccessoryView.swift"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"800d71f29b97e9f201bc20802b7284a1a9184d6da23987d037b9b42e0d09d82c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UINavigationController (LCOM4 10): UINavigationController\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":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de79ac487e406036ac8bc0fd21dc4ea6e44c6291fc1ef8e261dbb5fa93dd798"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MenuLinkSourceView (LCOM4 6): MenuLinkSourceView\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":"Sources/Transmission/Sources/MenuSourceViewLink.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4201b1dfa1788fb8bb2c70501de35834bec42870320539b93e10ce5029365dd0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MatchedGeometryPresentationController (LCOM4 5): MatchedGeometryPresentationController\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":"Sources/Transmission/Sources/Transitions/Presentation Controllers/MatchedGeometryPresentationController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e792b689b9271922669c4f221c3feca385e965e87a19268d051aabb8bc82073"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MenuLinkView (LCOM4 4): MenuLinkView\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":"Sources/Transmission/Sources/MenuLink.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9005c2466db0e85895ae6d5864540de3ef5440aedb3c578553245085767e9152"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Coordinator (LCOM4 4): Coordinator\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":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f62c4fc279457e7eb0ad85d10805ed589ebaa8bf85f8b9c10ad2db9aef51e3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SlidePresentationController (LCOM4 4): SlidePresentationController\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":"Sources/Transmission/Sources/Transitions/Presentation Controllers/SlidePresentationController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"792f7f10dead10f78119eabb40dcaaf36ef35b581cc8dac9d02785d6ff6ded14"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DynamicIslandPresentationController (LCOM4 4): DynamicIslandPresentationController\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":"Example/Example/DynamicIslandTransition.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde3e0c865ad666875657d124598373cce877d18fce4fec11dc03eff476a59f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift: Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 132 in InteractivePresentationController.onPanGesture at line 256. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 13:28:37 -07:00\u0027 --until=\u00272026-11-05 13:28:37 -07:00\u0027 --full-history --no-merges -- Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/InteractivePresentationController.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16416f32dd3a4593d440f0c6f4587146c2c8937a1a0438a611c75bb0d00c723"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Transmission/Sources/DestinationLinkAdapter.swift: Sources/Transmission/Sources/DestinationLinkAdapter.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in DestinationLinkDelegateProxy.panGestureDidChange at line 1096. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 13:28:37 -07:00\u0027 --until=\u00272026-11-05 13:28:37 -07:00\u0027 --full-history --no-merges -- Sources/Transmission/Sources/DestinationLinkAdapter.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb49f8d79d71298fc11ab5c29bdbacfe6d46208763e56f25732dc5d7364e1247"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Transmission/Sources/PresentationLinkAdapter.swift: Sources/Transmission/Sources/PresentationLinkAdapter.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in PresentationLinkCoordinatorAdapter.onUpdate at line 397. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 13:28:37 -07:00\u0027 --until=\u00272026-11-05 13:28:37 -07:00\u0027 --full-history --no-merges -- Sources/Transmission/Sources/PresentationLinkAdapter.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/PresentationLinkAdapter.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79ea3eb096356efbb7fa45b4c39c90e58bf916b3be58f3bc8f9c23340edd14e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift: Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in Detent.toUIKit at line 342. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 13:28:37 -07:00\u0027 --until=\u00272026-11-05 13:28:37 -07:00\u0027 --full-history --no-merges -- Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/PresentationLink Transitions/SheetPresentationLinkTransition.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ce595ba8ae4c271187541c39530571f33ff530389b436a80d4db0cd2e9a6dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Transmission/Sources/ContextMenuAccessoryView.swift: Sources/Transmission/Sources/ContextMenuAccessoryView.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in UIContextMenuInteraction.makeUIAccessoryView at line 198. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 13:28:37 -07:00\u0027 --until=\u00272026-11-05 13:28:37 -07:00\u0027 --full-history --no-merges -- Sources/Transmission/Sources/ContextMenuAccessoryView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuAccessoryView.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f456a8d327095b807b85dce862c270920f37216cef4c9d8f8e51538f27dc1b23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Transmission/Sources/Transitions/View Controller Transitions/MatchedGeometryViewControllerTransition.swift: Sources/Transmission/Sources/Transitions/View Controller Transitions/MatchedGeometryViewControllerTransition.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in MatchedGeometryViewControllerTransitionAnimator.animateTransition at line 39. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 13:28:37 -07:00\u0027 --until=\u00272026-11-05 13:28:37 -07:00\u0027 --full-history --no-merges -- Sources/Transmission/Sources/Transitions/View Controller Transitions/MatchedGeometryViewControllerTransition.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/MatchedGeometryViewControllerTransition.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd21bb2ac898a8a0831b725b1b3925310d34e951bc359b9ac145192ec9005701"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Transmission/Sources/Transitions/Presentation Controllers/SheetPresentationController.swift: Sources/Transmission/Sources/Transitions/Presentation Controllers/SheetPresentationController.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in Options.update at line 774. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 13:28:37 -07:00\u0027 --until=\u00272026-11-05 13:28:37 -07:00\u0027 --full-history --no-merges -- Sources/Transmission/Sources/Transitions/Presentation Controllers/SheetPresentationController.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/SheetPresentationController.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f0c726b76aeaf0cc981921964b894dc7de80998b15f2541c01acd0822ac782"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Transmission/Sources/Hosting/PresentationHostingController.swift: Sources/Transmission/Sources/Hosting/PresentationHostingController.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in PresentationHostingController.viewDidLayoutSubviews at line 32. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 13:28:37 -07:00\u0027 --until=\u00272026-11-05 13:28:37 -07:00\u0027 --full-history --no-merges -- Sources/Transmission/Sources/Hosting/PresentationHostingController.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Hosting/PresentationHostingController.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8287cdfb1d1e803ba1fa10eef9f331d7e6ef6a293910f57675783db7789e25f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Transmission/Sources/Transitions/Presentation Controllers/CardPresentationController.swift: Sources/Transmission/Sources/Transitions/Presentation Controllers/CardPresentationController.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in CardPresentationController.frameOfPresentedViewInContainerView at line 65. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 13:28:37 -07:00\u0027 --until=\u00272026-11-05 13:28:37 -07:00\u0027 --full-history --no-merges -- Sources/Transmission/Sources/Transitions/Presentation Controllers/CardPresentationController.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/Presentation Controllers/CardPresentationController.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b42eb7ed9a6b6c60891f0e254eb9dfaa53fcd8dda36bc6e1e868637d13ddb0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Transmission/Sources/Transitions/View Controller Transitions/NavigationControllerTransition.swift: Sources/Transmission/Sources/Transitions/View Controller Transitions/NavigationControllerTransition.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in NavigationControllerTransition._configureTransitionAnimator at line 23. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 13:28:37 -07:00\u0027 --until=\u00272026-11-05 13:28:37 -07:00\u0027 --full-history --no-merges -- Sources/Transmission/Sources/Transitions/View Controller Transitions/NavigationControllerTransition.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/Transitions/View Controller Transitions/NavigationControllerTransition.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3e86afa600a2c9490d8bdc8ced4c7c87ec2a30b40fa5a909aec714fa1a4197"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Transmission/Sources/ContextMenuLinkAdapter.swift: Sources/Transmission/Sources/ContextMenuLinkAdapter.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ContextMenuLinkCoordinator.onUpdate at line 229. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 13:28:37 -07:00\u0027 --until=\u00272026-11-05 13:28:37 -07:00\u0027 --full-history --no-merges -- Sources/Transmission/Sources/ContextMenuLinkAdapter.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a3372e181937272b3eee8b9831d5651a2e032a6dcb59aada57b5df7cfb57eb"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b38720db37cd540e3dc09fe3d5c0b3652d2f9d051cf0e85dbbd366b46c6f1a79"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8729817d98d42eae03b91ddb2679b32cedd1f45b88b226b12f6c9cdf01c36cd2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1111023b837d588d7578b791b46782bfae91f7812a1c8e8a1ef233dcdacd4121"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68c92b814135937264c4b144ed5eb2d6e7802a9394e14fc743be54947e6d1b90"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): ContextMenuLinkCoordinator.onUpdate: \u0060ContextMenuLinkCoordinator.onUpdate\u0060 performs two independent DURABLE writes \u2014 \u0060adapter\u0060 (a persistence store) via \u0060update\u0060 and \u0060interaction\u0060 (a persistence store) via \u0060update\u0060 \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/ContextMenuLinkAdapter.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"78815b673d5b8cc7b8051aa39eb01f4994d852bb4d2dc174ba049ed1bb293d30"}},{"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/swift.yml"},"region":{"startLine":9}}}],"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IsInLazyContainer.evaluate(inputs) || IsInHostingConfiguration.evaluate(inputs)\u0060 appears character-identically in 4 files \u2014 Sources/Transmission/Sources/DestinationLinkAdapter.swift, Sources/Transmission/Sources/PresentationLinkAdapter.swift, Sources/Transmission/Sources/TransitionLinkAdapter.swift, Sources/Transmission/Sources/WindowLinkAdapter.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebed7b4e331416fe185c37db0f89cf9a1d8276f3fce585bae4e1fc43360feb6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isInside || bounds.insetBy(dx: -4, dy: -4).contains(point)\u0060 appears character-identically in 2 files \u2014 Sources/Transmission/Sources/MultilineTextField.swift, Sources/Transmission/Sources/SinglelineTextField.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5799fde7f096e5e602f1dc743b5ec216c825e6842d7a5426e4f28b0aa7505eac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lhs.isPresented == rhs.isPresented \u0026\u0026 lhs.seed == rhs.seed\u0060 appears character-identically in 2 files \u2014 Sources/Transmission/Sources/DestinationCoordinator.swift, Sources/Transmission/Sources/PresentationCoordinator.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationCoordinator.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"224158056bcbb74e512f9480da1c845048ca059ea4c7594890035abc4f2948ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060textContentType == .password || textContentType == .newPassword\u0060 appears character-identically in 2 files \u2014 Sources/Transmission/Sources/MultilineTextField.swift, Sources/Transmission/Sources/SinglelineTextField.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/MultilineTextField.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"60806c785e0ad1c3bb294700cb83da0d863c2f86d4cc16e1fee281734885b15d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060translation \u003E= threshold \u0026\u0026 velocity \u003E= 0\u0060 appears character-identically in 2 files \u2014 Sources/Transmission/Sources/DestinationLinkAdapter.swift, Sources/Transmission/Sources/PresentationLinkAdapter.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Transmission/Sources/DestinationLinkAdapter.swift"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"4976d916967c82449e5fb0e1405e10e21cc77eff9ccc7dda70b454a45c4fc882"}}],"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-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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-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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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":5,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}