{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"DonateCoordinator.presentActionSheet (cyclomatic 66): DonateCoordinator.presentActionSheet has cyclomatic complexity 66 (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":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed572e5238ee3b1976bc0d3b84bbab9f822c760b458ef248bbe8286c6601bfb"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFFont.\u0060for\u0060 (cyclomatic 65): WMFFont.\u0060for\u0060 has cyclomatic complexity 65 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Style/WMFFont.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5abf8927fb0abd4a2c434d3e87f28feb782f6bc8cb304daa90780275bafc835"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFAccountLoginLogoutFetcher.login (cyclomatic 56): WMFAccountLoginLogoutFetcher.login has cyclomatic complexity 56 (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":"Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab391fc0713c3b433bb58c7b630c5a9d8d0e4328b7da80fe255932e748b5b67f"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingListsSyncOperation.processLocalUpdates (cyclomatic 55): ReadingListsSyncOperation.processLocalUpdates has cyclomatic complexity 55 (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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f845eecac88bcbe6bab01a0f321011069ceb4fbce7a6414c4b42dab0035804a3"}},{"ruleId":"D1","level":"warning","message":{"text":"PlacesViewController.regroupArticlesIfNecessary (cyclomatic 43): PlacesViewController.regroupArticlesIfNecessary has cyclomatic complexity 43 (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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad6a18f4502ee930b5daf559e54ef91a345d88b3ee2c6e64eb61e35a6067216"}},{"ruleId":"D1","level":"warning","message":{"text":"Router.destinationForWikiResourceURL (cyclomatic 42): Router.destinationForWikiResourceURL has cyclomatic complexity 42 (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":"WMF Framework/Router.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ac4e80c8130a2a43db2885339dd61a274b4250cdd7433b0481c87a483d6e5d"}},{"ruleId":"D1","level":"warning","message":{"text":"PlacesViewController.adjustLayout (cyclomatic 42): PlacesViewController.adjustLayout has cyclomatic complexity 42 (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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"04033280ab4f9e3c6f6304f5a683682e42afb13045a75f49b369a11de0422e3c"}},{"ruleId":"D1","level":"warning","message":{"text":"Router.destinationForWResourceURL (cyclomatic 37): Router.destinationForWResourceURL has cyclomatic complexity 37 (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":"WMF Framework/Router.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1264c6c7c4e2d9e861f40deaee1df30068e930b141b544c0161255a460a4eb5"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFYearInReviewDataController.fullSlideCount (cyclomatic 35): WMFYearInReviewDataController.fullSlideCount has cyclomatic complexity 35 (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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c25c138f0f2c5e3897a11766bbc684c90f35d28bc23047affb258b14faecac5"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlUtils.addStyling (cyclomatic 34): HtmlUtils.addStyling has cyclomatic complexity 34 (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":"WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"f859eed7f7c330bcd90469213c7c8cae28a2a0f73b340fcb70f8b4d94fa4c3f0"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFWatchlistFilterViewModel.generateDataForNewFilterSettings (cyclomatic 34): WMFWatchlistFilterViewModel.generateDataForNewFilterSettings has cyclomatic complexity 34 (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":"WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterViewModel.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a935bee94948f33f5f227cf126482875345fbcd05f33adff999a6d3668a401b4"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFDatabaseHousekeeper.deleteStaleUnreferencedArticles (cyclomatic 33): WMFDatabaseHousekeeper.deleteStaleUnreferencedArticles has cyclomatic complexity 33 (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":"Wikipedia/Code/WMFDatabaseHousekeeper.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"140298949547c79d434881b55601fe93996579b2af7c78c2a1c4d27954c87ced"}},{"ruleId":"D1","level":"warning","message":{"text":"ArticleCacheDBWriter.syncResources (cyclomatic 32): ArticleCacheDBWriter.syncResources has cyclomatic complexity 32 (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":"WMF Framework/ArticleCacheDBWriter\u002BSyncResources.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c427ea93f386e499879f7bdd4a69f1ad72bd04dbc55d368fcce349b0f4166b74"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingListsSyncOperation.locallyCreate (cyclomatic 30): ReadingListsSyncOperation.locallyCreate has cyclomatic complexity 30 (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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca4cd5a211eb7e38554e455c276bf4b4e84167b794e137f644c74fe8795005b"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailTransition.animateTransition (cyclomatic 30): DetailTransition.animateTransition has cyclomatic complexity 30 (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":"Wikipedia/Code/DetailTransition.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88c0d52bc15df34bdfd775335d42e15ef82bb1288f27e41459d3b1208e3498c"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationsCenterDetailViewModel.primaryAction (cyclomatic 30): NotificationsCenterDetailViewModel.primaryAction has cyclomatic complexity 30 (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":"Wikipedia/Code/NotificationsCenterDetailViewModel\u002BActionExtensions.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2176139b6d39f3481c622f59e4b77dae16dbd7f88a2d339a858e3b9a860a30f"}},{"ruleId":"D1","level":"warning","message":{"text":"CollectionViewUpdater.controllerDidChangeContent (cyclomatic 29): CollectionViewUpdater.controllerDidChangeContent 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":"Wikipedia/Code/CollectionViewUpdater.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0639876e405abc58f2072383ca10146c27decc246d0bfb343f3d28da92cb4f9"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFNavigationBarConfiguring.configureNavigationBar (cyclomatic 28): WMFNavigationBarConfiguring.configureNavigationBar has cyclomatic complexity 28 (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":"WMFComponents/Sources/WMFComponents/Extensions/Navigation Bar/WMFNavigationBarConfiguring.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ef8b820b7e92c7e4d2158f192e374f5a2018e976a86c6987d0692c5a68fab8"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingListsSyncOperation.executeSync (cyclomatic 28): ReadingListsSyncOperation.executeSync has cyclomatic complexity 28 (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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"be26af48be1439167e957b3d8e54d57810e82f78cbb7ce6b476fc83205cba25e"}},{"ruleId":"D1","level":"warning","message":{"text":"AppOnboardingCoordinator.start (cyclomatic 28): AppOnboardingCoordinator.start has cyclomatic complexity 28 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/AppOnboardingCoordinator.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2aeda4b005466a3a8524ef9acea43113f7b480aae2c44815d360a694434f4b"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFAppViewController.logWatchlistUserDidSaveFilterSettings (cyclomatic 28): WMFAppViewController.logWatchlistUserDidSaveFilterSettings has cyclomatic complexity 28 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAppViewController\u002BExtensions.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6d070439aab2ae1b3c86db48eb51450432b3d2ec5283b3afff9a9e3b2deac6"}},{"ruleId":"D1","level":"warning","message":{"text":"DescriptionEditViewController.save (cyclomatic 27): DescriptionEditViewController.save 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":"Wikipedia/Code/DescriptionEditViewController.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"44131c5797461c2f926ca5674ccbbea270c1706428c72b4a23ffab920991fb82"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffTransformer.populateAdditionalSectionAndMoveInfo (cyclomatic 27): DiffTransformer.populateAdditionalSectionAndMoveInfo 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":"Wikipedia/Code/DiffTransformer.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1136dc1e676e33c2650941ae5fbff1c5f69f2f93dd2acff83ff279f196facf0b"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFAppViewController.processUserActivity (cyclomatic 27): WMFAppViewController.processUserActivity 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":"Wikipedia/Code/WMFAppViewController.swift"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddfec7488979f195f4eac82519b7f61540e14cd688dd718bc280c4dc23cf43b"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeCoordinator.makeHomeViewController (cyclomatic 26): HomeCoordinator.makeHomeViewController has cyclomatic complexity 26 (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":"Wikipedia/Code/HomeCoordinator.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbdf18afa07f199f6cbb5d4281c071e254306f66a77f6e869e872b8d22f90b9"}},{"ruleId":"D1","level":"warning","message":{"text":"ViewControllerRouter.route (cyclomatic 26): ViewControllerRouter.route has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ViewControllerRouter.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"39949026e62845a24d76207b5aaabdb126d67eec9c51228b94c20222418a14f5"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFUserImpactDataController.fetch (cyclomatic 24): WMFUserImpactDataController.fetch 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":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFUserImpactDataController.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5821f756c81169ed975c8509101a60fbf341c966392355593fb4d8f363b2d2e8"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationsCenterCommonViewModel.verboseTitle (cyclomatic 24): NotificationsCenterCommonViewModel.verboseTitle has cyclomatic complexity 24 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NotificationsCenterCommonViewModel\u002BTextExtensions.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf90a6a84ebba056180576d56be8d1ceaab71f1c380cfcd4d3140fc191bf9bd"}},{"ruleId":"D1","level":"warning","message":{"text":"SavedArticlesFetcher.handleFailure (cyclomatic 24): SavedArticlesFetcher.handleFailure has cyclomatic complexity 24 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/SavedArticlesFetcher.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2774a27d8a018ef5ac10dd70c274f12691f5d1f514cc65309de5ef200c573b"}},{"ruleId":"D1","level":"warning","message":{"text":"String.pluralDictionary (cyclomatic 24): String.pluralDictionary 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":"Command Line Tools/Update Localizations/localization.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25ce9dc627ddee82dfa8e674af5a9ebb9be5d6b6d3a95dd82d57c857bcf155e"}},{"ruleId":"D1","level":"warning","message":{"text":"PermanentlyPersistableURLCache.updateCacheWithCachedResponse (cyclomatic 23): PermanentlyPersistableURLCache.updateCacheWithCachedResponse has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/PermanentlyPersistableURLCache.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"59436b6cffebac35c3f069d08c9dcd4abe423560167e78f6f2176d56d03330bc"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingListsSyncOperation.createOrUpdate (cyclomatic 23): ReadingListsSyncOperation.createOrUpdate has cyclomatic complexity 23 (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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e1655be866669c89ddf61967d9fa650aa1002f736fcae66276299d1c64963e"}},{"ruleId":"D1","level":"warning","message":{"text":"ArticlePeekPreviewViewController.contextMenuItems (cyclomatic 23): ArticlePeekPreviewViewController.contextMenuItems has cyclomatic complexity 23 (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":"Wikipedia/Code/ArticlePeekPreviewViewController.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a8de77ef09a8723bf9cdf590fd9d5eabba7c896784ac0f5c052d9d8ec7502a"}},{"ruleId":"D1","level":"warning","message":{"text":"SavedArticlesCollectionViewCell.sizeThatFits (cyclomatic 23): SavedArticlesCollectionViewCell.sizeThatFits has cyclomatic complexity 23 (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":"Wikipedia/Code/SavedArticlesCollectionViewCell.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"350cb911b30e552c5aefa3271b3df5429bf79d3cf785b1a7079a1d76a66e5e72"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFEditorInputView.didSelectIndex (cyclomatic 22): WMFEditorInputView.didSelectIndex has cyclomatic complexity 22 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorInputView.swift"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"49185609de5ff044620efc4f1d1db6961ab0da618f9ad4e9935bd0e167bbd826"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFArticleTabsDataController.getAdjacentArticleInTab (cyclomatic 22): WMFArticleTabsDataController.getAdjacentArticleInTab 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":"WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc7bcb933f94cda9b33200354aa3e5a4604c49c2ea19dcb43277ec18e5e3b50"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFArticleSavedStateMigrationManager.migrateSyncedArticles (cyclomatic 22): WMFArticleSavedStateMigrationManager.migrateSyncedArticles 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":"WMF Framework/WMFArticle\u002BMigration.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e1ed3d3f3c42115ad5cebb2eeebf080c47974e52ecac9952c698ed1b70c2f1"}},{"ruleId":"D1","level":"warning","message":{"text":"WikipediaLanguageCommandLineUtility.getSiteInfoLookup (cyclomatic 22): WikipediaLanguageCommandLineUtility.getSiteInfoLookup 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":"Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtility.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1955490bb7b3df27b4ba95f38f8eeb93aaa921796ad67e2318e116f5060449"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffContainerViewController.setupDiffListViewControllerIfNeeded (cyclomatic 22): DiffContainerViewController.setupDiffListViewControllerIfNeeded 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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14fdf3d9da2f25e7934d1fed94e3bb03139aea54951cd8336ee34db8b446958"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorViewController.loadContent (cyclomatic 22): EditorViewController.loadContent has cyclomatic complexity 22 (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":"Wikipedia/Code/EditorViewController.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"836f3746f9b2b66c7d47f84a0b00eaee2047cebcde02f50655dc538a89ba9641"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationsCenterViewController.userDidPanCell (cyclomatic 22): NotificationsCenterViewController.userDidPanCell 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":"Wikipedia/Code/NotificationsCenterViewController.swift"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe9b879a5d3fe0bbb04c23d603db675e166d1ac0f998501e5297ad5f9ae5724"}},{"ruleId":"D1","level":"warning","message":{"text":"PlacesViewController.performSearch (cyclomatic 22): PlacesViewController.performSearch 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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"596e14d18764494d146ec808adffccc462a59b7fef128c2020a0c210a1aff7c4"}},{"ruleId":"D1","level":"warning","message":{"text":"Session.request (cyclomatic 22): Session.request 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":"Wikipedia/Code/Session.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4ae39fd7fdb58a9662442f69b5b13273348f8691e32d7ab2a1a2fb718094a9"}},{"ruleId":"D1","level":"warning","message":{"text":"TalkPageViewController.tappedPublish (cyclomatic 22): TalkPageViewController.tappedPublish 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":"Wikipedia/Code/TalkPageViewController.swift"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"166552cceade144c4998fca890c07ed9316b7fa4b36f925f910bce605cc9e969"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlUtils.addStyling (cyclomatic 21): HtmlUtils.addStyling has cyclomatic complexity 21 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f39f584fd5be51e44de0b8f2c38bd4cc0d4815594c83c4bfa467c79344c2a61"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlUtils.listInsertData (cyclomatic 21): HtmlUtils.listInsertData 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":"WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"d646fbb74f3574e85f08e0a8aeebeca670399554736ee0dcbfe9553b9ef7a605"}},{"ruleId":"D1","level":"warning","message":{"text":"EditSaveViewController.handleEditFailure (cyclomatic 21): EditSaveViewController.handleEditFailure 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":"Wikipedia/Code/EditSaveViewController.swift"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38d7bbd3c55e3fc76ff23d18728952833ac4ad72ec03725582c463ba996425c"}},{"ruleId":"D1","level":"warning","message":{"text":"SavedArticlesFetcher._update (cyclomatic 21): SavedArticlesFetcher._update has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/SavedArticlesFetcher.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56dca458c9a14be593750e6abf86acb1a843f04aad903137334d18bb8d34e10"}},{"ruleId":"D1","level":"warning","message":{"text":"TalkPageViewController.tappedPublish (cyclomatic 21): TalkPageViewController.tappedPublish 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":"Wikipedia/Code/TalkPageViewController.swift"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b5628ea1000802c61257dac2977e8d8fb30e6fa0cf58ab49bbdabba01f884a"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFDailyGameExploreCell.sizeThatFits (cyclomatic 21): WMFDailyGameExploreCell.sizeThatFits 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":"Wikipedia/Code/WMFDailyGameExploreCell.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae549b3264721c5d9ca3714dee43cc0b068392c046934b01c2c51b5d683e1ee1"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFWatchlistDataController.apply (cyclomatic 20): WMFWatchlistDataController.apply has cyclomatic complexity 20 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"106dfcf920f98089292256b97bb4cce04cfbcea2b3b15040757b065bfff10e40"}},{"ruleId":"D1","level":"warning","message":{"text":"ExploreCardCollectionViewCell.sizeThatFits (cyclomatic 20): ExploreCardCollectionViewCell.sizeThatFits 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":"WMF Framework/ExploreCardCollectionViewCell.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5fb511c6da87a763d7079be0698716a8f2abbafe68c12459400442caf51edd"}},{"ruleId":"D1","level":"warning","message":{"text":"PageNamespace.isTalkBased (cyclomatic 20): PageNamespace.isTalkBased has cyclomatic complexity 20 (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. This is NOT this file\u0027s highest cyclomatic complexity: PageNamespace.canonicalName (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/PageNamespace.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c47a5fd51e30808dcdd6af4a21be3946eae3ee2270ec871c2c899885cd9341"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffListChangeItemViewModel.calculateAttributedString (cyclomatic 20): DiffListChangeItemViewModel.calculateAttributedString 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":"Wikipedia/Code/DiffListChangeItemViewModel.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa05c1572ff81ea4fc4d7a8dc9ba8d6cab89818ba0eda08f13756683749160c8"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFAuthenticationManager.loginWithSavedCredentials (cyclomatic 20): WMFAuthenticationManager.loginWithSavedCredentials 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":"Wikipedia/Code/WMFAuthenticationManager.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1821ccf754cb896a105dfcbbcccda8e09aba6c44be12ae827be1e1f60027c9"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemeHandler.kickOffDataTask (cyclomatic 20): SchemeHandler.kickOffDataTask has cyclomatic complexity 20 (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":"Wikipedia/Code/SchemeHandler/SchemeHandler.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fba561392e63a9354d01d0f45e02f6149718fff3271924840abd3cad3628a7"}},{"ruleId":"D1","level":"warning","message":{"text":"UIView.wmf_preferredFrame (cyclomatic 20): UIView.wmf_preferredFrame has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/UIView\u002BSemanticContent.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb5a9929bd5ae7efc01679761313dc5b1e0d0e2e6f4b71f5886f98b76716d3d"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFActivityTabView.loggedInList (cyclomatic 19): WMFActivityTabView.loggedInList 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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"70958f41749b24e3af8ff8ca9d40ac953ad0bd68c7f22e802ed155344a392b46"}},{"ruleId":"D1","level":"warning","message":{"text":"TimelineViewModel.fetch (cyclomatic 19): TimelineViewModel.fetch 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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/TimelineViewModel.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"323d320e9e24fd298849c828f64728033adb5a0c727f49c992b791c41eaaab46"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFAppViewControllerTipWrapper.listenForTooltips (cyclomatic 19): WMFAppViewControllerTipWrapper.listenForTooltips 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":"Wikipedia/Code/AppViewControllerTipWrapper.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e25fce5e02696126f52114c1d092426bd04a71dfbbf4de1449bcbf3771f6be"}},{"ruleId":"D1","level":"warning","message":{"text":"PageHistoryFetcher.fetchEditCounts (cyclomatic 19): PageHistoryFetcher.fetchEditCounts 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":"Wikipedia/Code/PageHistoryFetcher.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5292139c6d693a6edd38cf65b52005b496f16fb36eb39d57d6793e82ad2eab90"}},{"ruleId":"D1","level":"warning","message":{"text":"PlacesViewController.updatePlaces (cyclomatic 19): PlacesViewController.updatePlaces 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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"62208883ccae82c3f24b2485d5daa49c7530076300b1a10e158bac1250067d35"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFHCaptchaViewController.setupHCaptcha (cyclomatic 19): WMFHCaptchaViewController.setupHCaptcha 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":"Wikipedia/Code/WMFHCaptchaViewController.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"82db3b7821e7de7bb873d63066b2ce9cda471e5369b2334cdbf7826b43bddd34"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFArticleTabsDataController.fetchAllArticleTabs (cyclomatic 18): WMFArticleTabsDataController.fetchAllArticleTabs 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":"WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"32276ac819861cbe349957c086a6ba84d0cc4b63293a7339b135ebd599e682e8"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFExperimentsDataController.determineBucketForExperiment (cyclomatic 18): WMFExperimentsDataController.determineBucketForExperiment 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":"WMFData/Sources/WMFData/Data Controllers/Experiments/WMFExperimentsDataController.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5b381e0233d292e906d56d0b727f6e561acc4c03a7d35e82ec4e4ebb229291"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFYearInReviewDataController.populateYearInReviewReportData (cyclomatic 18): WMFYearInReviewDataController.populateYearInReviewReportData 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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b1f49cda9b114185b68a520d5458bfe030c8dbfc2213de241dfaad8e2651ca"}},{"ruleId":"D1","level":"warning","message":{"text":"ArticleCacheController.syncCachedResources (cyclomatic 18): ArticleCacheController.syncCachedResources has cyclomatic complexity 18 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ArticleCacheController.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b592c32cb5439e18af0850df2b12282b94dc9c9d645d5b84b2f8ef773fab7a"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaWikiFetcher.perform (cyclomatic 18): MediaWikiFetcher.perform 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":"WMF Framework/MediaWikiFetcher.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4342cdb82a0077dd78d01bcbf2420e1fe807d66eca46d913292bc7d7b9705b"}},{"ruleId":"D1","level":"warning","message":{"text":"ArticleTabCoordinating.trackArticleTab (cyclomatic 18): ArticleTabCoordinating.trackArticleTab 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":"Wikipedia/Code/ArticleCoordinator.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c97a8cd0dc8c4ed5eafd4b9c6df0708d4bf3df8311115e45b1f4721def7163"}},{"ruleId":"D1","level":"warning","message":{"text":"ArticleRightAlignedImageCollectionViewCell.sizeThatFits (cyclomatic 18): ArticleRightAlignedImageCollectionViewCell.sizeThatFits 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":"Wikipedia/Code/ArticleRightAlignedImageCollectionViewCell.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf33e8a54ac531437931885b0c37fe76b9e850a2f17386906ad46b7239059d5"}},{"ruleId":"D1","level":"warning","message":{"text":"PageHistoryCollectionViewCell.sizeThatFits (cyclomatic 18): PageHistoryCollectionViewCell.sizeThatFits 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":"Wikipedia/Code/PageHistoryCollectionViewCell.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ce1cb1e06ca6629703338d1b756106ace7df6207ca52cd532b3e58935e2d26"}},{"ruleId":"D1","level":"warning","message":{"text":"SinglePageWebViewController.handleNavigation (cyclomatic 18): SinglePageWebViewController.handleNavigation 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":"Wikipedia/Code/SinglePageWebViewController.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"210e61fa0539ddeb0601c79dc2ae037be90a614d64cc7090521cd7e5b96b816e"}},{"ruleId":"D1","level":"warning","message":{"text":"localization.swift.importLocalizationsFromTWN (cyclomatic 18): localization.swift.importLocalizationsFromTWN 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":"Command Line Tools/Update Localizations/localization.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b594d081ec63dd71b3b4b17c12e0df73f5aa8124884721d5d020af153a1af829"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFCommunityFeedView.feedList (cyclomatic 17): WMFCommunityFeedView.feedList 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":"WMFComponents/Sources/WMFComponents/Components/Home/WMFCommunityFeedView.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79d54026989cdaf269f4fab6f1bef86148672d9d648d884067ddd698dab1cd2"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFSourceEditorFormatterList.toggleListItem (cyclomatic 17): WMFSourceEditorFormatterList.toggleListItem 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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatterList\u002BButtonActions.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"018cd039fa1d7f55d80d24eacbf5eb7cb444db6eb03f19ad88e40eb513fd1c31"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFBasicService.performPOST (cyclomatic 17): WMFBasicService.performPOST 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":"WMFData/Sources/WMFData/Service/WMFBasicService.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa51605a12c4a0b52ca5db85bee2da3a3649cd89421a590114a1f95389af945"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFDonateDataController.submitPayment (cyclomatic 17): WMFDonateDataController.submitPayment 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":"WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFDonateDataController.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa3f1c2845e5e8b6ca41ccc87b0ab7f09584bd245ccfff47e31ee8fabbff01b"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFArticleDataController.fetchArticleInfo (cyclomatic 17): WMFArticleDataController.fetchArticleInfo 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":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleDataController.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ea868acb8d08884c94b659ff5b999107a21895daaf2af20197d479ddc5713d"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingListsSyncOperation.createOrUpdate (cyclomatic 17): ReadingListsSyncOperation.createOrUpdate 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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"337dec90a9fadf6ba23c22c590422fdaf9ceefccbf7eca49d48615a5a032b639"}},{"ruleId":"D1","level":"warning","message":{"text":"WikipediaLanguageCommandLineUtilityAPI.getSites (cyclomatic 17): WikipediaLanguageCommandLineUtilityAPI.getSites 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":"Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtilityAPI.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac01900cb311cf4493a00437dadb06f152f9ca20cca99512f9c665b297cd5e51"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteNotificationsController.predicateForFilterSavedState (cyclomatic 17): RemoteNotificationsController.predicateForFilterSavedState 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":"WMF Framework/Remote Notifications/RemoteNotificationsController.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afe74c23198cc4d4ed8258d39d6bfc384122ec371e43c5495132bad28cc8ba8"}},{"ruleId":"D1","level":"warning","message":{"text":"DonateCoordinator.nativeDonateFormViewModel (cyclomatic 17): DonateCoordinator.nativeDonateFormViewModel 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":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"004c6a71fe6de3385eed152adfaf7a2af1cb1c7d59bb55396200800340afa36f"}},{"ruleId":"D1","level":"warning","message":{"text":"DonateCoordinator.logNativeFormDidTriggerPaymentSuccess (cyclomatic 17): DonateCoordinator.logNativeFormDidTriggerPaymentSuccess has cyclomatic complexity 17 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"106c72bdc00477c5cf5928a80186df39a210ad1a1f0b91af5fea216eaa58df0e"}},{"ruleId":"D1","level":"warning","message":{"text":"ExploreViewController.collectionView (cyclomatic 17): ExploreViewController.collectionView 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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"01afd34912e9b786a8a7176c0a73281624a5a297e230360482ee887d2f795c4c"}},{"ruleId":"D1","level":"warning","message":{"text":"PageHistoryViewController.configure (cyclomatic 17): PageHistoryViewController.configure 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":"Wikipedia/Code/PageHistoryViewController.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5c10b1181f0824a949a8ed061e2258f897b2dbd69eb4d144b80de44f626dc9"}},{"ruleId":"D1","level":"warning","message":{"text":"PlacesViewController.merge (cyclomatic 17): PlacesViewController.merge 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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7596a58833f7efbbdc54f7cbb875698e886a83a6c32482afb533bd69076a347"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFAppViewController.logTabBarSelectionsForActivityTab (cyclomatic 17): WMFAppViewController.logTabBarSelectionsForActivityTab 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":"Wikipedia/Code/WMFAppViewController\u002BExtensions.swift"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd7d58923a0fd1556d8cf037e0ddc5353c5e9e3244604053f6cd4911a43231f"}},{"ruleId":"D1","level":"warning","message":{"text":"WikimediaProject.init (cyclomatic 17): WikimediaProject.init 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":"Wikipedia/Code/WikimediaProject.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"60af56655b0019ee87d83227d9bfef82617d9bbe98b765bcc812d51c18f07f07"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFSourceEditorFormatterHeading.toggleHeadingFormatting (cyclomatic 16): WMFSourceEditorFormatterHeading.toggleHeadingFormatting has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatterHeading\u002BButtonActions.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5202a56b67720920779ed729fb9aef14ca250a7c7465eb7cc15ad237b4429f5f"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFWikitextUtils.insertImageWikitextIntoArticleWikitextAfterTemplates (cyclomatic 16): WMFWikitextUtils.insertImageWikitextIntoArticleWikitextAfterTemplates 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":"WMFData/Sources/WMFData/Utility/WMFWikitextUtils.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"10279e4bf4f0c08312e76af627bb61bf44cedceb93298e5515b305ddd542b910"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFWatchlistDataController.fetchWatchlist (cyclomatic 16): WMFWatchlistDataController.fetchWatchlist 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":"WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0eabc862b1437f1d61bcf835921a1de5847cb0c34a7521df0d527a4c4a27e78"}},{"ruleId":"D1","level":"warning","message":{"text":"CacheController.remove (cyclomatic 16): CacheController.remove 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":"WMF Framework/CacheController.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"132d607fe534c59892c449354ae2ae4e8a5167206ebbe21b64835b0a6cf2e4bf"}},{"ruleId":"D1","level":"warning","message":{"text":"CollectionViewEditController.handlePanGesture (cyclomatic 16): CollectionViewEditController.handlePanGesture 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":"WMF Framework/CollectionViewEditController.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60ff97370e21e2a91b6d294dbdada22fcec690802d0cb9d7175bdf6e54d84d5"}},{"ruleId":"D1","level":"warning","message":{"text":"ColumnarCollectionViewLayout.prepare (cyclomatic 16): ColumnarCollectionViewLayout.prepare 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":"WMF Framework/ColumnarCollectionViewLayout.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"804c6d19172d2e6e8bd4889589f11a1304f04503fa7c3ed19c67c33d3bc18577"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFArticleSavedStateMigrationManager.runMigration (cyclomatic 16): WMFArticleSavedStateMigrationManager.runMigration 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":"WMF Framework/WMFArticle\u002BMigration.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8f7302077a3532bd2d02c94aee38c9a825105a28381fdd16a6c536e3760162"}},{"ruleId":"D1","level":"warning","message":{"text":"WidgetController.fetchTopReadContent (cyclomatic 16): WidgetController.fetchTopReadContent 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":"WMF Framework/Widget/WidgetController.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"b507ae89ddab450a69238fae8ac20e75148be18c7721ac92f60c9b41540e2e47"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffContainerViewController.populatePrevNextModelsForToolbar (cyclomatic 16): DiffContainerViewController.populatePrevNextModelsForToolbar 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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"8780b7f21199b10be29e7bcc00066478c36d654311b119b9e779754e2aa3d2b6"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffContainerViewController.completeRollbackOrUndo (cyclomatic 16): DiffContainerViewController.completeRollbackOrUndo 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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"99969005c35c449d3b719eeb7a6e83dfe1a9e096af985e718a498998110a82bb"}},{"ruleId":"D1","level":"warning","message":{"text":"DonateCoordinator.logWebViewFormThankYouDidDisappear (cyclomatic 16): DonateCoordinator.logWebViewFormThankYouDidDisappear has cyclomatic complexity 16 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcbc7b2fa06b7ee757c6b872d96e77c1c255fc208f85c31c4e4933e0d2de337"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationsCenterViewController.userDidTapMoreActionForCell (cyclomatic 16): NotificationsCenterViewController.userDidTapMoreActionForCell 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":"Wikipedia/Code/NotificationsCenterViewController.swift"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81e0a88835be689cfd40ade53a524db7bade9cccd4b1014c6498334fcae825f"}},{"ruleId":"D1","level":"warning","message":{"text":"PageHistoryViewController.getEditCounts (cyclomatic 16): PageHistoryViewController.getEditCounts 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":"Wikipedia/Code/PageHistoryViewController.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"be41c0fb4b56db726d5e7ce0d999e9212a807cdaeb6aee070a28e59c2510288b"}},{"ruleId":"D1","level":"warning","message":{"text":"ThanksGiving.tappedThank (cyclomatic 16): ThanksGiving.tappedThank 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":"Wikipedia/Code/ThanksGiving.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d6aa8a90ebae7b4c117831e341582aaf2e54c0cf6aaebd675c8fc697b2cfdd"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchlistController.presentChooseExpiryActionSheet (cyclomatic 16): WatchlistController.presentChooseExpiryActionSheet has cyclomatic complexity 16 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WatchlistController.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"911ed5f95ed6732fc12249822b243b6802046f74d885e3dc13dd6a600d198390"}},{"ruleId":"D1","level":"warning","message":{"text":"WikitextFetcher.fetchSection (cyclomatic 16): WikitextFetcher.fetchSection has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WikitextFetcher.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1083c1ee3532009e53beb090bea0c671cc9334c08b03067923f119de508db1"}},{"ruleId":"D1","level":"warning","message":{"text":"WMFContentGroup.detailViewControllerWithDataStore (cyclomatic 16): WMFContentGroup.detailViewControllerWithDataStore 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":"Wikipedia/Code/WMFContentGroup\u002BDetailViewControllers.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65d1a279ded3ac8d064fb8786012644dbfc8ca2b2928d497ddaaa37cb39168a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingListsSyncOperation.processLocalUpdates (cognitive 133): ReadingListsSyncOperation.processLocalUpdates has cognitive complexity 133 (threshold 15). Drivers by points: if/else 35 (93 pts), loops 17 (35 pts), boolean chains 5 (nesting depth added 76). 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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7b565a8fa60c84033fd32cd8d49715933f017a3a4160ae3d53c6e2c4be683b"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFAccountLoginLogoutFetcher.login (cognitive 89): WMFAccountLoginLogoutFetcher.login has cognitive complexity 89 (threshold 15). Drivers by points: if/else 29 (60 pts), boolean chains 23, match/switch 2 (6 pts) (nesting depth added 35). 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":"Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a3eaef91a89a531ae8764d3c3dc853c17ea59c6a45521d5bd6b594257dfbce"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacesViewController.regroupArticlesIfNecessary (cognitive 88): PlacesViewController.regroupArticlesIfNecessary has cognitive complexity 88 (threshold 15). Drivers by points: if/else 29 (66 pts), loops 9 (15 pts), boolean chains 5, ternaries 2 (nesting depth added 43). 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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc9ff9710026073e1536c8d4625ddfab4cdb1d316949ab911ea44a0dd099794"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffTransformer.populateAdditionalSectionAndMoveInfo (cognitive 67): DiffTransformer.populateAdditionalSectionAndMoveInfo has cognitive complexity 67 (threshold 15). Drivers by points: if/else 11 (29 pts), ternaries 6 (24 pts), boolean chains 7, match/switch 1 (5 pts), loops 2 (nesting depth added 40). 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":"Wikipedia/Code/DiffTransformer.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2659d10aab877b139dbb6ce1f469335210c4ce1514b1c618187cdffdfbdfe2a6"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlUtils.addStyling (cognitive 64): HtmlUtils.addStyling has cognitive complexity 64 (threshold 15). Drivers by points: if/else 17 (43 pts), loops 14 (19 pts), boolean chains 2 (nesting depth added 31). 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":"WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce28b524e3c647c3a7dedeff3fcac97f838bd2ec9fa38f3014d67cd3cdd338b"}},{"ruleId":"D2","level":"warning","message":{"text":"DonateCoordinator.presentActionSheet (cognitive 61): DonateCoordinator.presentActionSheet has cognitive complexity 61 (threshold 15). Drivers by points: if/else 32 (52 pts), match/switch 7, boolean chains 1, ternaries 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7761fb9afa5dd1ccff8beead47ac4ec3afec4e82fc70d6ca9f1b4f79ec89ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Router.destinationForWikiResourceURL (cognitive 59): Router.destinationForWikiResourceURL has cognitive complexity 59 (threshold 15). Drivers by points: if/else 20 (36 pts), boolean chains 18, ternaries 2 (4 pts), 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":"WMF Framework/Router.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a88f781ab27074c9a3dd97b28a9fc031b4e91021a3ad9c772209b50608f9af"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFDatabaseHousekeeper.deleteStaleUnreferencedArticles (cognitive 59): WMFDatabaseHousekeeper.deleteStaleUnreferencedArticles has cognitive complexity 59 (threshold 15). Drivers by points: if/else 18 (41 pts), loops 4 (8 pts), boolean chains 5, match/switch 1 (3 pts), ternaries 2 (nesting depth added 29). 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":"Wikipedia/Code/WMFDatabaseHousekeeper.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0ef107387bdd4957c6de7ffabcb298f3fe816d2f5226fcbbe523b705193ba2"}},{"ruleId":"D2","level":"warning","message":{"text":"TimelineViewModel.fetch (cognitive 57): TimelineViewModel.fetch has cognitive complexity 57 (threshold 15). Drivers by points: if/else 14 (41 pts), loops 2 (9 pts), boolean chains 6, error handling 1 (nesting depth added 34). 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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/TimelineViewModel.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b39eeb76cca240ec4bcea01166e89ef15c05a8a9b82b5556d9a1345ca35af6"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacesViewController.adjustLayout (cognitive 57): PlacesViewController.adjustLayout has cognitive complexity 57 (threshold 15). Drivers by points: if/else 24 (32 pts), boolean chains 16, ternaries 4 (8 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0af0bf0d07f6f9b72fdbd7b200db7f7d716ed1bb04d132f8470ab4ca93ff498"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFUserImpactDataController.fetch (cognitive 56): WMFUserImpactDataController.fetch has cognitive complexity 56 (threshold 15). Drivers by points: if/else 15 (40 pts), loops 4 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 34). 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":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFUserImpactDataController.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a5dd70723bd282744a875a85fc58051d765741a642665570645ecb86783d69"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleCacheDBWriter.syncResources (cognitive 56): ArticleCacheDBWriter.syncResources has cognitive complexity 56 (threshold 15). Drivers by points: if/else 19 (40 pts), boolean chains 6, loops 3 (6 pts), match/switch 2 (3 pts), error handling 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ArticleCacheDBWriter\u002BSyncResources.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e122068a8a068bcc0f1f7d53bf68d816272745c0c8ab29dd246df5a7991b0b"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFDailyGameExploreCell.sizeThatFits (cognitive 55): WMFDailyGameExploreCell.sizeThatFits has cognitive complexity 55 (threshold 15). Drivers by points: if/else 28 (52 pts), ternaries 1 (3 pts) (nesting depth added 26). 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":"Wikipedia/Code/WMFDailyGameExploreCell.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"849deceaa8d93ed7a87ecef9d1d30799e4f2db68234acf08631223a363499d2b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingListsSyncOperation.locallyCreate (cognitive 54): ReadingListsSyncOperation.locallyCreate has cognitive complexity 54 (threshold 15). Drivers by points: if/else 22 (43 pts), loops 5 (7 pts), boolean chains 4 (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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8fdb6f27e84f336afed719b41835d28d312363c6beb870c66376bda6445e13"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFArticleSavedStateMigrationManager.migrateSyncedArticles (cognitive 51): WMFArticleSavedStateMigrationManager.migrateSyncedArticles has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 3 (8 pts), error handling 3 (5 pts), boolean chains 1 (nesting depth added 30). 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":"WMF Framework/WMFArticle\u002BMigration.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7910eef457bbd88d02d953fdee135fbab3c151ff40d4d26774b022b0f18e3a"}},{"ruleId":"D2","level":"warning","message":{"text":"String.pluralDictionary (cognitive 50): String.pluralDictionary has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 3 (6 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command Line Tools/Update Localizations/localization.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"483409bb99cc4bb6a6f34214701061c79c4794eafe9c9e846880617d3ce87d96"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffContainerViewController.setupDiffListViewControllerIfNeeded (cognitive 47): DiffContainerViewController.setupDiffListViewControllerIfNeeded has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (40 pts), match/switch 2 (4 pts), boolean chains 3 (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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea302a56c9efcfc80d53a3f8ef637041c09f3133fc1554c98919caef8a82ebfc"}},{"ruleId":"D2","level":"warning","message":{"text":"localization.swift.importLocalizationsFromTWN (cognitive 45): localization.swift.importLocalizationsFromTWN has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 4 (8 pts), boolean chains 3, error handling 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":"Command Line Tools/Update Localizations/localization.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4232e4ba63fd5e8e737d446a2aa4eb2bdaa66178163af2122b0999f3bd04ad"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectionViewUpdater.controllerDidChangeContent (cognitive 44): CollectionViewUpdater.controllerDidChangeContent has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 10, loops 3 (4 pts), match/switch 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/CollectionViewUpdater.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1abb6c35cf221cb1865064d03437990951c422e9608a72f18077914a916b6b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingListsSyncOperation.executeSync (cognitive 43): ReadingListsSyncOperation.executeSync has cognitive complexity 43 (threshold 15). Drivers by points: if/else 28 (40 pts), boolean chains 3 (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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c08123b75c5d9e7333ff9f139ddb8cf16979e6c13a2f9a0b8058f59e3d28e5a"}},{"ruleId":"D2","level":"warning","message":{"text":"DescriptionEditViewController.save (cognitive 43): DescriptionEditViewController.save has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (34 pts), match/switch 3 (6 pts), boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DescriptionEditViewController.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b972d583ef19fddfdda7044dc01a6519faa4d444aeac89c2187bdff996b867f"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacesViewController.performSearch (cognitive 43): PlacesViewController.performSearch has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (38 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eda0941a4eb31dcbb16bd86e287caebff6a24fa472edea51eab6b1536f2318e"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFNavigationBarConfiguring.configureNavigationBar (cognitive 42): WMFNavigationBarConfiguring.configureNavigationBar has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 5, match/switch 2 (3 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":"WMFComponents/Sources/WMFComponents/Extensions/Navigation Bar/WMFNavigationBarConfiguring.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1701972864330d8c6d8d762d62b130f5cf7bb5aeae1f4ad2fab315021b59e32"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFWatchlistFilterViewModel.generateDataForNewFilterSettings (cognitive 42): WMFWatchlistFilterViewModel.generateDataForNewFilterSettings has cognitive complexity 42 (threshold 15). Drivers by points: if/else 31 (33 pts), boolean chains 7, 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":"WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterViewModel.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"356de4f534ffe774e062c0fa2f526ba6d13d29bb5e5b81f4c0338c2fde6ffa0e"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingListsSyncOperation.createOrUpdate (cognitive 42): ReadingListsSyncOperation.createOrUpdate has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (35 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41361a91cc56514eaa838e8bca5a5e4618f60e3d55b0395884364e15446419f"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationsCenterViewController.userDidPanCell (cognitive 41): NotificationsCenterViewController.userDidPanCell has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (30 pts), ternaries 3 (7 pts), boolean chains 3, match/switch 1 (nesting depth added 18). 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":"Wikipedia/Code/NotificationsCenterViewController.swift"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec0b5a2c9b2a07194a9767e529d2971141b02f7872218df066d923f2b2d782c"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFYearInReviewDataController.fullSlideCount (cognitive 40): WMFYearInReviewDataController.fullSlideCount has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 16 (32 pts), if/else 4 (7 pts), match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"672831dd56be037a43ec0ae467ad600e36bae49a2781349fabed05263f6dbe50"}},{"ruleId":"D2","level":"warning","message":{"text":"PageHistoryViewController.configure (cognitive 40): PageHistoryViewController.configure has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (28 pts), ternaries 3 (10 pts), boolean chains 2 (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":"Wikipedia/Code/PageHistoryViewController.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad03c831e86f383105598d86de96aa1666a8766a77bee179adcdea135a362d1d"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailTransition.animateTransition (cognitive 39): DetailTransition.animateTransition has cognitive complexity 39 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 12, ternaries 4 (6 pts) (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":"Wikipedia/Code/DetailTransition.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3cf90a79134c169cd0982424fb6991d422a0f65a21b969484c53f5b2b025ec"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffContainerViewController.completeRollbackOrUndo (cognitive 39): DiffContainerViewController.completeRollbackOrUndo has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (31 pts), match/switch 3 (6 pts), ternaries 1 (2 pts) (nesting depth added 17). 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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc439211c00287946d55d7f1346331ce4eb108ac943bff8d1aaba90b74d27b6"}},{"ruleId":"D2","level":"warning","message":{"text":"Router.destinationForWResourceURL (cognitive 37): Router.destinationForWResourceURL has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 20, if/else 15 (16 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Router.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9290255bf39b2effa16a9c76458d6530201941699878983ca88401ea8aac8a"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacesViewController.merge (cognitive 37): PlacesViewController.merge has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (22 pts), boolean chains 6, loops 2 (5 pts), ternaries 1 (4 pts) (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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06cded16228561b08c61a52f403d37f2568f9aaa7546f927493033c52c7f559"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleCollectionViewCell.sizeThatFits (cognitive 36): ArticleCollectionViewCell.sizeThatFits has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (20 pts), ternaries 5 (14 pts), boolean chains 2 (nesting depth added 18). 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":"Wikipedia/Code/ArticleCollectionViewCell.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59bc0996e89b2d54ee7763fe8a703098a1c02981c747bea47ddd67e4b0e787d"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticlePeekPreviewViewController.contextMenuItems (cognitive 36): ArticlePeekPreviewViewController.contextMenuItems has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 6, ternaries 3 (6 pts), error handling 1 (2 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":"Wikipedia/Code/ArticlePeekPreviewViewController.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a1db31e50ab95e377c9d68e49397fb635c1e987c37b871ee1a3a053472dc9e"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFAppViewController.processUserActivity (cognitive 36): WMFAppViewController.processUserActivity has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (29 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAppViewController.swift"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"967a41b7f5fa2ea63754599589f911522098f7fd85a0e823729b3a617672eed8"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFAuthenticationManager.loginWithSavedCredentials (cognitive 35): WMFAuthenticationManager.loginWithSavedCredentials has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (28 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAuthenticationManager.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"82477258700888b4992723911e781a0bb7ee3a3adf33abffbe824471c35cf6e1"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFSourceEditorFormatterList.toggleListItem (cognitive 34): WMFSourceEditorFormatterList.toggleListItem has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 19). 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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatterList\u002BButtonActions.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c8319c3fb82590da28dc81c7c982b9cf887b512faf2edac63f644a503c4d01"}},{"ruleId":"D2","level":"warning","message":{"text":"TalkPageFindInPageSearchController.search (cognitive 34): TalkPageFindInPageSearchController.search has cognitive complexity 34 (threshold 15). Drivers by points: loops 6 (18 pts), if/else 6 (14 pts), boolean chains 2 (nesting depth added 20). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TalkPageFindInPageSearchController.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b5c0aa0f261d322bad460f59292f9b1ec92d46478c5b3b33b3fa0e92388cde"}},{"ruleId":"D2","level":"warning","message":{"text":"TalkPageViewController.tappedPublish (cognitive 34): TalkPageViewController.tappedPublish has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TalkPageViewController.swift"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab35aa5bdd7b72f2f5b88402971a751df91019ee7536e9d12b2d02ade4fe9c35"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlUtils.addStyling (cognitive 33): HtmlUtils.addStyling has cognitive complexity 33 (threshold 15). Drivers by points: loops 14 (19 pts), if/else 6 (14 pts) (nesting depth added 13). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ddd96d4755a95ac816de69a3d6bbf2d59994b59e7a01670a8ef2882c70bc3b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingListsSyncOperation.createOrUpdate (cognitive 33): ReadingListsSyncOperation.createOrUpdate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 5 (8 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a88718d0b4aca04dabcee49652fb5a96a6a5d4bbc170c6d737f7a1f870e4c1"}},{"ruleId":"D2","level":"warning","message":{"text":"PageHistoryCollectionViewCell.sizeThatFits (cognitive 33): PageHistoryCollectionViewCell.sizeThatFits has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (17 pts), ternaries 8 (15 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/PageHistoryCollectionViewCell.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e39a31851dea494abfc0ae2d11a41d58ec5a92c648deb9b0aeb64a304a5b2e"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFAppViewControllerTipWrapper.listenForTooltips (cognitive 32): WMFAppViewControllerTipWrapper.listenForTooltips has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 5, ternaries 1 (3 pts), loops 1 (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":"Wikipedia/Code/AppViewControllerTipWrapper.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"748c397203e8051c65aeb8c9245e3bfcca6ce17c2afa8e3ec68b6dbfe29a43f7"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlUtils.listInsertData (cognitive 31): HtmlUtils.listInsertData has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 4, match/switch 1 (2 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":"WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e8645fe867cb21ae6a9ae636091784afb71120f437000eadf71a6f990b37ff"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFActivityTabView.loggedInList (cognitive 31): WMFActivityTabView.loggedInList has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 5 (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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"74554b03ab318b58e5ec0a4bc7e1c8ac6c5abf84f634c2e2d8118b1a0ba52035"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFSourceEditorFormatter.toggleFormatting (cognitive 31): WMFSourceEditorFormatter.toggleFormatting has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (25 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatter\u002BButtonActions.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6982a8dd3288cb46f3071bc588dce9d7b34d9504516855b82208f6f7fa9903d7"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFBasicService.performPOST (cognitive 31): WMFBasicService.performPOST has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 1 (4 pts), error handling 1 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Service/WMFBasicService.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5ea7ec54804ee7040aacf6e5cd65b22c80257b8eb88017bc1262a5a66907a2"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFWikitextUtils.insertImageWikitextIntoArticleWikitextAfterTemplates (cognitive 31): WMFWikitextUtils.insertImageWikitextIntoArticleWikitextAfterTemplates has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 3 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Utility/WMFWikitextUtils.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7f2d5db62c81083238a7915add2ccb9c2562ed96692c102e225f348c061533"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionsView.sizeThatFits (cognitive 31): ActionsView.sizeThatFits has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 4 (8 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/CollectionViewCellActionsView.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c606afeabbf0491598b91983121f7a2cb6d208cf29c84e9c071cc33d3ca5443e"}},{"ruleId":"D2","level":"warning","message":{"text":"SavedArticlesCollectionViewCell.sizeThatFits (cognitive 31): SavedArticlesCollectionViewCell.sizeThatFits has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (19 pts), ternaries 4 (8 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":"Wikipedia/Code/SavedArticlesCollectionViewCell.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf007c4f2ef56da7a13f28e7394493140b9e06e01d4bf1e16d4802679902b2c"}},{"ruleId":"D2","level":"warning","message":{"text":"TalkPageViewController.tappedPublish (cognitive 31): TalkPageViewController.tappedPublish has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TalkPageViewController.swift"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb96426dfb2e56130a176a47049784e430567245ef25eab2bfb06de8ba501a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingListsSyncOperation.executeRandomArticlePopulation (cognitive 30): ReadingListsSyncOperation.executeRandomArticlePopulation has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (25 pts), boolean chains 2, loops 1 (2 pts), error handling 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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b8684adf951f63164e280b16c3919c14739986d8f5a282425bef0bb9384b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetController.fetchTopReadContent (cognitive 30): WidgetController.fetchTopReadContent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 2 (5 pts), loops 1 (3 pts), boolean chains 2, ternaries 1 (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":"WMF Framework/Widget/WidgetController.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff0607c64f2f8438403698f2b192627d1541c33bf7cad7fcdcde80ba11a5582"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffListChangeItemViewModel.calculateAttributedString (cognitive 30): DiffListChangeItemViewModel.calculateAttributedString has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 3 (7 pts), boolean chains 5, match/switch 3 (5 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DiffListChangeItemViewModel.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1871d1ba76e622ce0118c61630e467ec576a930a6ad513612aa9253e2e20321"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacesViewController.updatePlaces (cognitive 30): PlacesViewController.updatePlaces has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ee9547d8dba430f88db4a25ec806549dcf3c37b98bab216e953cf1c39aaaac"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleCacheController.syncCachedResources (cognitive 29): ArticleCacheController.syncCachedResources has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 5 (15 pts), if/else 4 (9 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 17). 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":"WMF Framework/ArticleCacheController.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d85cda2e3fb4abf6b5e5bd7fd70d86c425eba24789aa93ecc3ddb7028198cf"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationsCenterDetailViewModel.primaryAction (cognitive 29): NotificationsCenterDetailViewModel.primaryAction has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 2, match/switch 1 (nesting depth added 13). 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":"Wikipedia/Code/NotificationsCenterDetailViewModel\u002BActionExtensions.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddc0f701574997b32e36dd87932526f39445f9ed89b98df57253276c41c1ea9"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFWatchlistDataController.fetchWatchlist (cognitive 28): WMFWatchlistDataController.fetchWatchlist has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (24 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6b9cef8fb51f550ef160a3ed3b1938cc5f62cc3bdd1e429e42c7147d4e85b8"}},{"ruleId":"D2","level":"warning","message":{"text":"SavedArticlesFetcher._update (cognitive 28): SavedArticlesFetcher._update has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 4 (10 pts), boolean chains 5, error handling 2 (3 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":"Wikipedia/Code/SavedArticlesFetcher.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d9d41bcc3c68045390f2015026c4eac7d53cf88d1ccdcaebb8245af90fc0c5"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFArticleTabsDataController.appendArticle (cognitive 27): WMFArticleTabsDataController.appendArticle has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 3, loops 1 (2 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":"WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"8966c212d97cf360b5f7140a89397d88e2bd5d3c7bab4ffd4b3761f6e91df22f"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFArticleTabsDataController.fetchAllArticleTabs (cognitive 27): WMFArticleTabsDataController.fetchAllArticleTabs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, loops 2 (3 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":"WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c8e436b695a5fc6307f24dad094c6214224c004db911165d0c084dc8dc0648"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFExperimentsDataController.determineBucketForExperiment (cognitive 27): WMFExperimentsDataController.determineBucketForExperiment has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 4, match/switch 1 (2 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":"WMFData/Sources/WMFData/Data Controllers/Experiments/WMFExperimentsDataController.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed00ca187c80f8ffc76f1aceeb864a97218db4e7c1451b217819709ef4bcec3"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheController.finishDBAdd (cognitive 27): CacheController.finishDBAdd has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 3 (8 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 16). 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":"WMF Framework/CacheController.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"42faae5946d7d8840dd178d8ce256f86f5a94655ce8f1c455df2691fade42839"}},{"ruleId":"D2","level":"warning","message":{"text":"ExploreCardCollectionViewCell.sizeThatFits (cognitive 27): ExploreCardCollectionViewCell.sizeThatFits has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 5 (9 pts), boolean chains 3 (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":"WMF Framework/ExploreCardCollectionViewCell.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3393827dcc9b42594da8cd0ba6d4d3733bdc91e3ba5191dc1819683f9a2d16e"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaWikiFetcher.perform (cognitive 27): MediaWikiFetcher.perform has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (20 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/MediaWikiFetcher.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a6b1c011d3a12ca765f26945588d13c6641c541675fc5dd5aaa1967c614f3d"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffTransformer.transformSectionInfosOfItems (cognitive 27): DiffTransformer.transformSectionInfosOfItems has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DiffTransformer.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0385aeffdec097d4bb540ff54ce7583089cdbfde6a94edacd3404444427e117"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFArticleTabsDataController.getAdjacentArticleInTab (cognitive 26): WMFArticleTabsDataController.getAdjacentArticleInTab has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 10, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"c054cfdccace630abaa9e87039934586ce2cda65d8e8ecbd7293ba0e88980ce3"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectionViewUpdater.performBatchUpdates (cognitive 26): CollectionViewUpdater.performBatchUpdates has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 2 (4 pts), loops 2, 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":"Wikipedia/Code/CollectionViewUpdater.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"25317f5c6935eafde7787f2fc9d39da126772406bc62678e8ff03680d0867c24"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.request (cognitive 26): Session.request has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 1 (3 pts), boolean chains 2, loops 2, match/switch 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":"Wikipedia/Code/Session.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c2118c7945b7b6470efefc66926bef3f0efa263738e92ee3e7161c0056f284"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFForYouArticleCardView.body (cognitive 25): WMFForYouArticleCardView.body has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 4 (7 pts), match/switch 3 (4 pts) (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":"WMFComponents/Sources/WMFComponents/Components/Home/WMFForYouView.swift"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cbb00107a596ea981764735ec296ea1239f4b838401e6646807684b1f923e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnarCollectionViewLayout.prepare (cognitive 25): ColumnarCollectionViewLayout.prepare has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6, loops 2 (4 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":"WMF Framework/ColumnarCollectionViewLayout.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd80b03153cf5d39743e7b8b13198457f88672d422a3a825c2ecb69fc6ddc6a7"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFArticleSavedStateMigrationManager.runMigration (cognitive 25): WMFArticleSavedStateMigrationManager.runMigration has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 3 (5 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/WMFArticle\u002BMigration.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7cbf1cd465280bf94ac828c06976e095265a710072f80d3a326546fdebfe9e"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleTabCoordinating.trackArticleTab (cognitive 25): ArticleTabCoordinating.trackArticleTab has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 3 (7 pts), boolean chains 3, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleCoordinator.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aac9793e18004f79ed1be80345cdee29da9df8372c9c0ca0f4c5584bd60f9ce"}},{"ruleId":"D2","level":"warning","message":{"text":"EditSaveViewController.handleEditFailure (cognitive 25): EditSaveViewController.handleEditFailure 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":"Wikipedia/Code/EditSaveViewController.swift"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d935d54fd457ed43977f02d043d76695e5212a2f8671a81db187a7ac940814"}},{"ruleId":"D2","level":"warning","message":{"text":"ExploreViewController.collectionView (cognitive 25): ExploreViewController.collectionView has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, ternaries 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6c9fd7b0ff5cb3c10c6e62bd8bb5bcfedca1944666ed5279ce66e6c811225c"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeCoordinator.makeHomeViewController (cognitive 25): HomeCoordinator.makeHomeViewController has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, boolean chains 12. 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":"Wikipedia/Code/HomeCoordinator.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"42af405452a7adb886ad2a5854089df458f9a5d6fc061e8a8312af7c041ade66"}},{"ruleId":"D2","level":"warning","message":{"text":"PageHistoryViewController.collectionView (cognitive 25): PageHistoryViewController.collectionView has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 6 (nesting depth added 10). 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":"Wikipedia/Code/PageHistoryViewController.swift"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7df3a953df383822727a157c0f6c23cd8a3a473fa2b029767b8e80b4ea441d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewControllerRouter.route (cognitive 25): ViewControllerRouter.route has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4, match/switch 1 (nesting depth added 9). 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":"Wikipedia/Code/ViewControllerRouter.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67ee3203c9776ecd554c38b66252924dded880eebea0315bba13293d52d6a36"}},{"ruleId":"D2","level":"warning","message":{"text":"NSManagedObjectContext.wmf_createOrUpdateArticleSummmaries (cognitive 25): NSManagedObjectContext.wmf_createOrUpdateArticleSummmaries has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5 (9 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/SummaryExtensions.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4b64a3b1ecd13e23cb89e2e8798ae8b3fb5f377aca7b5fa7c72d0d332895e9"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFYearInReviewDataController.populateYearInReviewReportData (cognitive 24): WMFYearInReviewDataController.populateYearInReviewReportData has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, loops 3, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21243415c494a296d4ee4ee50242ff64bd3ab8f2546c768c28977926c92e44d"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheController.remove (cognitive 24): CacheController.remove has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 4 (10 pts), loops 1 (2 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":"WMF Framework/CacheController.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed8f555dea09cd2e5be1b00d3b1525a4f399eb943b4945e5ce84e8cd97c98d7"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleRightAlignedImageCollectionViewCell.sizeThatFits (cognitive 24): ArticleRightAlignedImageCollectionViewCell.sizeThatFits has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 5 (10 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":"Wikipedia/Code/ArticleRightAlignedImageCollectionViewCell.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"645c177b99b9b8123467264c21f7bc44f0beb777e3cb6f82954e74fdc094eb75"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffListChangeItemViewModel.moveAttributedString (cognitive 24): DiffListChangeItemViewModel.moveAttributedString has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 3 (10 pts), if/else 5 (7 pts), loops 1 (3 pts), boolean chains 2, ternaries 1 (2 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":"Wikipedia/Code/DiffListChangeItemViewModel.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e045a67bb32c057b559d26ed15ff211a228e6ae7ab10e2aab092011e4b61bfb4"}},{"ruleId":"D2","level":"warning","message":{"text":"PageHistoryCollectionViewCell.apply (cognitive 24): PageHistoryCollectionViewCell.apply has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (22 pts), ternaries 1 (2 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":"Wikipedia/Code/PageHistoryCollectionViewCell.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c406c7ff984db670ea122ea68174c4d01633277cfc6a376d7a9a014294c8c0"}},{"ruleId":"D2","level":"warning","message":{"text":"PageHistoryFetcher.fetchEditCounts (cognitive 24): PageHistoryFetcher.fetchEditCounts has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 10, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/PageHistoryFetcher.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc1d4680a34b1b23fd27edcdce62179fff7b7bad0d3726458dd8e3254b5fdb6"}},{"ruleId":"D2","level":"warning","message":{"text":"TableOfContentsAnimator.gestureRecognizerShouldBegin (cognitive 24): TableOfContentsAnimator.gestureRecognizerShouldBegin has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TableOfContentsAnimator.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b214eca7f644ceac3112aa890c67459f73677a09158713bb4b95c1e7698bf92"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemeHandler.kickOffDataTask (cognitive 24): SchemeHandler.kickOffDataTask has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20 (23 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/SchemeHandler/SchemeHandler.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"34efc776259ff206822777ac81a673b00a4e1bb172d5f828cd00fb1157b17ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"localization.swift.exportLocalizationsFromSourceCode (cognitive 24): localization.swift.exportLocalizationsFromSourceCode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (6 pts), boolean chains 2, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command Line Tools/Update Localizations/localization.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8c6eb4c6f3e529c1ce059077697c7efe20d25a64b52cb9f65c937237e4344a"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFEditorInputView.didSelectIndex (cognitive 23): WMFEditorInputView.didSelectIndex has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 8 (15 pts), if/else 8 (nesting depth added 7). 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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorInputView.swift"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0fdde04836eaba05a19bcbe8633ded1af2a332abd4ca8ab7980ee35ff877a3"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFArticleDataController.fetchArticleInfo (cognitive 23): WMFArticleDataController.fetchArticleInfo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 1 (3 pts), boolean chains 2, match/switch 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":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleDataController.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"011391d63bdc23bf062808b7c56adfa5e380caaa0886c35097a2aa2e29d28f4d"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetController.fetchPictureOfTheDayContent (cognitive 23): WidgetController.fetchPictureOfTheDayContent has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, 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":"WMF Framework/Widget/WidgetController.swift"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"e936a29e76bca73fee649c3b0f54af7f252208ef581a8000e70a16e1fb596340"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffListViewController.didTapItem (cognitive 23): DiffListViewController.didTapItem has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (6 pts), loops 2 (4 pts), boolean chains 2 (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":"Wikipedia/Code/DiffListViewController.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fafe2ff0a5aa7e950dd3b9e02d7d4deba6d4e87a4514cd9fbc0cfc6e8b0555"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationsCenterViewController.userDidTapMoreActionForCell (cognitive 23): NotificationsCenterViewController.userDidTapMoreActionForCell has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 2, 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":"Wikipedia/Code/NotificationsCenterViewController.swift"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aae0f380cc96634f2918eafbe52e4a027f67a2555313b82362480c677fe8d92"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacesViewController.updateSearchSuggestions (cognitive 23): PlacesViewController.updateSearchSuggestions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (4 pts), match/switch 2 (3 pts), boolean chains 2, error handling 1 (2 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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f5543b7cbc46cfcf6fc2d8440f070295145290d204bafdf5d650f503a847f9"}},{"ruleId":"D2","level":"warning","message":{"text":"SavedArticlesFetcher.handleFailure (cognitive 23): SavedArticlesFetcher.handleFailure has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (13 pts), match/switch 4 (8 pts), boolean chains 2 (nesting depth added 5). 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":"Wikipedia/Code/SavedArticlesFetcher.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fe8eadcb2c022b3481767e8249c383d192bec240659fc947625b3fa1d57563"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFDailyGameContentSource.loadNewContent (cognitive 23): WMFDailyGameContentSource.loadNewContent has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 1 (4 pts), boolean chains 2, error handling 1 (nesting depth added 11). 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":"Wikipedia/Code/WMFDailyGameContentSource.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ae140ee1fabc208b66111f94b1452e4e558b179bd7cc827a17ec7d0bda8593"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectionViewEditController.handlePanGesture (cognitive 22): CollectionViewEditController.handlePanGesture has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 3 (7 pts), boolean chains 2, 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":"WMF Framework/CollectionViewEditController.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f55d568fe6f174aab15d9065199a27f72f0b5747de0400f7a3dafcf8b016d86"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingList.updateArticlesAndEntries (cognitive 22): ReadingList.updateArticlesAndEntries has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (5 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":"WMF Framework/ReadingList\u002BCoreDataClass.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e456dd2930c315d6e21598201c2ce6645f518754e740d3945ea59178e6fa6dfa"}},{"ruleId":"D2","level":"warning","message":{"text":"WikipediaLanguageCommandLineUtility.getSiteInfoLookup (cognitive 22): WikipediaLanguageCommandLineUtility.getSiteInfoLookup has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 17, if/else 2 (3 pts), loops 2 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtility.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e98a04c0e4481264e73fcb14811723e1bc0b7acad7b088bf517ac4e7f66b783"}},{"ruleId":"D2","level":"warning","message":{"text":"WikipediaLanguageCommandLineUtilityAPI.getSites (cognitive 22): WikipediaLanguageCommandLineUtilityAPI.getSites has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 7 (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":"Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtilityAPI.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"af459d75540ff933422c9fe4ece991cd0f27b15657bd49456ebffcfe5cf5ab96"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionDelegate.urlSession (cognitive 22): SessionDelegate.urlSession has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 5 (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":"Wikipedia/Code/Session.swift"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"159700dbed725712b7de616326d4215879cca1f7e23164277b3601e45e52a138"}},{"ruleId":"D2","level":"warning","message":{"text":"SinglePageWebViewController.handleNavigation (cognitive 22): SinglePageWebViewController.handleNavigation has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/SinglePageWebViewController.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2fccfcc32c7431eacaeffaf2a6e15fc1e41e309489267b1de373258bb5f65e"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabasePopulationViewModel.populateViewedArticles (cognitive 22): DatabasePopulationViewModel.populateViewedArticles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/Database Population/DatabasePopulationViewModel.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"498f77d738430a6ae43beb74990bb7d94ba0b353c675ed134fc47bd6018b61be"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFFont.\u0060for\u0060 (cognitive 21): WMFFont.\u0060for\u0060 has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 1 (nesting depth added 10). 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":"WMFComponents/Sources/WMFComponents/Style/WMFFont.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"335fabd68ac4847c9239f2b6aaa0878f3fc59ce0ee6d341b39523023ea30d1d4"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleFetcher.fetchMediaListURLs (cognitive 21): ArticleFetcher.fetchMediaListURLs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (6 pts), boolean chains 3, 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":"Wikipedia/Code/ArticleFetcher.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8016f0da2fe2b12a0aec7f5cd57e5d893beef79001c133aeaf8280455adc36a5"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticlePlaceView.setSelected (cognitive 21): ArticlePlaceView.setSelected has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 3, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticlePlaceView.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48ee02d33b9ec9390c0ed5777c5fdea16d4d29cc3aba7114a6078c349bb8b74"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffListChangeItemViewModel.constructAccessibilityLabel (cognitive 21): DiffListChangeItemViewModel.constructAccessibilityLabel has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DiffListChangeItemViewModel.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e442af77067a630c4496f155568e57c8a9f69d7385e50b6214c2e4a01ef4ede"}},{"ruleId":"D2","level":"warning","message":{"text":"ThanksGiving.tappedThank (cognitive 21): ThanksGiving.tappedThank has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 4 (6 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ThanksGiving.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"481ed230f4693d77257e287ae11e4610ad74fc59c808ea3bcdf64dd057831711"}},{"ruleId":"D2","level":"warning","message":{"text":"MWKDataStore.migrateWikipediaEntities (cognitive 21): MWKDataStore.migrateWikipediaEntities has cognitive complexity 21 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 3 (7 pts), error handling 2 (4 pts) (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/MWKDataStore\u002BLanguageVariantMigration.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8202c657faa82c00a02ff1d5a938801b1270f08daf4020a0f52ab82bca75840"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFSurveyView.body (cognitive 20): WMFSurveyView.body has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 2 (3 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (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":"WMFComponents/Sources/WMFComponents/Components/Shared/Survey/WMFSurveyView.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a33fe55c45f4174dd42fdfa283a4e6d980f70675940183b5f22230a179b6164"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFArticle.merge (cognitive 20): WMFArticle.merge has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 3, 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":"WMF Framework/SummaryExtensions.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"313875ea499e87758c9752aeb3715dc3e8829e1171c8c4dacaf737a86d9c9d19"}},{"ruleId":"D2","level":"warning","message":{"text":"PermanentlyPersistableURLCache.updateCacheWithCachedResponse (cognitive 20): PermanentlyPersistableURLCache.updateCacheWithCachedResponse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, boolean chains 8, match/switch 2, ternaries 1. Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. 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":"WMF Framework/PermanentlyPersistableURLCache.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"a649f79392518568441beefe9c5e9d86f91de49206df7448a25a49e8fd86ba07"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingListsSyncOperation.execute (cognitive 20): ReadingListsSyncOperation.execute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, error handling 2 (3 pts) (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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a085fdd46858c53b18e9d2647f2c784aa5a8d32444aa4d02682949c1defe35d4"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetController.fetchFeaturedArticleContent (cognitive 20): WidgetController.fetchFeaturedArticleContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 1, match/switch 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":"WMF Framework/Widget/WidgetController.swift"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19e56ac0f5a0db1a3dffade171bb6b678d0abcecdcb57a29a1db80dcc617152"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFActivityTabViewController.viewDidLoad (cognitive 20): WMFActivityTabViewController.viewDidLoad has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c4fbfc9097d7628c63b4a9492c1f43e9f3149bc420b8a501b6e5977ed4a45a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorViewController.loadContent (cognitive 20): EditorViewController.loadContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, boolean chains 6, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/EditorViewController.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9de5fbc978bdf51eb1075ab7f85897365dc77daf9bc7272e525f8f2f03d024"}},{"ruleId":"D2","level":"warning","message":{"text":"LegacyReadingListsDataSource.savedArticles (cognitive 20): LegacyReadingListsDataSource.savedArticles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (6 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/LegacyReadingListsDataSource.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6a2c966aa3625092ec2ed6ac4b867e3d6a5f3f008541eb27aa8cc88d1b497f"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFSourceEditorFormatter.textPositionsCloserToNearestFormattingStrings (cognitive 19): WMFSourceEditorFormatter.textPositionsCloserToNearestFormattingStrings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatter\u002BButtonActions.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfadd335081e606b76c6ca39532315db653393d0c1f13f194ff8bfb2bd8a5937"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnarCollectionViewLayout.layoutAttributesForElements (cognitive 19): ColumnarCollectionViewLayout.layoutAttributesForElements has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (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":"WMF Framework/ColumnarCollectionViewLayout.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"991df9d63892ad5d848136d78c78e0328e33861853aaa3e6573bbb6d089d30b6"}},{"ruleId":"D2","level":"warning","message":{"text":"PageNamespace.isTalkBased (cognitive 19): PageNamespace.isTalkBased has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 19. 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":"WMF Framework/PageNamespace.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98aa242d38ada69cfde8c7446eb1692770ffc8d5d751e81b13f4070bd3af650"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteNotificationsController.predicateForFilterSavedState (cognitive 19): RemoteNotificationsController.predicateForFilterSavedState has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, match/switch 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"WMF Framework/Remote Notifications/RemoteNotificationsController.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb71e002e7c070c9de4c5ee5e5bde45a312c1a8e0ede59964664bb82b37e5a58"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityTabFunnel.logActivityTabCustomizeExit (cognitive 19): ActivityTabFunnel.logActivityTabCustomizeExit has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 7, if/else 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ActivityTabFunnel.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"38814beda25e498aabcd9562ca2fc3b26ebb887780cd9203e8d40c26cdd8b37a"}},{"ruleId":"D2","level":"warning","message":{"text":"AppearanceSettingsViewController.tableView (cognitive 19): AppearanceSettingsViewController.tableView has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 1 (3 pts), boolean chains 2 (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":"Wikipedia/Code/AppearanceSettingsViewController.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cc9fc973a6ce02413140b9a761c8c32a2031a928eed53425f583c84f00b82e"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleViewController.showNewDonateExperienceCampaignModal (cognitive 19): ArticleViewController.showNewDonateExperienceCampaignModal has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3, match/switch 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":"Wikipedia/Code/ArticleViewController\u002BAnnouncements.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb1f41b58ff619c0e96747fa717cb2302174dbceea5529defbfbf40415494a7"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffContainerViewController.evaluateState (cognitive 19): DiffContainerViewController.evaluateState has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 6 (10 pts), if/else 7 (9 pts) (nesting depth added 6). 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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"54731b620fbb362aa56109fd978fa6a9918ea3c0b9279722ab008eb94f4582bd"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffListChangeItemViewModel.calculateTextPaddingAndInBetweenSpacing (cognitive 19): DiffListChangeItemViewModel.calculateTextPaddingAndInBetweenSpacing has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (7 pts), ternaries 2 (4 pts), match/switch 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":"Wikipedia/Code/DiffListChangeItemViewModel.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf9199b6b3f0ba3ec500544808a36ec4e8cad396cda0cea3fb989a12cbfa1c9"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffListViewController.updateListViewModels (cognitive 19): DiffListViewController.updateListViewModels has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (6 pts), boolean chains 1, match/switch 1 (nesting depth added 10). 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":"Wikipedia/Code/DiffListViewController.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd24465f8f7b0ba58fd12b7b3a4fa1566777be5cf653a13d999bad569b5f2ec"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacesViewController.handlePanGesture (cognitive 19): PlacesViewController.handlePanGesture has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 1 (nesting depth added 8). 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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea9efe93e05fc5d97600feb895a9dd3c7279768214e4dab77da90bf840b65a1"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneDelegate.openURLContexts (cognitive 19): SceneDelegate.openURLContexts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2 (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":"Wikipedia/Code/SceneDelegate.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f897476df2e87ca022dcac06685424eb375c03b327c7e81a60798e7ae61cc4"}},{"ruleId":"D2","level":"warning","message":{"text":"TalkPageViewController.scrollToFindInPageResultRect (cognitive 19): TalkPageViewController.scrollToFindInPageResultRect has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 1 (nesting depth added 11). 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":"Wikipedia/Code/TalkPageViewController\u002BFindInPage.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c930b954c84f133c58e839672f78ca8607b433398d7d9e4695fe3cc1db7e18e"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFAppViewController.logWatchlistUserDidSaveFilterSettings (cognitive 19): WMFAppViewController.logWatchlistUserDidSaveFilterSettings has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 7 (9 pts), if/else 6 (7 pts), boolean chains 2, loops 1 (nesting depth added 3). 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":"Wikipedia/Code/WMFAppViewController\u002BExtensions.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d49328aae0b01b305e0604fd56694dd6b31827c3b9d11261bce38c126b77cc4"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFAppViewController.logTabBarSelectionsForActivityTab (cognitive 19): WMFAppViewController.logTabBarSelectionsForActivityTab has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAppViewController\u002BExtensions.swift"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9000bffb7be7aca0ee18c4d1fa76acfa0da452b6517214da0769b87826ccc7"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFHCaptchaViewController.setupHCaptcha (cognitive 19): WMFHCaptchaViewController.setupHCaptcha has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, ternaries 2 (4 pts), error handling 1, match/switch 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":"Wikipedia/Code/WMFHCaptchaViewController.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6402bcd368456f7ec0be815bc671fdf3ded1d5e86aa382276f12b5a5605a3cea"}},{"ruleId":"D2","level":"warning","message":{"text":"WikidataFetcher.processResponse (cognitive 19): WikidataFetcher.processResponse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 1 (3 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":"Wikipedia/Code/WikidataFetcher.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe4719132cc91e11eb527557153d266984baee3c283a5f4e4e8eb9ce738fe18"}},{"ruleId":"D2","level":"warning","message":{"text":"MWKDataStore.migrateNewVariants (cognitive 19): MWKDataStore.migrateNewVariants has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (10 pts), error handling 4 (8 pts), if/else 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/MWKDataStore\u002BLanguageVariantMigration.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efe7231b7a9222f4a1669df2f051058e3f2e23f1224ae753dbd19d35bac0ae4"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFContentGroup.imageURLsCompatibleWithTraitCollection (cognitive 19): WMFContentGroup.imageURLsCompatibleWithTraitCollection has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 10). 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":"WMF Framework/WMFContentGroup\u002BDisplay.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"571d7ec4f8a8908955c2282be9457600844e93f64de2ca15880dc572db00c6bc"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFContentGroup.detailViewControllerWithDataStore (cognitive 19): WMFContentGroup.detailViewControllerWithDataStore has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (4 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":"Wikipedia/Code/WMFContentGroup\u002BDetailViewControllers.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"892aa0c2231f1976619d20550f9175576c52b86ffe0cc2d0b3a73fc0f48e228f"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFDonateViewModel.paymentAuthorizationController (cognitive 18): WMFDonateViewModel.paymentAuthorizationController has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 2 (4 pts), 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":"WMFComponents/Sources/WMFComponents/Components/Donate Form/WMFDonateViewModel.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"299aaf47f8246b2db1709a981c00d9a9a6e7a344f8d2a84f5c2656dd78c9f2bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnarCollectionViewLayoutSection.invalidate (cognitive 18): ColumnarCollectionViewLayoutSection.invalidate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 1 (3 pts), match/switch 2 (3 pts) (nesting depth added 9). 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":"WMF Framework/ColumarCollectionViewLayoutSection.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef76607bf1b2e55b623aeda0a1e78ca721e876deade81091efd2774ad8b88589"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingListsSyncOperation.executeFullSync (cognitive 18): ReadingListsSyncOperation.executeFullSync has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df60fc08ca5174f675b48771d86d9dd36ec8031f01dca9adc8c2b0a3041fd4d"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticlePlaceView.set (cognitive 18): ArticlePlaceView.set has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 2 (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":"Wikipedia/Code/ArticlePlaceView.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4716f3bb8fdf78977b23b587ea3710055f757b178c80bf5016d718a47263c88"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleToolbarController.createMoreMenu (cognitive 18): ArticleToolbarController.createMoreMenu has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleToolbarController.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e6f518fcec1e46e46f40ab67341dd8c7102437ba5e0d7e854ab21f15d39add"}},{"ruleId":"D2","level":"warning","message":{"text":"DonateCoordinator.nativeDonateFormViewModel (cognitive 18): DonateCoordinator.nativeDonateFormViewModel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 5, loops 1 (2 pts), match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ca709dc7c0cdf1f4ea589c528ee12d83c55bc38312ed1c26e73d8c4157f099"}},{"ruleId":"D2","level":"warning","message":{"text":"ExploreViewController.exploreCardViewController (cognitive 18): ExploreViewController.exploreCardViewController has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1, 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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"620f8e88100730f2e3584876ec12ce64206422804a381bb19447ab4b24df73e4"}},{"ruleId":"D2","level":"warning","message":{"text":"PageHistoryViewController.getEditCounts (cognitive 18): PageHistoryViewController.getEditCounts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 4 (5 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":"Wikipedia/Code/PageHistoryViewController.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c310675be3b503494711f55ca645c8283eca439fe1c2edeb239f8bb93a3c042"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingListsCollectionViewCell.sizeThatFits (cognitive 18): ReadingListsCollectionViewCell.sizeThatFits has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, ternaries 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":"Wikipedia/Code/ReadingListsCollectionViewCell.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aec024ca850d03813cff787f5224e48284bc50dba831a2b29b18b6cc549d482"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFArticleTabsViewModel.prefetchBatch (cognitive 17): WMFArticleTabsViewModel.prefetchBatch has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 4 (5 pts), boolean chains 2, error handling 1 (2 pts), loops 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":"WMFComponents/Sources/WMFComponents/Components/Article Tabs/WMFArticleTabsViewModel.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"573a8d1b79892979c830843e6b3b6d87a9723f95cf9b9cfc32d7e370cf1b4bd7"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFCommunityFeedView.feedList (cognitive 17): WMFCommunityFeedView.feedList has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 7. 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":"WMFComponents/Sources/WMFComponents/Components/Home/WMFCommunityFeedView.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2204dc0a7480bec006280d7351a9b3140f13d47f354b5c9b51a5ff3410dec02c"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFWhichCameFirstCardView.thumbnailView (cognitive 17): WMFWhichCameFirstCardView.thumbnailView has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 3 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/Cards/WMFWhichCameFirstCardView.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e83ba3da7c1cfb1e0ee5234a213d8038b20e14beae278f9356ece47de9b3762"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFDonateDataController.submitPayment (cognitive 17): WMFDonateDataController.submitPayment has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, ternaries 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFDonateDataController.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"809d7aeb03b6a4ab1bf9b29c64824e7e8ee2be0a309cb20564d7d087546a0c1a"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFGamesDataController.makeWhichCameFirstQuestions (cognitive 17): WMFGamesDataController.makeWhichCameFirstQuestions has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (6 pts), boolean chains 5, if/else 4 (5 pts), 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":"WMFData/Sources/WMFData/Data Controllers/Games/WMFGamesDataController.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fdad47d429288312f49f65a7bb33e146856637ae7efca072ef43c6461d339b"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffFetcher.fetchWikitext (cognitive 17): DiffFetcher.fetchWikitext has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 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":"Wikipedia/Code/DiffFetcher.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49277fd0fae5db2f862a2da76ef4539b481f1ec3037a1849d09fd93a5c051c5"}},{"ruleId":"D2","level":"warning","message":{"text":"TalkPageReplyComposeController.userDidPanContainerView (cognitive 17): TalkPageReplyComposeController.userDidPanContainerView has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, match/switch 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":"Wikipedia/Code/TalkPageReplyComposeController.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0c23e619c7f416c1b9eea49e01f6e1e422195ba173ecc78fe630e39b8abf84"}},{"ruleId":"D2","level":"warning","message":{"text":"WikimediaProject.init (cognitive 17): WikimediaProject.init has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WikimediaProject.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78ec056e13cd5848f88c348791f99a7afd12d35261f265bceaf845105ab4847"}},{"ruleId":"D2","level":"warning","message":{"text":"UITestReadingListsSeeder.apply (cognitive 17): UITestReadingListsSeeder.apply has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (7 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":"Wikipedia/Code/UITestSeeds/UITestReadingListsSeeder.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72e581411ef7102108af6ecdb245854842cd93a9a71cf3d50c99102597aeb43"}},{"ruleId":"D2","level":"warning","message":{"text":"UIView.wmf_preferredFrame (cognitive 17): UIView.wmf_preferredFrame has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 6, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/UIView\u002BSemanticContent.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a188307f0d3d6ce8939d8159032f8cc006810ef786ca0b4aa0b917cbd85dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"localization.swift.writeStrings (cognitive 17): localization.swift.writeStrings has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 1 (3 pts), boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command Line Tools/Update Localizations/localization.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"de237d9eb2f48fc40bd22883eefcd5cfa2854a37075f644d26493c254beda142"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFSourceEditorFormatter.getModifiedStartingFormattingStringForSingleWildcard (cognitive 16): WMFSourceEditorFormatter.getModifiedStartingFormattingStringForSingleWildcard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatter\u002BButtonActions.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd19493d368ee280b7e77d8424b41bf966fcfcb074508f0e793fc6cf1ecda305"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFRiveAnimationViewModel.applyImages (cognitive 16): WMFRiveAnimationViewModel.applyImages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Shared/Rive/WMFRiveAnimationViewModel.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcc2beb754cd85b225facd69d700f5fa9058a875d8f8e540bac98cfefb83a4d"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFWhichCameFirstView.footerArea (cognitive 16): WMFWhichCameFirstView.footerArea has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstView.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ec872b2f31afa54566dc2b6b33285f498fa9201ba2c8ada1388e1bf85414cc"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFBasicService.performGET (cognitive 16): WMFBasicService.performGET has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Service/WMFBasicService.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a179517b00f705265b08aa87d91cac2df5c59535de42c49155ab26dca74feff"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFGamesDataController.fetchWhichCameFirstStats (cognitive 16): WMFGamesDataController.fetchWhichCameFirstStats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, loops 1, ternaries 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":"WMFData/Sources/WMFData/Data Controllers/Games/WMFGamesDataController.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"525106c6e2e665f084a91b29e2bc71fdc4a07ba30d622137f26d10783ec74939"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFPageViewsDataController.fetchPageViewSeconds (cognitive 16): WMFPageViewsDataController.fetchPageViewSeconds has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"8662dfdebd90ef3bbd12ab1b75402c4aea1fa1ec23c652b7358cdf04f76f160c"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingListsAPIController.addEntriesToList (cognitive 16): ReadingListsAPIController.addEntriesToList has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ReadingListsAPIController.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1e216835eacee927c63ff90bdaf344811b89c2b3906b62d951a0727aa3c3b9"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleCacheDBWriter.add (cognitive 16): ArticleCacheDBWriter.add has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 2 (4 pts), match/switch 2 (3 pts), error handling 1 (2 pts) (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":"Wikipedia/Code/ArticleCacheDBWriter.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f9e25683d9dc691385b57e91e84349ab009045d760ea61b02f1527de2740b5"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleViewController.showFundraisingCampaignAnnouncementIfNeeded (cognitive 16): ArticleViewController.showFundraisingCampaignAnnouncementIfNeeded has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleViewController\u002BAnnouncements.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6d33e2cc5fe67eaaec4d12782545068848bc0ab3e7e21a44afe7fa9894f0fa"}},{"ruleId":"D2","level":"warning","message":{"text":"EditSaveViewController.handleEditSuccess (cognitive 16): EditSaveViewController.handleEditSuccess has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4 (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":"Wikipedia/Code/EditSaveViewController.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"484fdfe0948fff1545424e2bd17513c9dffe9d4d29d0ba35f8a2f19a54cffb2b"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertMediaSearchViewController.search (cognitive 16): InsertMediaSearchViewController.search has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/InsertMediaSearchViewController.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e982580ec28867027cb8a52b5ccd146fc5a21acf50b354f0d130c46e2890085b"}},{"ruleId":"D2","level":"warning","message":{"text":"TalkPageArchivesView.body (cognitive 16): TalkPageArchivesView.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (4 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":"Wikipedia/Code/TalkPageArchivesView.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef4f403d67526a4d668c6df68723ad862ab93172f2d31ef4857ecd0e2ff55c6"}},{"ruleId":"D2","level":"warning","message":{"text":"TalkPageTopicComposeViewController.tappedPublish (cognitive 16): TalkPageTopicComposeViewController.tappedPublish has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TalkPageTopicComposeViewController.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d833c77c40c69b96034868e2869316f3b744cb8c942b76cd526d504ffb9d72"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFAccountCreationViewController.createAccount (cognitive 16): WMFAccountCreationViewController.createAccount has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c19fbae506dcd6bf916b2458416c6d3328bc47968d04228fa69a8d831b30089"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFAccountCreator.createAccount (cognitive 16): WMFAccountCreator.createAccount has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAccountCreator.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c91c6f555986af742d36d498a5e485f6420a56d00c6536df4a27f45fc1df526"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFAuthenticationManager.logout (cognitive 16): WMFAuthenticationManager.logout has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAuthenticationManager.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab46299e8e12860707d03dd00d21bf4e5a92285066fcc487cff238596fb80051"}},{"ruleId":"D2","level":"warning","message":{"text":"WMFLoginViewController.save (cognitive 16): WMFLoginViewController.save has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFLoginViewController.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"916567fecea496903b6cf8e87511db060890f79c377ef0ebcf51bcbd27b881ee"}},{"ruleId":"D2","level":"warning","message":{"text":"WikitextFetcher.fetchSection (cognitive 16): WikitextFetcher.fetchSection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, match/switch 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WikitextFetcher.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbfc473bf573c5f4d75a7cefc12896666e984373f60a656edde7a6fad3536ce"}},{"ruleId":"D2","level":"warning","message":{"text":"UIViewController.push (cognitive 16): UIViewController.push has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/UIViewController\u002BPush.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b74e878c9c59fb13bef02fe4b4c858b673ffa9d28dadd6323ff34ff1372d27"}},{"ruleId":"D2","level":"warning","message":{"text":"Locale.uniqueWikipediaLanguages (cognitive 16): Locale.uniqueWikipediaLanguages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NSLocale\u002BWMFExtras.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71ccd8f20e36427b17425e56459d21b4aed2a5dbb8df6390b10c439ff3cf031"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ArticleViewController: TooManyMethods \u2014 255 methods, declared across 20 files: Code/ArticleViewController.swift (97), Code/ArticleViewController\u002BFindInPage.swift (19), Code/ArticleViewController\u002BDonationReminder.swift (18), Code/ArticleViewController\u002BArticleToolbarHandling.swift (17), \u002B16 more file(s). The bar is 30 methods; this is 225 over it, 8.50\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":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e37619f7ca9134be512859fc6e269a2bc3b542f781351cc3315ebedbfe03a0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WMFAppViewController: TooManyMethods \u2014 192 methods, declared across 2 files: Code/WMFAppViewController.swift (135), Code/WMFAppViewController\u002BExtensions.swift (57). The bar is 30 methods; this is 162 over it, 6.40\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":"Wikipedia/Code/WMFAppViewController.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"52236fc9cd5ec40fc6c4b87dcc2a0f3a16c7ef8f561b600a8281c7831cba4ff3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExploreViewController: TooManyMethods \u2014 140 methods. The bar is 30 methods; this is 110 over it, 4.67\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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"168fdec621e80880b9c57cb77fbab96503ad6a7b4d4b8d87007ad4fa767f341a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DonateFunnel: TooManyMethods \u2014 121 methods. The bar is 30 methods; this is 91 over it, 4.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DonateFunnel.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76b4736014793a5b0a71acfcf6f3b5ec4adf7712e969c030a03af300a2d036b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlacesViewController: ClassTooLong \u2014 1536 significant lines (blank, comment-only and punctuation-only lines excluded), 102 methods. The bar is 400 significant lines; this is 1136 over it, 3.84\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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"257120b6c117974b9b3c6f2d856a4c10759ab24334721b9ffbaedb6995cafd8a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlacesViewController: TooManyMethods \u2014 102 methods. The bar is 30 methods; this is 72 over it, 3.40\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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b481def050a221b99c0a200da01d1457e83de9bd0e2eb7dee74987add37cf60f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/PlacesViewController.swift: FileTooLong \u2014 1686 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: PlacesViewController (10-2342). The bar is 500 significant lines; this is 1186 over it, 3.37\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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0884c1dd7552f30236024407286a4ae62fa0c541dfff3e3220369b9fb88428f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TalkPageViewController: TooManyMethods \u2014 98 methods, declared across 3 files: Code/TalkPageViewController.swift (77), Code/TalkPageViewController\u002BFindInPage.swift (12), Code/TalkPageViewController\u002BTalkPageFormattingToolbar.swift (9). The bar is 30 methods; this is 68 over it, 3.27\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":"Wikipedia/Code/TalkPageViewController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b06073a1866401ff597211d990dd1d73e9d2d440a70f6fd7eafbe8f2467434"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/WMFAppViewController.swift: FileTooLong \u2014 1521 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: WMFAppViewController (49-1816). The bar is 500 significant lines; this is 1021 over it, 3.04\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":"Wikipedia/Code/WMFAppViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a649d903cc230a1fca740ab800c2b9ed6ee762fbc7120e4db45a34081daa22"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WMFSFSymbolIcon.\u0060for\u0060: MethodTooLong \u2014 \u0060for\u0060 runs 302 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 202 over it, 3.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":"WMFComponents/Sources/WMFComponents/Style/WMFIcon.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfe1cca95d018e680297e78ba5c4f9ff30809b6226403a2f4e652bb1dba6bff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WMFAppViewController: ClassTooLong \u2014 1129 significant lines (blank, comment-only and punctuation-only lines excluded), 192 methods. The bar is 400 significant lines; this is 729 over it, 2.82\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":"Wikipedia/Code/WMFAppViewController.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"04301dfbab78a16ef11550aa63db2922b983478177db3402e6901cfc2f808486"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileState.sections: MethodTooLong \u2014 sections runs 274 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 174 over it, 2.74\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":"WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffe213a9ef20d647242ea3af4b715ff8d59f489b25d9dbfb81e37638816c53b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WMFHomeDataController: TooManyMethods \u2014 74 methods. The bar is 30 methods; this is 44 over it, 2.47\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":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b3171f31aa62e177e96625c3eb96b8dc3e00bb37481e4cdd05e8036960b696"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: YearInReviewSlideViewModelFactory: TooManyMethods \u2014 74 methods. The bar is 30 methods; this is 44 over it, 2.47\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":"Wikipedia/Code/YearInReviewSlideViewModelFactory.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6024b9bf03227563a111f4efa6c27fe9033365ff9c97dd3adb51d1389c3816b7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WMFSourceEditorViewController: TooManyMethods \u2014 73 methods. The bar is 30 methods; this is 43 over it, 2.43\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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/WMFSourceEditorViewController.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04fedf038d594d9a0293d45506080895c3e6834accbd4057f2fd873466eabf0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: YearInReviewSlideViewModelFactory: ClassTooLong \u2014 962 significant lines (blank, comment-only and punctuation-only lines excluded), 74 methods. The bar is 400 significant lines; this is 562 over it, 2.41\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":"Wikipedia/Code/YearInReviewSlideViewModelFactory.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9072fd25e8dfa4890cff7ac241342927fa66962b6e7ccbe2e8ec5003a6edb2e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WMFDeveloperSettingsView.body: MethodTooLong \u2014 body runs 239 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\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":"WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsView.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa702556d59ca7be9bcaad379ce6c33d91ef6ad71006aa8eeb734cb351c25cbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/ExploreViewController.swift: FileTooLong \u2014 1174 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 674 over it, 2.35\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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"348ca006c1acf20d438a1175b2f51633d4427b66180c25eb0afe50eb7a2c9673"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EditorViewController: TooManyMethods \u2014 68 methods. The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/EditorViewController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1570b5efef4b1eb72629993161987007f1febafd7452276115d546959a279fc6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WatchlistFunnel: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\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":"Wikipedia/Code/WatchlistFunnel.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3931c679186ea209d686612c2b0223a20eee3ecc10da2d11868d785700e7f0a1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ArticleViewController: ClassTooLong \u2014 839 significant lines (blank, comment-only and punctuation-only lines excluded), 255 methods. The bar is 400 significant lines; this is 439 over it, 2.10\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":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5a91c48db3f47a9965b9cb49a2de21a2806153a91e03150a3070753f2392d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/ArticleViewController.swift: FileTooLong \u2014 1039 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: ArticleViewController (11-1475). The bar is 500 significant lines; this is 539 over it, 2.08\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":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b304cf616fe7d79f8968f63d0cfc256bb905fd5dfa8f4b22b2600f55a27d58fb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DiffContainerViewController: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4f4367d9b2d1cd64f71d2dd13ca9c9ce3082125bd8847568679e2b6a9b26a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotificationsCenterViewController: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"Wikipedia/Code/NotificationsCenterViewController.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a12c8089185b15d6118b7dd014640690abb79f44dfcafb0c484fbc9eafb47e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/YearInReviewSlideViewModelFactory.swift: FileTooLong \u2014 968 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: YearInReviewSlideViewModelFactory (9-1548). The bar is 500 significant lines; this is 468 over it, 1.94\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":"Wikipedia/Code/YearInReviewSlideViewModelFactory.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22974facd8605477c9b1cf3dedefaeb89345261be4434138c83235d2991528dd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReadingListsSyncOperation: ClassTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 354 over it, 1.89\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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"86df06ecbffe008a815ce74cd8701259f552a400856cc375edde08a7b2ab4459"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WMFFont.\u0060for\u0060: MethodTooLong \u2014 \u0060for\u0060 runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\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":"WMFComponents/Sources/WMFComponents/Style/WMFFont.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7def82cc323369a21973c03501821d7e07db96c6378458cabc41d5d748ebf5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExploreCardViewController: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\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":"Wikipedia/Code/ExploreCardViewController.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ff204bb05daa7571a9313847e6171bdab61a72cea3b91527bede250f6ecf47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/WMFAppViewController\u002BExtensions.swift: FileTooLong \u2014 903 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 403 over it, 1.81\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":"Wikipedia/Code/WMFAppViewController\u002BExtensions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"958e66df15d1fbd9d0ed0d075975603e166adf493b5ed2f74dd21a6305c67973"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SearchResultsViewController: TooManyMethods \u2014 54 methods, declared across 2 files: Code/SearchResultsViewController.swift (32), Code/SearchResultsViewController\u002BResultsList.swift (22). The bar is 30 methods; this is 24 over it, 1.80\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":"Wikipedia/Code/SearchResultsViewController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6949d699abddddbb31f6e77ecf61b0c1a505f0597a3e2cc7e84177c0b85a0df6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CommonStrings: ClassTooLong \u2014 706 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 306 over it, 1.77\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":"WMFLocalizations/Sources/WMFNativeLocalizations/CommonStrings.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca9cab0e7eb6b96a86d06b70b4e03a1e9f9c37e4558d04c073131fb008290d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReadingListsSyncOperation.processLocalUpdates: MethodTooLong \u2014 processLocalUpdates runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7c69527440a5fa1bb77bf9fdba3eb80213bbae23eb5a41bd8c248cfe5c48f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DonateCoordinator.presentActionSheet: MethodTooLong \u2014 presentActionSheet runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\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":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df73c941ba7cd1096e68f563a3234f76d6322c09f4521253d33b3a4b8be5e17"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/DiffContainerViewController.swift: FileTooLong \u2014 862 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 362 over it, 1.72\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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4c142173a7e9ce84cd992080d0edfbc6e98e37445e53b3291a43a3de035164"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/TalkPageViewController.swift: FileTooLong \u2014 843 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: TalkPageViewController (12-971). The bar is 500 significant lines; this is 343 over it, 1.69\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":"Wikipedia/Code/TalkPageViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b34e1831e5f088ee95f5bf9a01cc12ee3ecd28698482566f3667cbce50db49"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlacesViewController.regroupArticlesIfNecessary: MethodTooLong \u2014 regroupArticlesIfNecessary 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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35c1f514ba33d6bf4c883802e6685f1119943e5b5c055a48cdeb5495f577dbb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExploreViewController: ClassTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded), 140 methods. The bar is 400 significant lines; this is 242 over it, 1.61\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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"86014ab9c8c4b8a21d802f1d7818536b7b7c828715f7e4e011d3cdbee7da558e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Session: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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":"Wikipedia/Code/Session.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c447f5361f11a0da58258261e98b3bfcb9033a72a773fe0447854ff4abd582e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WMFAppViewController.generateActivityTab: MethodTooLong \u2014 generateActivityTab runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":"Wikipedia/Code/WMFAppViewController\u002BExtensions.swift"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdec37083266ee0c9ff0ecb9287edc44d124181991a7151f46b053e986182dc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsCoordinator: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"Wikipedia/Code/SettingsCoordinator.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1218528375650fbac346e798a58524ab7735a961c4ce3e21d4267c16386a6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WMFNativeLocalizations/CommonStrings.swift: FileTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: CommonStrings (8-1129). The bar is 500 significant lines; this is 269 over it, 1.54\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":"WMFLocalizations/Sources/WMFNativeLocalizations/CommonStrings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05b487e0ccf51782dc232455ff64301b9fc3638e6fa020c1f10c40d0661a15d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WMFActivityTabViewController: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35a85e762639d06fda4d324582198604a526d645c623b5be85e8983ab9ddec2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: YearInReviewCoordinator: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"Wikipedia/Code/YearInReviewCoordinator.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a9ad7a9e87cc04992d9979b5ef73e129759732c7449880d31ecccc974252d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WMF Framework/ReadingListsSyncOperation.swift: FileTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: ReadingListsSyncOperation (9-1155). The bar is 500 significant lines; this is 258 over it, 1.52\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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c798359177ad7c5ccf1cecf5b93c35eee1d1e78fd98fd223c6f0d7a97001f45f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ColumnarCollectionViewController: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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":"Wikipedia/Code/ColumnarCollectionViewController.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6e91236549d9397ec8c0ad7736d8a01add256d80932693178f287ef17ae567"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PageHistoryViewController: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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":"Wikipedia/Code/PageHistoryViewController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdb49a878a69d0889500380e9dc09a4cebfc77db76e7d7f344cdf5c850bb3da"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommonStrings: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\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":"WMFLocalizations/Sources/WMFNativeLocalizations/CommonStrings.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ddb71f38f5ae7550b49be2c7b0e2149c2eedf8aae95fc07af98bed2686b7a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WMF Framework/Theme.swift: FileTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: Colors (95-841). The bar is 500 significant lines; this is 208 over it, 1.42\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":"WMF Framework/Theme.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bf9137638184fccc44b6471ff17c490b7d8052248662de6103af5b7d050ff5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/EditorViewController.swift: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: EditorViewController (14-726). The bar is 500 significant lines; this is 204 over it, 1.41\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":"Wikipedia/Code/EditorViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d277c0344a0e7f3265f06a681c7d96710aec6ec400ae6292cef5aad213cec09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/DonateCoordinator.swift: FileTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: DonateCoordinator (8-624). The bar is 500 significant lines; this is 192 over it, 1.38\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":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ed0b6232272d200d2eafdf5822edd3df9d364880872de89594cd0dd6c6b9f6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsCoordinator: ClassTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 149 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/SettingsCoordinator.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"049190ac6efb8c8305d03a2cdc61c1384f2ce1c50e4954570d3fea712f70c345"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UIViewController: TooManyMethods \u2014 41 methods, declared across 16 files: Code/UIViewController\u002BExtensions.swift (14), Code/UIViewController\u002BWMFAlerts.swift (5), Code/UIViewController\u002BWMFEmptyView.swift (4), Code/ViewController\u002BURLHandling.swift (4), \u002B12 more file(s). The bar is 30 methods; this is 11 over it, 1.37\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":"Wikipedia/Code/FundraisingAnnouncementPanel.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2e4dec15481c7cba37ab58ad83621079a9c21cc7917ddd1b9e2e16bcae4790"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PageHistoryViewController: ClassTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 143 over it, 1.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":"Wikipedia/Code/PageHistoryViewController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3c768dbcefcb0199456df635ed9c54f03e12caf79a80993d1c96e02e0a5d9f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TalkPageViewController: ClassTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), 98 methods. The bar is 400 significant lines; this is 140 over it, 1.35\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":"Wikipedia/Code/TalkPageViewController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"921c4cd3907d53211cf344035a42a1d0dbc87276aa98c05b4d20dd17dc97699e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UserDefaults: TooManyMethods \u2014 40 methods, declared across 2 files: Code/NSUserDefaults\u002BWMFExtensions.swift (37), Code/NSUserDefaults\u002BWMFApplicationDefaults.swift (3). The bar is 30 methods; this is 10 over it, 1.33\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":"Wikipedia/Code/NSUserDefaults\u002BWMFApplicationDefaults.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5aa853215ba6b762065ff9b1589529942da1ecbe49789d17293d429b355499d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Colors: ClassTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 124 over it, 1.31\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":"WMF Framework/Theme.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e84dc3bf2fff10aca3be748f7fd4316c7b22affe18041c13523f3d6f7320738"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReadingListsSyncOperation.executeSync: MethodTooLong \u2014 executeSync runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78b85268167779d54f65adee2c264e2dade2dfcd4290ccf5d6c4c73a93ffc82"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WMFAccountLoginLogoutFetcher.login: MethodTooLong \u2014 login runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d56f57191e0c94a949ac7ffd1a1e614e2af24a9311979f3ff3fd3d1d5d34bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/NotificationsCenterViewController.swift: FileTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 140 over it, 1.28\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":"Wikipedia/Code/NotificationsCenterViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"488d335b69b7c5a1a2e4653c31844f42ab389d61c72fa70c4ff9ae26f32822c4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WMFActivityTabHostingController: ClassTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 108 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1069ef03974e68cf24f6c07ebd93a239d8f2e3ac61c417b8829882099117dad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DiscoverInstrumentation: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DiscoverInstrumentation.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22ad6d33c9348140e264e566d8bb44644eafafbcf2c195735a8f58e744c9a3a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HomeViewController: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/HomeViewController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ce47599774eb7688f3a00510d0e9c3c217886f8210f75981a6365b1857f6af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImageRecommendationsFunnel: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ImageRecommendationsFunnel.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d53d65155d84bba229a976592254c09ceed220e508d6f887cbd652999981e02"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WMFAccountCreationViewController: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2644c03c137d2c45b1390cfe18e2876c03050e124813cb13c6ac614973fc6f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WMFAppViewController.viewDidLoad: MethodTooLong \u2014 viewDidLoad runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAppViewController.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba5195d200a2afa5980ebc8cce1cf6ae06c3b5ab00300909d4d4acf1be4577e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/PageHistoryViewController.swift: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: PageHistoryViewController (22-828). The bar is 500 significant lines; this is 109 over it, 1.22\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":"Wikipedia/Code/PageHistoryViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac86542fcf240458cf283b92365836c37d9a1b366ca0cf265d37685d09c3b4a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WMFNavigationBarConfiguring.configureNavigationBar: MethodTooLong \u2014 configureNavigationBar runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\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":"WMFComponents/Sources/WMFComponents/Extensions/Navigation Bar/WMFNavigationBarConfiguring.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"92231fff1f75658d34dd214f925ae005f9f31558b23f452bc08ad8b03e498b20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/ActivityTabViewController.swift: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: WMFActivityTabHostingController (10-829). The bar is 500 significant lines; this is 102 over it, 1.20\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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce36a27f11ab2504e0d2d450292bd460475309a7873f75518a1503a9ce58573c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReadingListEntryCollectionViewController: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"Wikipedia/Code/ReadingListEntryCollectionViewController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a479cde94182bc2eba1e23291093cf8be02e57c19fd70fb868d3413b1bb6e46e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TalkPageTopicComposeViewController: TooManyMethods \u2014 36 methods, declared across 2 files: Code/TalkPageTopicComposeViewController.swift (27), Code/TalkPageTopicComposeViewController\u002BTalkPageFormattingToolbar.swift (9). The bar is 30 methods; this is 6 over it, 1.20\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":"Wikipedia/Code/TalkPageTopicComposeViewController.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff5cbb02457c9939482834fe5a1490719d8c61c2455a4f4ace59aff3dd97f00"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WMFLoginViewController: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"Wikipedia/Code/WMFLoginViewController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2861b4cddd069c06d4bc8f0866ba4b89690ceb8c2dca94f0ca059fadb827b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Home/WMFForYouView.swift: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 93 over it, 1.19\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":"WMFComponents/Sources/WMFComponents/Components/Home/WMFForYouView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"342804b57f7bd54178fb2fef32ffd98eababa8eabb1166f1f0fb1c4cbe23c33e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EditorViewController: ClassTooLong \u2014 474 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods. The bar is 400 significant lines; this is 74 over it, 1.19\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":"Wikipedia/Code/EditorViewController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be24ca574130cc7b6dd551a05c581eac4fc6a4f4f2bae43c4882637f04cb23c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PermanentlyPersistableURLCache: 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":"WMF Framework/PermanentlyPersistableURLCache.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b55ff06d8bc8208ca2dfb8af69d328948981c03474155e472af12f69c3ed16"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WMFYearInReviewDataController: 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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"961c2a6822be615e4458dd698f42257bc086d69e8ece35f9115414c6a8115fd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/ReadingListsController.swift: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 81 over it, 1.16\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":"Wikipedia/Code/ReadingListsController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce2270276401f07d3d42ca725a89c211698d13055cb0e8984b3480c91d2f4e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/SettingsCoordinator.swift: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: SettingsCoordinator (13-900). The bar is 500 significant lines; this is 80 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":"Wikipedia/Code/SettingsCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42bb43cf416d887e20b6c50823535dc295899e78ad4a77904b57a7b4f5614e1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EditSaveViewController: ClassTooLong \u2014 463 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 63 over it, 1.16\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":"Wikipedia/Code/EditSaveViewController.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"45aafa4c282e4b88644f555569298866153f90d852527d74e3a83932b965061a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EditSaveViewController: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"Wikipedia/Code/EditSaveViewController.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31cf41db844d3ee401c8f8c259f45afcc39be3e5e946f6605a6b4034f88361a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReadingListsViewController: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"Wikipedia/Code/ReadingListsViewController.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"87649caf518c16c1d20fcab22d4c9fe90d7f7879fd1688e02f0b116558e33132"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WMFSFSymbolIcon: ClassTooLong \u2014 453 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 53 over it, 1.13\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":"WMFComponents/Sources/WMFComponents/Style/WMFIcon.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5fc1d3b65ab880b93ff448effb812a189f3f35dfc84a4cb742a3a240b41846"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Year In Review/WMFYearInReviewDataController.swift: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 66 over it, 1.13\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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d23f1eb6784bd96c6b59e9e73985daddc08c9484816ba82689e8b2714f414cc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WMFDiscoverReadingListDataController: TooManyMethods \u2014 33 methods, declared across 3 files: Discover/WMFDiscoverReadingListDataController.swift (21), Discover/WMFDiscoverReadingListDataController\u002BPersistence.swift (6), Discover/WMFDiscoverReadingListDataController\u002BSeeds.swift (6). The bar is 30 methods; this is 3 over it, 1.10\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":"WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverReadingListDataController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"725e7f4c06a1e8de0ccddec95e014f8695b5c55937adea312ac5f9cbb634a354"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DonateCoordinator: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a14fade2f5408961ce94c2efc0c145e36280870cd4c33d8c5becd3b2d68ba8f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InsertMediaSettingsViewController: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"Wikipedia/Code/InsertMediaSettingsViewController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e530224de3d3579e6634a141ca5c4afd2cade10cb963de6527588381381d7b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReadingListsFunnel: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"Wikipedia/Code/ReadingListsFunnel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9a23a35f57ba4fab26798e3257ec3b79b571764690ee4872b9b0abeabf6c24"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/Session.swift: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: Session (27-694). The bar is 500 significant lines; this is 49 over it, 1.10\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":"Wikipedia/Code/Session.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fee1a3d7d8f72851266ce8d23d4ca898b27a2d02c6d0ad3e930804186a796f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HtmlUtils: ClassTooLong \u2014 431 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 31 over it, 1.08\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":"WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d61ca30222f220abeb684880dcc627ce871418e6d42e9a46495b2c4e134a584"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/YearInReviewCoordinator.swift: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: YearInReviewCoordinator (12-652). The bar is 500 significant lines; this is 37 over it, 1.07\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":"Wikipedia/Code/YearInReviewCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e22b402960b16768b21b7d40df68caa365f163dd05da6b8ce03cc250ab72895"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailTransition.animateTransition: MethodTooLong \u2014 animateTransition runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"Wikipedia/Code/DetailTransition.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac8cf03afe01f60b2273eb3eaa6b56a15773d07f4acc240fdfb1af190913a20"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WMFReadingListsController: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ReadingListsController.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82ebebca7b3010349f5e9c85fa09fc4a0b0fbdcfaaf5a2facc694eb8d56be66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ArticlePlaceView.setup: MethodTooLong \u2014 setup runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"Wikipedia/Code/ArticlePlaceView.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49d21ac140e559195b23e6ee22e4ec2820b415fcc48a5290850bd55e50c7ce2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Home/WMFHomeDataController.swift: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 26 over it, 1.05\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":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85734b6149da3f09af2e5c12b160d022c0cc47fa0c44a64dcaacbe6aabc7142"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/ExploreCardViewController.swift: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: ExploreCardViewController (24-567). The bar is 500 significant lines; this is 20 over it, 1.04\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":"Wikipedia/Code/ExploreCardViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c8c8e5f827eb832d7a0ee07330e87b27d53bec87c34443d431a25636857069"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ArticleCacheDBWriter.syncResources: MethodTooLong \u2014 syncResources runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\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":"WMF Framework/ArticleCacheDBWriter\u002BSyncResources.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8158cf1221024e419ed362aa52875dc96406d3624dfc5e0f9c026adc99e5ec17"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DonateCoordinator: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 15 over it, 1.04\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":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa1e8952bc8e76d8e32f9bbe1acaf04c05fc45b91317073a66a689891f8e2b6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WMFAccountCreationViewController: ClassTooLong \u2014 414 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 14 over it, 1.04\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":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f90dd5d23de7c2762b19c4150192ce9cb78b721500b8cf86b86e36e966bfdb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HtmlUtils: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f30e084379678767f81fd1d4a400756c1fa79f9a3b691c8e1f5071296b61078"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SearchViewController: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/SearchViewController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"af24e9c5f6acaea62aaae16ee2344b996d77c49b760a5b745991e81da99de355"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Session: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/Session.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9519afc06fdf232d40b8d9f8b25be5b6dff70dfb89f5e9bc68dfdb99331039"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppOnboardingCoordinator.start: MethodTooLong \u2014 start 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":"Wikipedia/Code/AppOnboardingCoordinator.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cc14969803c90ded2c6607962b45c0c6d51a99eaa0ab09e769ba927b70f204"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Event Platform/EventPlatformClient.swift: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10 over it, 1.02\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":"WMF Framework/Event Platform/EventPlatformClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3affc7fc26072702ff8273d7182d8953931ea251709ff9f97b69ebd2bbc9b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Style/WMFIcon.swift: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: WMFSFSymbolIcon (57-523). The bar is 500 significant lines; this is 10 over it, 1.02\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":"WMFComponents/Sources/WMFComponents/Style/WMFIcon.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cee214b0861c26f1f05040d6722a6aa6c275d8d349a9b8e9f60b4317207da6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NotificationsCenterCell.setup: MethodTooLong \u2014 setup 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":"Wikipedia/Code/NotificationsCenterCell.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9ae73bacd4649d5165de0607cfcf035c092bad26e97764b2fe440656586023"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Article Tabs/WMFArticleTabsDataController.swift: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 over it, 1.01\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":"WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1d52152e284cb843cc4b9b59cd3b659379ae57455c4452b7a73a63daa69744"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WMFActivityTabView: ClassTooLong \u2014 402 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 2 over it, 1.01\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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"19419c15310f1ff66f03a9a0c630cbcb4e215508fe7be5deff7b3a409681d4e0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CollectionViewEditController: ClassTooLong \u2014 401 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 1 over it, 1.00\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":"WMF Framework/CollectionViewEditController.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3275653cc36adb1f35854e030d2651dbb56af128574a88ff960275ed11d0ddc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Wikipedia/Code/TalkPageTopicComposeViewController\u002BTalkPageFormattingToolbar.swift:16-41 | Wikipedia/Code/TalkPageViewController\u002BTalkPageFormattingToolbar.swift:19-45 \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":"Wikipedia/Code/TalkPageTopicComposeViewController\u002BTalkPageFormattingToolbar.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb8c08e285dd820bf1c603e448b6c0b47361b0696da6e4a7d7f83bf0e068517"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift:16-47 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/Community/WMFHomeFeedCommunitySettingsView.swift:14-39 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/WMFHomeFeedForYouSettingsView.swift:14-36 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/WMFHomeFeedWhatsDrivingSettingsView.swift:14-44 | WMFComponents/Sources/WMFComponents/Components/Settings/Push Notifications/WMFPushNotificationsSettingsView.swift:16-52 | WMFComponents/Sources/WMFComponents/Components/Settings/Search/WMFSearchSettingsView.swift:16-47 | WMFComponents/Sources/WMFComponents/Components/Settings/Storage and Syncing/WMFStorageAndSyncingSettingsView.swift:16-47 | WMFComponents/Sources/WMFComponents/Components/Settings/Year In Review/WMFYearInReviewSettingsView.swift:16-57 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1568d2b4664adf538c3d336fb62e59b8bcd1708f5df3c2144743ebc24b6962"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): WMFComponents/Sources/WMFComponents/Components/Analytics Inspector/WMFAnalyticsInspectorViewController.swift:43-47 | WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsViewController.swift:41-45 | WMFComponents/Sources/WMFComponents/Components/Editors/Choose Editor/WMFChooseEditorHostingController.swift:22-26 | WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstViewController.swift:64-96 | WMFComponents/Sources/WMFComponents/Components/Search/Semantic Search Info/WMFSemanticSearchInfoHostingController.swift:31-45 | Wikipedia/Code/TalkPageTopicComposeViewController.swift:211-217 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Analytics Inspector/WMFAnalyticsInspectorViewController.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56e01c36f3acf3d054faada5fd38553fb0f9aea375ece0291fe4d722c4737aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:63-94 | WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:96-120 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFCategoriesDataController.swift:22-60 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift:26-71 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift:285-307 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:261-282 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5b1c9304d82792e62030f3c12dacbf790ecbdf412ca1472c7081b1a79de740"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Wikipedia/Code/ActivityTabFunnel.swift:62-78 | Wikipedia/Code/ArticleTabsFunnel.swift:65-81 | Wikipedia/Code/DonateFunnel.swift:115-133 | Wikipedia/Code/EditInteractionFunnel.swift:78-96 | Wikipedia/Code/ImageRecommendationsFunnel.swift:83-101 \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":"Wikipedia/Code/ActivityTabFunnel.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"386851d60a1402f2780649c92f72d11ac56b813c46e0399a02dfba1a9cb3000b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:327-364 | WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:368-405 | WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:409-448 | WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:452-505 \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":"WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"63eda99d57cc953759c14bbd88709795cb14fc6275a9b956f4c122835fd241ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Wikipedia/Code/ActivityTabViewController.swift:40-122 | Wikipedia/Code/ExploreViewController.swift:122-153 | Wikipedia/Code/PlacesViewController.swift:121-211 | Wikipedia/Code/SearchViewController.swift:375-394 \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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1728572be3b75b844ebb1ad19028086bde18ef8dde504b20e467de2b9a4414"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Wikipedia/Code/ActivityTabViewController.swift:578-599 | Wikipedia/Code/ExploreViewController.swift:1681-1699 | Wikipedia/Code/HelpViewController.swift:128-145 | Wikipedia/Code/YearInReviewCoordinator.swift:545-567 \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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e81e32a38ecd5f85e3d01387fa35a955821dd8a3342abbf329ee05c98f9692"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Wikipedia/Code/ArticleLocationCollectionViewController.swift:217-231 | Wikipedia/Code/ColumnarCollectionViewController.swift:506-520 | Wikipedia/Code/NewsViewController.swift:259-273 | Wikipedia/Code/OnThisDayViewController.swift:262-276 \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":"Wikipedia/Code/ArticleLocationCollectionViewController.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3479e29485b7cf8187459c0585e68b2603e6b1e2bbf529e4d81aa2f066c721c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Wikipedia/Code/TalkPageCellCommentView.swift:205-216 | Wikipedia/Code/TalkPageCellTopicView.swift:484-495 | Wikipedia/Code/TalkPageCoffeeRollView.swift:113-124 | Wikipedia/Code/TalkPageReplyComposeContentView.swift:428-439 \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":"Wikipedia/Code/TalkPageCellCommentView.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f3479c2c69fe6b75d1ef4fc00eb19700da3ada81391095facf45e134c3bdc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Wikipedia/Code/WMFAuthAccountCreationInfoFetcher.swift:22-49 | Wikipedia/Code/WMFAuthLoginInfoFetcher.swift:22-50 | Wikipedia/Code/WMFCaptchaResetter.swift:21-44 | Wikipedia/Code/WMFCurrentUserFetcher.swift:68-110 \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":"Wikipedia/Code/WMFAuthAccountCreationInfoFetcher.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cd6e08523ba37f9c28fcc567ed8be0a1f8c3827c20ad4ccf13bd35b8312036"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): Wikipedia/Code/ArticlePlaceView.swift:191-274 | Wikipedia/Code/ArticlePlaceView.swift:408-501 \u2014 These two members are one piece of code written twice and then edited apart: 84 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":"Wikipedia/Code/ArticlePlaceView.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f5e65c7f81fbb3fbfaeac2e1f51c1e33cf8679241b470e399c41f6d0bce6dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): Wikipedia/Code/TalkPageViewController.swift:1136-1217 | Wikipedia/Code/TalkPageViewController.swift:1231-1304 \u2014 These two members are one piece of code written twice and then edited apart: 74 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":"Wikipedia/Code/TalkPageViewController.swift"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4309f3566ecf590b02b4f088dd4866e6456177438690bb76728f77b33be81545"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift:54-85 | WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift:87-114 \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":"WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b565fe945cdc24287b2ab937a5b6848162aa8a0c1cb492e8c4e611f24d692d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): Wikipedia/Code/DescriptionEditViewController.swift:137-191 | Wikipedia/Code/EditSaveViewController.swift:248-328 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"Wikipedia/Code/DescriptionEditViewController.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdd4b6ff5b571db06ad331c5d110c41239e8fc1eee931ff4a0fd9227aa11b97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): Wikipedia/Code/TempAccountSheetCoordinator.swift:63-120 | Wikipedia/Code/TempAccountSheetCoordinator.swift:130-186 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"Wikipedia/Code/TempAccountSheetCoordinator.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d8d5e79ddd51dbb1fab50ef4e441ae0ee756627b40ec8e48d8c94ca220defa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): Wikipedia/Code/ArticleViewController.swift:591-643 | Wikipedia/Code/ExploreViewController.swift:1140-1194 \u2014 These two members are one piece of code written twice and then edited apart: 53 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":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"07207ea3a110ee169b08b51752af455dd2c26a36049268539d97f9e2148f67f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Wikipedia/Code/Session.swift:493-527 | Wikipedia/Code/Session.swift:544-572 \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":"Wikipedia/Code/Session.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"06be939db360fcf3fa7703263223b92e555582a4c0093e5ca9bb1c78f10d5b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Wikipedia/Code/ActivityTabViewController.swift:892-924 | Wikipedia/Code/TabsOverviewCoordinator.swift:36-69 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27fc88d1f5db671a999bd542f4c8364bd9c2e8d37832b6ad9dc0736d631b29b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift:334-368 | WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift:370-419 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a490c0b635fe4245ab40cb4776427143ade4274b019715de96a159181b870ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): WMF Framework/MWKDataStore\u002BLanguageVariantMigration.swift:110-159 | WMF Framework/MWKDataStore\u002BLanguageVariantMigration.swift:161-209 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"WMF Framework/MWKDataStore\u002BLanguageVariantMigration.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4e6c7ec916742c6a52998b37eea1be1289d8a5fca667d2ee7d2c917b584e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): Wikipedia/Code/TableOfContentsAnimator.swift:229-272 | Wikipedia/Code/TableOfContentsAnimator.swift:274-319 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"Wikipedia/Code/TableOfContentsAnimator.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32fe5ebfae5d3807434c36f61382e3cfbebd2bf5cf377a2ce64fd0b500d9f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Wikipedia/Code/HomeFeedSettingsCoordinator.swift:83-107 | Wikipedia/Code/HomeFeedSettingsCoordinator.swift:165-194 \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":"Wikipedia/Code/HomeFeedSettingsCoordinator.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85f13b5ff6dc332d80bac38112b40073d5269d79fa9f6f327c5b8d63147a0b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): Wikipedia/Code/ArticleViewController\u002BEditing.swift:372-426 | Wikipedia/Code/TalkPageViewController.swift:738-779 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"Wikipedia/Code/ArticleViewController\u002BEditing.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"554862406fe466f5935e6241174582d5a717097c5ad4f59ae8154c96b4cb8748"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:871-909 | Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:985-1017 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"Wikipedia/Code/YearInReviewSlideViewModelFactory.swift"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2151a88b8f95a1f177c23467cf22818b13b693ac4a47d0cad93a3988b12e9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): WMF Framework/Fetcher.swift:296-332 | WMF Framework/Fetcher.swift:334-374 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"WMF Framework/Fetcher.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"a019977e1daf2d897b44bffa17b79201255a3bdd0de3236166d20d84839901a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift:81-114 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLongestReadSlideDataController.swift:92-121 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c85a41b3e3ace7e3c3128e37a8a195ec8e95926f06891bfaa25a985039765d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Wikipedia/Code/ArticleCollectionViewController.swift:216-243 | Wikipedia/Code/ExploreCardViewController.swift:606-634 \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":"Wikipedia/Code/ArticleCollectionViewController.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff4ba16b72c0acc8f32a4662b6c973274ef8d29c3ff1a83a24d540432e15248"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Reading Challenge Widget/WMFRandomWidgetView.swift:72-102 | WMFComponents/Sources/WMFComponents/Components/Reading Challenge Widget/WMFRandomWidgetView.swift:106-143 \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":"WMFComponents/Sources/WMFComponents/Components/Reading Challenge Widget/WMFRandomWidgetView.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"41732b3b586fdaa6500369cd48d8d4ddffab3a29b08e15364b272397d95837b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterViewModel.swift:92-115 | WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterViewModel.swift:279-298 \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":"WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterViewModel.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"14453b265f95857117104e0311ff2b1cb91fdb5ef3e79b0a87586e4fb3b3a5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Wikipedia/Code/DescriptionWelcomePageViewController.swift:101-117 | Wikipedia/Code/DescriptionWelcomePageViewController.swift:119-135 \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":"Wikipedia/Code/DescriptionWelcomePageViewController.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8085dca62016a6005de4b9afb76846cea3d5229e5ae4d2ceaff339d8bdc9da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Wikipedia/Code/Controllers/ShortDescriptionController.swift:153-188 | Wikipedia/Code/Controllers/ShortDescriptionController.swift:190-233 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/Controllers/ShortDescriptionController.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5512f7c64e819e38da37b2ef7aeea3601514f14933d62945397a317d30a1a751"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/ArticleViewsViewModel.swift:24-70 | WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/RecentActivityViewModel.swift:26-67 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/ArticleViewsViewModel.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"079bbc867040971b92c5f2317dcbd8b712cdc8baa9efa1eb867fd5225893ed70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Shared/WMFImageDataController.swift:70-108 | WMFData/Sources/WMFData/Data Controllers/Temp Accounts/WMFTempAccountDataController.swift:78-107 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFImageDataController.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ef1cc1d3957f5a830255d9e9b1a4fbee98c0acd192e4b4968d4b99273fa0d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Wikipedia/Code/TalkPageFetcher.swift:109-146 | Wikipedia/Code/TalkPageFetcher.swift:153-187 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"Wikipedia/Code/TalkPageFetcher.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0dd651b40cee1c3a5d45fa1793b6723c95d363cda3b88b1f43c83da32618c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Games/WMFGamesDataController.swift:327-361 | WMFData/Sources/WMFData/Data Controllers/Games/WMFGamesDataController.swift:514-535 \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":"WMFData/Sources/WMFData/Data Controllers/Games/WMFGamesDataController.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83cc88e7ec05df171f3922ffe1db12c61b34d0d20cd051ca70e529c6978e0a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift:108-146 | WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift:148-191 \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":"WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"066b485dfad71962f8040928be2db1e61ae1b195634e23f706bda9a334fdccde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): Wikipedia/Code/DiscoverReadingListCoordinator.swift:84-111 | Wikipedia/Code/SavedAllArticlesCoordinator.swift:150-189 | Wikipedia/Code/WhichCameFirstCoordinator.swift:354-383 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"Wikipedia/Code/DiscoverReadingListCoordinator.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb88e980fe769d3465dd04353e68b9ec76e7285ca80688fc29fc83a6bc41f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Donate Form/WMFDonateViewModel.swift:42-88 | WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterViewModel.swift:38-66 \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":"WMFComponents/Sources/WMFComponents/Components/Donate Form/WMFDonateViewModel.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"358059435c15d01f7ed22a43fa6fe947270332369d4ddbbc38c630520cade8b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): Wikipedia/Code/EchoSubscriptionFetcher.swift:6-49 | Wikipedia/Code/EchoSubscriptionFetcher.swift:51-92 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"Wikipedia/Code/EchoSubscriptionFetcher.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd5443a53e78663d99919c214eb89e4ab502e7a174b668e5596acde7fb74feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift:157-180 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLongestReadSlideDataController.swift:155-177 \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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"24758147686433fcdf18ca43f35d394ad9513d70e62e64fca0a5dc67111d13fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Command Line Tools/Update Localizations/localization.swift:215-237 | Command Line Tools/Update Localizations/localization.swift:239-254 \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":"Command Line Tools/Update Localizations/localization.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"350f7814b3a4933ffaf2721a5246d630beb65ea35faf2dd1d7e367b7edba1956"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Wikipedia/Code/ExploreViewController.swift:747-765 | Wikipedia/Code/PageHistoryViewController.swift:614-630 \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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eed2716cae27af531ae3fb47cea76a804288fa4559bb8833ad3dd1289a40568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewModel.swift:459-472 | WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewModel.swift:474-488 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewModel.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed3593f4fa1f444ff569cebe3291afa4dde0a3704faaa55d54fc62a71cecc13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift:408-442 | WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift:444-478 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abdd5907e91e74151b6a1538aeae63dfaf737445e54f37a610c9b1c839635a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:528-548 | WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:550-570 \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":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"921e74cd55109c118d014f1a6824c315270f6726c5edf52ed16a6192a194d852"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): WMF Framework/WMFFeedArticlePreview.swift:144-158 | WMF Framework/WMFFeedImage.swift:144-156 \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":"WMF Framework/WMFFeedArticlePreview.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3c1634e7465703c1a4a562a8c7c8898c9825637757201b9ab3348aabe5ff4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): WMFComponents/Sources/WMFComponents/Components/App Onboarding/WMFAppOnboardingStepViews.swift:83-108 | WMFComponents/Sources/WMFComponents/Components/App Onboarding/WMFAppOnboardingStepViews.swift:266-293 \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":"WMFComponents/Sources/WMFComponents/Components/App Onboarding/WMFAppOnboardingStepViews.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5313ee9eee33301b4b56d37da0f3c3bfdc9ea68f64dc07ecf3ba94b08105c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:491-516 | Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:542-567 | Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:762-781 | Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:1291-1316 \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":"Wikipedia/Code/YearInReviewSlideViewModelFactory.swift"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3376c0b41a283d846006d3673462cc1891b693266b3fa79d1407d66e85cdab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): WMF Framework/CacheController.swift:149-170 | WMF Framework/ImageCacheController.swift:11-33 \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":"WMF Framework/CacheController.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"177bb8b9aedca98a526d1fab196c3c6678e19c2fd554dd327c37e59164ff8a00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Wikipedia/Code/TalkPageFetcher.swift:189-209 | Wikipedia/Code/TalkPageFetcher.swift:211-230 \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":"Wikipedia/Code/TalkPageFetcher.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5f040dfad83d6faefca0e2cd04accf3fc7f7eeef2ace23f127a0e56b507b5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): WMF Framework/ArticleCacheResourceDBWriting.swift:27-52 | WMF Framework/ArticleCacheResourceDBWriting.swift:54-79 \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":"WMF Framework/ArticleCacheResourceDBWriting.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb63fe9cd53731a045ad9a1146fd9452702b84a1cc125f65b230745d90a3f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFFundraisingCampaignDataController.swift:582-620 | WMFData/Sources/WMFData/Models/Donor Experience/WMFDonateConfigResponse.swift:8-50 \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":"WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFFundraisingCampaignDataController.swift"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"7234e8d85deae220f461e998959b3e29f95495e5019c5ba3719ebcfaa1c9e3b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): WMF Framework/ArticleSummary.swift:73-90 | WMFComponents/Sources/WMFComponents/Components/Reading Challenge Widget/WMFRandomWidgetViewModel.swift:37-71 \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":"WMF Framework/ArticleSummary.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c19b663c2a3ac8e4300c7c7fe9380bf028eff260173b6f55c49938dfa34f324"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): WMF Framework/ReadingListsAPIController.swift:474-494 | WMF Framework/ReadingListsAPIController.swift:496-515 \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":"WMF Framework/ReadingListsAPIController.swift"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c799cbb5a9b052d234f0d69edd26c7386bf4837f8a30e2b7302067babfd46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Page History/WMFPageHistoryDataController.swift:241-265 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift:236-267 \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":"WMFData/Sources/WMFData/Data Controllers/Page History/WMFPageHistoryDataController.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"af65d09e249b5df395088a443d5e36647d88fbb2bc694c34d45e19f1de48666e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift:257-296 | WMF Framework/Remote Notifications/Model/RemoteNotificationType.swift:85-130 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4077f55b134fdd8aa4052b45900fc6b9f6af2de092b7d7efc2a8f37ac710ea05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): Wikipedia/Code/AnnouncementCollectionViewCell.swift:108-122 | Wikipedia/Code/AnnouncementCollectionViewCell.swift:134-147 | Wikipedia/Code/ScrollableEducationPanelViewController.swift:254-272 | Wikipedia/Code/ScrollableEducationPanelViewController.swift:281-299 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/AnnouncementCollectionViewCell.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef379e20ee5d7c5a7991a134226d126578db4d63dac94e0942321c77c8981487"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): WMF Framework/ImageCacheDBWriter.swift:44-68 | Wikipedia/Code/ArticleCacheDBWriter.swift:139-170 \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":"WMF Framework/ImageCacheDBWriter.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7154cafdd5c47d36682b32df9c57a40b25e956138706f18836660e5996fa34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Wikipedia/Code/UIViewController\u002BExtensions.swift:45-61 | Wikipedia/Code/UIViewController\u002BExtensions.swift:64-79 \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":"Wikipedia/Code/UIViewController\u002BExtensions.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b323a93afcc953dfff4a2fe6cf486f6e602d0e9384afedb9a854dcdd1cc07ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): WMF Framework/Collection\u002BAsyncMap.swift:29-45 | WMF Framework/Collection\u002BAsyncMap.swift:47-67 \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":"WMF Framework/Collection\u002BAsyncMap.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f24110f5d3259cd8e1fc0932f2ae629e0191a0cb8e98cb8c93e3873aa58f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:16-37 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift:106-125 \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":"WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e14ea141b0bd9c892fcc741961da7179f11bdbb8cdcdd4605b741b1897f88f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/WMFPriceButton.swift:28-53 | WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/WMFSelectablePillButton.swift:19-35 \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":"WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/WMFPriceButton.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7722ed6f121cb95fa6a1ccd89aba2b894980bef493e5f6737490870fe1126be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): WMF Framework/Remote Notifications/Model/RemoteNotificationsModelController.swift:221-255 | WMF Framework/Remote Notifications/Model/RemoteNotificationsModelController.swift:257-283 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"WMF Framework/Remote Notifications/Model/RemoteNotificationsModelController.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6520efd515a5c528286f65c63e9e10e4502cc95bb99672edef2c74bb236efb9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatterList\u002BButtonActions.swift:11-36 | WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatterList\u002BButtonActions.swift:38-64 \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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatterList\u002BButtonActions.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce64952afccc382162e62eb40162d3e32d853f8505347ab79448d24eb606151"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): WMF Framework/Fetcher.swift:105-116 | WMF Framework/Fetcher.swift:118-129 \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":"WMF Framework/Fetcher.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"112cdf5ebb55ec7b5ee957042fa294ca8a41adbfd3ec932ec177de521c56742b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): WMF Framework/WMFFeedContentFetcher.swift:40-59 | WMF Framework/WMFOnThisDayEventsFetcher.swift:31-52 \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":"WMF Framework/WMFFeedContentFetcher.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cf51ff3d7b90b946993d06ca7ba8948d75280448cdd63ec7a42948829c3766"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Article Tabs/WMFArticleTabsViewModel.swift:126-143 | WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstViewModel.swift:34-68 \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":"WMFComponents/Sources/WMFComponents/Components/Article Tabs/WMFArticleTabsViewModel.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ad1a8a9551d74ae5fcefe647260cba85f533868d812c5942acb2b771055fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Wikipedia/Code/WMFAccountCreationViewController.swift:209-236 | Wikipedia/Code/WMFLoginViewController.swift:467-488 \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":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5684eb53b328e0e897890fd8b239f4c7f035e04588f854c242f0583b636e7cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatterLink\u002BButtonActions.swift:79-95 | Wikipedia/Code/TalkPageViewController\u002BTalkPageFormattingToolbar.swift:79-93 \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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatterLink\u002BButtonActions.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3114a92e6896189784c00578be38f01495d54f4a70dcacb69a67d620b6ca32ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift:290-320 | WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift:322-351 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc395359036c1fec203c191f52d021cc11238ad0490226449f3e45adacfc24b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/Home/Main/WMFHomeFeedSettingsView.swift:14-38 | WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsView.swift:95-127 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/Main/WMFHomeFeedSettingsView.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"061f24d7d0d030d5aadf4ef8f369a5a092a007ee825ceefbab4b98d13f081a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Wikipedia/Code/DiffController.swift:225-241 | Wikipedia/Code/DiffController.swift:243-290 \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":"Wikipedia/Code/DiffController.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b7d87faabc705a9fefdfb11296d29439b1289e54f495cb9b4d4594ecd00332"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Wikipedia/Code/DiffHeaderSummaryView.swift:32-50 | Wikipedia/Code/DiffHeaderTitleView.swift:46-72 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DiffHeaderSummaryView.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b01149030239e47c787b7e7842efe6bf7e473c8dfb27023a4965f97480937a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewAnnouncementHostingController.swift:79-96 | WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewHostingController.swift:313-329 \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":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewAnnouncementHostingController.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2542ca968535a35f273fe272b0ddb5f7c1febbb0a1e23898368c2e3a62d942"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Wikipedia/Code/DiffContainerViewController.swift:727-754 | Wikipedia/Code/DiffContainerViewController.swift:770-798 \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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"be89081dca40cae812d98ad4e3d794f6f365b14e12c84c132df6ae442ec440c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift:51-80 | WMFComponents/Sources/WMFComponents/Components/Settings/Push Notifications/WMFPushNotificationsSettingsView.swift:56-79 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9017c0228729df73e0e82f71083e811771109fbc835a452e0563aa56b55f2606"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Widgets/Widgets/FeaturedArticleWidget.swift:296-313 | Widgets/Widgets/PictureOfTheDayWidget.swift:261-286 \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":"Widgets/Widgets/FeaturedArticleWidget.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a93e8c31ca1c6647365e99e9d2f1e33fdb5f93fe2e3e58fdf33d1c3cb3bf937"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Page History/WMFPageHistoryDataController.swift:63-76 | WMFTestKitchen/Sources/WMFTestKitchen/Context/PerformerData.swift:52-67 \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":"WMFData/Sources/WMFData/Data Controllers/Page History/WMFPageHistoryDataController.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b686afa0c9146bce9f309a68a59b1908fc198882a87c3910741c098d91d153df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Wikipedia/Code/EditorViewController.swift:445-468 | Wikipedia/Code/EditorViewController.swift:470-494 \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":"Wikipedia/Code/EditorViewController.swift"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb47b22a119b64dae9fc3c5279c25912bd7949716099971d0dd0c355b851579"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): WMFData/Sources/WMFData/Service/WMFBasicService.swift:230-252 | WMFData/Sources/WMFData/Service/WMFBasicService.swift:271-291 | WMFData/Sources/WMFData/Service/WMFBasicService.swift:293-315 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Service/WMFBasicService.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"be79c342153a31b3e7fe48b0755b25962b1625b5ccb2540f0bb447587786b8ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Wikipedia/Code/EditorViewController.swift:701-725 | Wikipedia/Code/EditorViewController.swift:1097-1128 \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":"Wikipedia/Code/EditorViewController.swift"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"88095e94a703fe6de2f349b91d5a473bd5b5c856bcb05fdfbf5776bd56392670"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): WMFComponents/Sources/WMFComponents/Base/WMFCanvasViewController.swift:24-35 | WMFComponents/Sources/WMFComponents/Base/WMFCanvasViewController.swift:37-48 \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":"WMFComponents/Sources/WMFComponents/Base/WMFCanvasViewController.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a15c2dbd5f5ff469c6d221bbdc81b2c64823403b91422bc43412b0e064fe13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Wikipedia/Code/WMFAccountCreationViewController.swift:254-278 | Wikipedia/Code/WMFLoginViewController.swift:490-517 \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":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dabe00e9cb81d2f2411280a5f0a9891ac5b9cbffb400e124a2f07db51e3cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): WMF Framework/ThemeableTextField.swift:66-89 | Wikipedia/Code/ThemeableTextView.swift:197-216 \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":"WMF Framework/ThemeableTextField.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"59635fffe2270df4fc57990005fb10a619b9f3cf4bc3901afefcd8b95334a663"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Wikipedia/Code/ReadingListsAlertController.swift:61-74 | Wikipedia/Code/ReadingListsAlertController.swift:76-89 \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":"Wikipedia/Code/ReadingListsAlertController.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8713548dfb6c0514e7f9716af5854244be98a9f70d44ecc17e9bc838c3d22148"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Wikipedia/Code/ColumnarCollectionViewController.swift:330-349 | Wikipedia/Code/ColumnarCollectionViewController.swift:351-363 \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":"Wikipedia/Code/ColumnarCollectionViewController.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42a4c6209eb6ca621c3647923dc77d36d0e05810793d29aaece33b2c1def094"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift:193-219 | WMF Framework/Remote Notifications/Model/RemoteNotificationType.swift:39-66 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fadb9961d3fe7af8a0155a38309f89e4584dbbc1f7edb8858cf5dcdc260b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Wikipedia/Code/ShareActivityController.swift:177-193 | Wikipedia/Code/ShareActivityController.swift:195-210 \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":"Wikipedia/Code/ShareActivityController.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee985d85b4ba35f053c56a61c593436c1119045caeac2ba1602912e5484e8c8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Wikipedia/Code/WMFAppViewController\u002BExtensions.swift:143-159 | Wikipedia/Code/WMFAppViewController\u002BExtensions.swift:161-177 \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":"Wikipedia/Code/WMFAppViewController\u002BExtensions.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"861f4f045ea76cf5a51799b7d7c2b3c63257546b319c2b94c6a0f46f22021825"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Wikipedia/Code/ArticleFetcher.swift:173-184 | Wikipedia/Code/ArticleFetcher.swift:242-252 \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":"Wikipedia/Code/ArticleFetcher.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c762f099b4e75a32a957f1091b8f4494c83802796c35f11a29def922a47af7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Wikipedia/Code/EditSaveViewController.swift:122-137 | Wikipedia/Code/TalkPageReplyComposeContentView.swift:372-386 \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":"Wikipedia/Code/EditSaveViewController.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffa03983652c48ae5a801639d9809631b0d0597c879b12258af1119b2ce3458"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Wikipedia/Code/WMFLoginViewController.swift:373-391 | Wikipedia/Code/WMFLoginViewController.swift:393-415 \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":"Wikipedia/Code/WMFLoginViewController.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95102fc451192a1e00680e4ce91cdf11e01cfbfa6cdc3743565ff449dd5b1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewModel.swift:25-40 | WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewModel.swift:65-79 \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":"WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewModel.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a05ed4f4cf31e00380facf237347c0a2df5c0d46b3be989993b8a5bb23aca24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatterLink\u002BButtonActions.swift:51-69 | Wikipedia/Code/UITextView\u002BFormattingToolbarExtension.swift:5-20 \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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatterLink\u002BButtonActions.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cfa0faa5a724452e523d707be3a90ff0f214802b1557eb24fff5f200ca6564"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/Home/Community/WMFHomeFeedCommunitySettingsViewModel.swift:102-126 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/WMFHomeFeedForYouSettingsViewModel.swift:79-99 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/Community/WMFHomeFeedCommunitySettingsViewModel.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0355fb53d31c8cdd38dccb31795b74c14b010b7e688d47c6e16f340ddcbc5af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): WMF Framework/CacheDBWriting.swift:77-95 | WMF Framework/CacheDBWriting.swift:97-115 \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":"WMF Framework/CacheDBWriting.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"216c7ab7cbd1e1f516b5f104dd1e4ac8b1219e6a1c310fe2bba1d8899c0e9996"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Widgets/Widgets/OnThisDayWidget.swift:42-56 | Widgets/Widgets/PictureOfTheDayWidget.swift:147-164 \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":"Widgets/Widgets/OnThisDayWidget.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45220fe19eae14fbac031a94f7c7e0ed2859413d21c09639f892e3caa101dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Wikipedia/Code/DiffContainerViewController.swift:339-360 | Wikipedia/Code/DiffContainerViewController.swift:362-393 \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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1cd8e759aa63fc3300af0266f462a3e2e6b24c0ca2d1852fffa8ec7f9bdc2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Wikipedia/Code/TalkPageCellCommentViewModel.swift:32-36 | Wikipedia/Code/TalkPageCellViewModel.swift:71-81 | Wikipedia/Code/TalkPageCellViewModel.swift:83-91 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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":"Wikipedia/Code/TalkPageCellCommentViewModel.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cce6439a312037930640c013b8a16cd7f70437b0e29bf27ca21b205db4979e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/TalkPageCoffeeRollView.swift:80-88 | Wikipedia/Code/TalkPageHeaderView.swift:362-376 \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":"Wikipedia/Code/TalkPageCoffeeRollView.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebc570210fa32d1f9ba8eb6665cb6f9a363e7d25ce50eafc8fcc6b7a4b82536"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFImpactViews.swift:402-420 | WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFTimelineView.swift:165-185 \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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFImpactViews.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a83d66cf45465ba25c69a728b34d35446fbc1bd52830b87535168548839c99a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Wikipedia/Code/ReadingListsCoordinator.swift:141-163 | Wikipedia/Code/ReadingListsViewController.swift:264-283 \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":"Wikipedia/Code/ReadingListsCoordinator.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9092ca8b8f8916f1dd90fd9d46496d7a388d6cfb96195090fdc10fdd8aec24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Wikipedia/Code/Session.swift:659-673 | Wikipedia/Code/Session.swift:683-693 \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":"Wikipedia/Code/Session.swift"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"84eefabcb004e1efec8a96b59a1e04971ffbb5ae9b22ba7212c3848e5e98c17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): WMF Framework/WMFBlocksKit.swift:31-47 | WMF Framework/WMFBlocksKit.swift:83-99 \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":"WMF Framework/WMFBlocksKit.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe8040a5f805226fda239cad7a9fcd405a0f5697334f3367898425ff0ae29bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Home/WMFForYouEndOfFeedCardView.swift:162-175 | WMFComponents/Sources/WMFComponents/Components/Home/WMFForYouView.swift:479-494 \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":"WMFComponents/Sources/WMFComponents/Components/Home/WMFForYouEndOfFeedCardView.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd7e84c5dc98754a3a0a839fd4c2c0cbd267c0ce4d21fe96e2b521f7c15c10a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Wikipedia/Code/SavedAllArticlesCoordinator.swift:230-244 | Wikipedia/Code/ViewController\u002BArticleErrorHandling.swift:5-20 \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":"Wikipedia/Code/SavedAllArticlesCoordinator.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0780ef11ca9bb9bf39c06e17864754084fb558c1cd86e4213ed1f73ca07e734"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Wikipedia/Code/DiffListContextViewModel.swift:204-217 | Wikipedia/Code/DiffListUneditedViewModel.swift:58-70 \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":"Wikipedia/Code/DiffListContextViewModel.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68b2e981a20addedad463349e3a9ce7d827127c64ab653713dd155385fef48c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): WMF Framework/Widget/WidgetController.swift:36-50 | WMF Framework/Widget/WidgetController.swift:52-66 \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":"WMF Framework/Widget/WidgetController.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2603459966b23f228425969398ae9bc1b29a741ad504e7a36b57b2f3dfa9f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): WMFTestKitchen/Sources/WMFTestKitchen/Context/AgentData.swift:15-37 | WMFTestKitchen/Sources/WMFTestKitchen/Context/InteractionData.swift:14-34 \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":"WMFTestKitchen/Sources/WMFTestKitchen/Context/AgentData.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeb795e181d1431761858570a16ff79979e571e94adff36d8532616c7f6b07d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): WMF Framework/Remote Notifications/Operations/RemoteNotificationsMarkAllAsReadOperation.swift:5-37 | WMF Framework/Remote Notifications/Operations/RemoteNotificationsMarkReadOrUnreadOperation.swift:20-48 \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":"WMF Framework/Remote Notifications/Operations/RemoteNotificationsMarkAllAsReadOperation.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"220af3adc7cdbab62d7bc4b3024d961eafe3f2dcaac1f2cfdc2f058fc75ec130"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/WMFHomeFeedForYouSettingsView.swift:38-56 | WMFComponents/Sources/WMFComponents/Components/Settings/Storage and Syncing/WMFStorageAndSyncingSettingsView.swift:51-67 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/WMFHomeFeedForYouSettingsView.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01949770f4b3cca59d74333741cd68b32bba6968c4081ff384ff043216ee9b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Wikipedia/Code/ActivityTabViewController.swift:162-174 | Wikipedia/Code/HomeViewController.swift:403-415 \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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"798d4512c9f44689555da50dab7276415c6c5da90c8d8619e45e9303f8ebbd79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): Wikipedia/Code/ArticleLocationCollectionViewController.swift:80-90 | Wikipedia/Code/NewsViewController.swift:63-77 | Wikipedia/Code/OnThisDayViewController.swift:83-96 | Wikipedia/Code/ReadingListEntryCollectionViewController.swift:262-277 | Wikipedia/Code/ReadingListsViewController.swift:162-171 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 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":"Wikipedia/Code/ArticleLocationCollectionViewController.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd2e87fda639c1fbb7ea1e9d3e381554be8c16b2a359a6736ecdd8de7834ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): WMF Framework/CacheFileWriterHelper.swift:12-26 | WMF Framework/CacheFileWriterHelper.swift:38-53 | WMF Framework/CacheFileWriterHelper.swift:101-116 \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":"WMF Framework/CacheFileWriterHelper.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67baaedb9c1cae0f384798f235ae3cb81682fec5120ee584c817b65729d49a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Wikipedia/Code/ScrollableEducationPanelViewController.swift:338-349 | Wikipedia/Code/ScrollableEducationPanelViewController.swift:351-365 \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":"Wikipedia/Code/ScrollableEducationPanelViewController.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4337512aa4593995c6ad0464fd97f00d5c5889565f38254032f294c720cec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift:23-47 | WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/WMFEditorToolbarNavigatorButton.swift:23-43 \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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c41e49beae409cc1d03b3142712d06ba1fda2c80f85dd8da3650ec1bc6b3895"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Results/WMFWhichCameFirstResultsViewModel.swift:145-153 | Wikipedia/Code/WMFDailyGameExploreCell.swift:194-199 \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":"WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Results/WMFWhichCameFirstResultsViewModel.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4a90a0d00f228891977024c9086f2ce2ddc8731230bfc13d96129e294bb112"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): WMF Framework/MWKSearchResult.swift:224-227 | WMF Framework/WMFFeedArticlePreview.swift:205-209 \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":"WMF Framework/MWKSearchResult.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"876d489ad96cfb69f384fba004ce1a860bcf29bc757c69b42b1cf94367c52202"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Wikipedia/Code/ActivityTabFunnel.swift:164-176 | Wikipedia/Code/DonateFunnel.swift:528-543 \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":"Wikipedia/Code/ActivityTabFunnel.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f798ea2c2babb1238d95e888cadb4bc88c9b42b50c582c1827d27894f61e692"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): WMF Framework/WMFFeedNewsStory.swift:78-84 | WMF Framework/WMFFeedOnThisDayEvent.swift:82-89 \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":"WMF Framework/WMFFeedNewsStory.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1945cd81a8b2b894a6a1c16baecf8964b5e18ac8b7a83d195ad5037640b473"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Wikipedia/Code/ArticleViewController\u002BTooltips.swift:10-34 | Wikipedia/Code/SearchLanguagesBarViewController.swift:368-392 \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":"Wikipedia/Code/ArticleViewController\u002BTooltips.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9e9d564f022177af39322db2de4a918602439fbd1cbbed7f2926b046e275bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Wikipedia/Code/InsetLabelView.swift:26-39 | Wikipedia/Code/RoundedImageView.swift:33-50 \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":"Wikipedia/Code/InsetLabelView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ea1c7d64a1460cf9208fc0d39aa446e0e52e87457a202c8c180fc6b376f4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:33-53 | Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:55-75 \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":"Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c467efbb6a23c013bc148794889c541513d4ec7fa980bcb74d7fe0b4fb560c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift:128-143 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift:146-161 \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":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b1feb37415edcf576e1c04b8a15f748990b4becc945abf667a3abd9369e8d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Wikipedia/Code/ActivityTabViewController.swift:545-567 | Wikipedia/Code/SearchViewController.swift:548-569 \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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d4011b09bc06b1c4833e6cdee5f2bf9dfa7da8fdc6d8a358c34af4d4303d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Wikipedia/Code/DiffContainerViewController.swift:1226-1244 | Wikipedia/Code/DiffContainerViewController.swift:1271-1287 \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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa9d372a4014cc1ce33f415a6dd624834424a770b18a29f249e62456501058b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Wikipedia/Code/DiffFetcher.swift:139-153 | Wikipedia/Code/PageHistoryFetcher.swift:37-51 \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":"Wikipedia/Code/DiffFetcher.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"909de2f819d849426285bd528ff2454bbbd672e56ea0b1d6cc64a490cdb259c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Wikipedia/Code/ColumnarCollectionViewLayoutManager.swift:54-66 | Wikipedia/Code/ColumnarCollectionViewLayoutManager.swift:68-79 \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":"Wikipedia/Code/ColumnarCollectionViewLayoutManager.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa37f7afc9ca70d59b07e4d16db19ca45c859f312f48419e7b06e7a5ff21914"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Wikipedia/Code/WMFAppViewController.swift:625-638 | Wikipedia/Code/WMFAppViewController.swift:640-653 \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":"Wikipedia/Code/WMFAppViewController.swift"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"06773331d4037906fb222a4036582b1a5969b29a02b909a470d56316800f2903"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): WMF Framework/MWKSearchResult.swift:40-53 | WMF Framework/WMFFeedArticlePreview.swift:32-43 \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":"WMF Framework/MWKSearchResult.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"241accc8e7c785960cb6e866d4e7c1762d220e41d080056add757664053de4ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewView.swift:285-293 | WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewView.swift:326-337 \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":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewView.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"afed5d17fc92bfd40a1c7ebb6ee759d269aeedff4d611fc804186dadcfa159f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): WMF Framework/Remote Notifications/RemoteNotificationsController.swift:176-190 | WMF Framework/Remote Notifications/RemoteNotificationsController.swift:194-208 \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":"WMF Framework/Remote Notifications/RemoteNotificationsController.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cedf4396d36ce6cf113f76639c10d996ed340295db08fff11673fa885f55e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift:93-106 | Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.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":"Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbb63df588c6486041ce1599f2f28c715e313206c09675198575d6511bc4ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Wikipedia/Code/ArticlePeekPreviewViewController.swift:244-257 | Wikipedia/Code/ArticleViewController\u002BSharing.swift:36-46 \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":"Wikipedia/Code/ArticlePeekPreviewViewController.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51c576594c61faa1d767af7afcb1296e848e60582b4b80233eb8a262a4d80d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): WMF Framework/WMFFeedArticlePreview.swift:160-170 | WMF Framework/WMFFeedImage.swift:158-166 \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":"WMF Framework/WMFFeedArticlePreview.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5e24c67eec5c07148ec7bfbdc2790a75699933ee2072fd33f810855230944d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Wikipedia/Code/HTTPCookieStorage\u002BMigration.swift:2-11 | Wikipedia/Code/HTTPCookieStorage\u002BMigration.swift:13-22 \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":"Wikipedia/Code/HTTPCookieStorage\u002BMigration.swift"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b900feff33433bb1e430a524cfd7067a034bed86ce7bf7ef3d092b16f22526bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatter\u002BButtonActions.swift:226-238 | WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatter\u002BButtonActions.swift:240-252 \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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatter\u002BButtonActions.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"210ab1181d61d56d6d92fe3b9fffaf3266895176caffc3ad79efe5205fc9cb1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Shared/Page/WMFPageRow.swift:117-132 | WMFComponents/Sources/WMFComponents/Components/Shared/Page/WMFPageRow.swift:135-148 \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":"WMFComponents/Sources/WMFComponents/Components/Shared/Page/WMFPageRow.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe3d98a5104a156fbe2781f46b4b866ab23ea92eae25f0610fa73f8fbd288a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift:380-391 | Wikipedia/Code/TalkPageFetcher.swift:43-54 \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":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cacbc3a74eba4b73ab091a646a99923e668ec2eb7c7ee060084dd9f39642ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Wikipedia/Code/DiffListContextViewModel.swift:97-101 | Wikipedia/Code/DiffListContextViewModel.swift:219-225 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DiffListContextViewModel.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6babddbf28c4103a526c16ab542d50a3074c624468c9b70f8b5f9f1cb59b044"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Wikipedia/Code/EditorViewController.swift:849-858 | Wikipedia/Code/EditorViewController.swift:860-869 \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":"Wikipedia/Code/EditorViewController.swift"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a0205fe8b0d7aa442edc9b00c3351eca0be0478870a12d92ad653ef8e21de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift:419-449 | WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift:577-602 \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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"51313419aefd84f29c5930b4e7b0f3e9aa55bfcc28528f370ade6601417188a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Wikipedia/Code/ArticleViewController.swift:1434-1451 | Wikipedia/Code/ColumnarCollectionViewController.swift:393-410 \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":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"082ebb7dfe39b7ae1a9bcdfdd8ed40e83ff346a399382dd6bc4cc8b7f87f9892"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Wikipedia/Code/InsertMediaSettingsViewController.swift:451-473 | Wikipedia/Code/InsertMediaSettingsViewController.swift:475-497 \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":"Wikipedia/Code/InsertMediaSettingsViewController.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"99882dcdd11b7fb06170a81fab091ed2214137bfc66582fbcd37a60b30dc0059"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Donate Form/WMFDonateViewController.swift:32-42 | Wikipedia/Code/ExploreFeedSettingsViewController.swift:190-199 \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":"WMFComponents/Sources/WMFComponents/Components/Donate Form/WMFDonateViewController.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb14e6dff2723050824fd68194cc00c6c1f45a31680bebe2a30187a54a55f922"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Wikipedia/Code/SavedArticleDownloadProgressObserver.swift:83-103 | Wikipedia/Code/SavedTabBadgeController.swift:131-146 \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":"Wikipedia/Code/SavedArticleDownloadProgressObserver.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"77efd86f665432854c85410f8a8be7cd51d76f6fe066382f70d93c5c956e2954"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Wikipedia/Code/SettingsCoordinator.swift:566-581 | Wikipedia/Code/SettingsTabViewController.swift:259-276 \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":"Wikipedia/Code/SettingsCoordinator.swift"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"990f1034383db64e9309e919be89028ae12e28362be9db1e62b0a98c732cbf11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFInterestArticleCardViewModel.swift:27-36 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFInterestArticleCardViewModel.swift:52-61 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFInterestArticleCardViewModel.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d1aa82b182632da7d5f43daaec66edf6a454403e11c1b7d4a22179a841d1b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): WMFData/Sources/WMFData/Data Controllers/History /WMFHistoryDataController.swift:16-27 | WMFData/Sources/WMFData/Data Controllers/History /WMFHistoryDataController.swift:163-173 \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":"WMFData/Sources/WMFData/Data Controllers/History /WMFHistoryDataController.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0621c280bcf59d752f33903d744f5e386865e9dd3c7f7ee7b3eaf1b4c4e78247"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsView.swift:116-134 | WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsView.swift:136-145 \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":"WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsView.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7c65ffb6d58aa2efc05718a58382514b09eb93e02798766bc7511ef67d09d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Shared/Onboarding/WMFOnboardingViewModel.swift:18-27 | WMFComponents/Sources/WMFComponents/Components/Shared/Toasts/WMFToastConfig.swift:26-44 \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":"WMFComponents/Sources/WMFComponents/Components/Shared/Onboarding/WMFOnboardingViewModel.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edc919414d31d109173c343efda2562649bffc988e80f77ac9c830ae9415214"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 5\u002B corresponding lines): Wikipedia/Code/DescriptionHelpViewController.swift:80-87 | Wikipedia/Code/LibrariesUsed.swift:75-81 | Wikipedia/Code/WMFAccountCreationViewController.swift:238-242 | Wikipedia/Code/WMFChangePasswordViewController.swift:74-80 | Wikipedia/Code/WMFForgotPasswordViewController.swift:54-60 | Wikipedia/Code/WMFLoginViewController.swift:144-148 | Wikipedia/Code/WMFTwoFactorPasswordViewController.swift:189-195 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 5 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DescriptionHelpViewController.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09d4d8da5b384abbfb148b06760b5f6dec33c944fcd16b3b8599d1f0011284e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Wikipedia/Code/ReadingListsCoordinator.swift:27-39 | Wikipedia/Code/SavedAllArticlesCoordinator.swift:22-33 \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":"Wikipedia/Code/ReadingListsCoordinator.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0115c555b5ef0cf2a45292bd83604ce05153554eaa7450340227e3fdfb91360"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): WMF Framework/MWKSearchResult.swift:125-131 | WMF Framework/MWKSearchResult.swift:229-235 \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":"WMF Framework/MWKSearchResult.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c17bde6fc453e18f45c03746558de9ded92a7f7026ff08b7b3b2cbe954e551"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): WMF Framework/SharedContainerCacheStore.swift:13-25 | WMF Framework/SharedContainerCacheStore.swift:27-38 | WMF Framework/SharedContainerCacheStore.swift:40-50 \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":"WMF Framework/SharedContainerCacheStore.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e732dc2a6a4325079f296cb17305f5d5beabf54547af09aad90f98633bb287"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverEntryCardView.swift:66-78 | WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverReadingListView.swift:153-165 \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":"WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverEntryCardView.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3309eac1fbd65bb9ad67300331fdc82775f39ab7ae6c7e19792474dc961ba63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/ArticlePeekPreviewViewController.swift:233-242 | Wikipedia/Code/ArticleViewController\u002BSharing.swift:56-64 \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":"Wikipedia/Code/ArticlePeekPreviewViewController.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"06779f5f6d3fc8eb01783b21a1f2914327960df5bf3dc4f7ec6267d5d6f503b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Wikipedia/Code/DiscoverInstrumentation.swift:238-247 | Wikipedia/Code/SavedInstrumentation.swift:66-81 \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":"Wikipedia/Code/DiscoverInstrumentation.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"04422bbc71a16f7f251bfc1a3ec178691be360665f07d7abdd286908896309c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Wikipedia/Code/WMFChangePasswordViewController.swift:128-148 | Wikipedia/Code/WMFForgotPasswordViewController.swift:113-133 \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":"Wikipedia/Code/WMFChangePasswordViewController.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bec4310f5a9c3bbcafca3fbbe38bd161a9606ebbec677f2a03ecff91bc0300"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): WMF Framework/ReadingListsAPIController.swift:391-399 | WMF Framework/ReadingListsAPIController.swift:410-418 \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":"WMF Framework/ReadingListsAPIController.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"093d5445b81bf94aa1f1f19b5d60dafe728795c1332da088e00d4057b10124a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Search/Results/WMFSearchResultsViewModel.swift:287-299 | WMFComponents/Sources/WMFComponents/Utility/UIImage\u002BFaceCrop.swift:31-40 \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":"WMFComponents/Sources/WMFComponents/Components/Search/Results/WMFSearchResultsViewModel.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09a24cad1f0f9410f2dcd8f28fbcab77355fb3885b9c3335e488c97bf95ce16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewModel.swift:166-176 | WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewModel.swift:204-223 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewModel.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da8e7a4840d903dd940e770ea2002900744f2e0c6b8b99770caa7c41704fb6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Wikipedia/Code/DescriptionEditViewController.swift:268-279 | Wikipedia/Code/DescriptionEditViewController.swift:281-292 \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":"Wikipedia/Code/DescriptionEditViewController.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"92079eb66aa4686b3068477314d37b60d09a43d7b852d67523a9642267ea9d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Wikipedia/Code/NotificationsCenterFiltersViewModel.swift:204-220 | Wikipedia/Code/NotificationsCenterFiltersViewModel.swift:222-242 \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":"Wikipedia/Code/NotificationsCenterFiltersViewModel.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8475c09ea40bb2ec19ed99f4eeb2c8abe648dbeae33109996b2d2c4ec1cce1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): WMF Framework/WMFFeedArticlePreview.swift:93-100 | WMFData/Sources/WMFData/Models/Home/WMFFeedNewsItem\u002BStoryDate.swift:25-32 \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":"WMF Framework/WMFFeedArticlePreview.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c93b00ed69e959cdd9dc5f7473559480936e3c3d0257345e96e41d25c78875c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Search/Semantic Search Results/WMFSemanticSearchResultsHostingController.swift:36-51 | Wikipedia/Code/InsertMediaViewController.swift:122-130 \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":"WMFComponents/Sources/WMFComponents/Components/Search/Semantic Search Results/WMFSemanticSearchResultsHostingController.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cee7fd0e36741245e8448a40c80f3608feb7cbb3eec34be9fa4d8e80a36a1a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 3\u002B corresponding lines): Wikipedia/Code/ArticleCollectionViewCell.swift:96-98 | Wikipedia/Code/ArticleFullWidthImageCollectionViewCell.swift:70-72 | Wikipedia/Code/ArticleLocationCollectionViewCell.swift:39-41 | Wikipedia/Code/ArticleRightAlignedImageCollectionViewCell.swift:37-39 | Wikipedia/Code/DescriptionEditViewController.swift:253-255 | Wikipedia/Code/EditSaveViewController.swift:118-120 | Wikipedia/Code/ReadingListsCollectionViewCell.swift:69-71 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 3 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleCollectionViewCell.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce828fd12da44d12dcd6f23b2071d889315dd0b06db8eb6385d4da20a4223e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Wikipedia/Code/ReadingListsController.swift:672-685 | Wikipedia/Code/ReadingListsController.swift:687-706 \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":"Wikipedia/Code/ReadingListsController.swift"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a9a38d8d1d426d9c2531471a6083604f694b2606d8204cc15042f7c38e0da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Wikipedia/Code/WMFSearchFetcher.swift:25-31 | Wikipedia/Code/WMFSearchFetcher.swift:34-36 \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":"Wikipedia/Code/WMFSearchFetcher.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"436a8581910ef48e4fccfca91598ba9cdc9ba2551416a13a45231a4b95bf6c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/NotificationsCenterViewController.swift:448-454 | Wikipedia/Code/NotificationsCenterViewController.swift:456-466 \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":"Wikipedia/Code/NotificationsCenterViewController.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d57c51348a7275a591eafa4433264aa161b798111ba085d6fbeb8c0b3f7f58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewModel.swift:180-201 | WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewModel.swift:225-246 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewModel.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa111f1afa56d9f46190d73df4c56cbffe86b68c84fdf1579da98acc828a788"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift:270-286 | WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift:685-701 \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":"WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b492e6b5ce11889eba02f854e34f5d1040898673757d80f1c6b010e138f9f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Wikipedia/Code/WMFAppViewController.swift:2311-2325 | Wikipedia/Code/WMFAppViewController.swift:2327-2337 \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":"Wikipedia/Code/WMFAppViewController.swift"},"region":{"startLine":2311}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6bd3911108845d745ac824bae2a2917a72a97154179622dfec3a6f4e60c221"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:821-827 | Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:944-950 \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":"Wikipedia/Code/YearInReviewSlideViewModelFactory.swift"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e2d597d42b9a6fca9ea8fa3559be3b02d53fcb6cc0af80b885a924ebb679d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMFData/Sources/WMFData/Models/Watchlist/WMFWatchlistFilterSettings.swift:50-59 | WMFData/Sources/WMFData/Models/Watchlist/WMFWatchlistFilterSettings.swift:61-70 \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":"WMFData/Sources/WMFData/Models/Watchlist/WMFWatchlistFilterSettings.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"642022730a3e9390ee03f4c0615d5b0ea402c3929eda7c84f8ae42ec2ffb4d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/ArticleViewController\u002BDonationReminder.swift:354-360 | Wikipedia/Code/ArticleViewController\u002BDonationReminder.swift:362-367 \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":"Wikipedia/Code/ArticleViewController\u002BDonationReminder.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76a882c500d921e071faab254fff95a3a2b9f870484a170e7e0a04674879e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Wikipedia/Code/DonateCoordinator.swift:649-661 | Wikipedia/Code/DonateCoordinator.swift:663-675 \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":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"4032455c7f7dc5771b728afb6e32a37d241d0e78b4bd15d62dbe0c93eaef6571"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Wikipedia/Code/LegacyReadingListsDataSource.swift:142-151 | Wikipedia/Code/LegacyReadingListsDataSource.swift:153-162 \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":"Wikipedia/Code/LegacyReadingListsDataSource.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec66116737efaffb91e4cf706a87c89111edd9ca2acd7be27e50734a842eaae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Wikipedia/Code/NewsCollectionViewCell.swift:15-17 | Wikipedia/Code/SavedArticlesCollectionViewCell.swift:128-130 \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":"Wikipedia/Code/NewsCollectionViewCell.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ac9eb03fe8721805be46938ad2806e4641cddb7b476a8293b83eb5c04b8e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Wikipedia/Code/NotificationsCenterFiltersViewModel.swift:162-181 | Wikipedia/Code/NotificationsCenterFiltersViewModel.swift:183-202 \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":"Wikipedia/Code/NotificationsCenterFiltersViewModel.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7f75a43d4af3b0bb08177bcca41d33d575db334c9cdd9ce98c8ee6a2c10348"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Wikipedia/Code/UITextView\u002BExtensions.swift:58-70 | Wikipedia/Code/UITextView\u002BExtensions.swift:72-84 \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":"Wikipedia/Code/UITextView\u002BExtensions.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"483622597e649069d63f65706c26e3f0406526954df7f2d883d0ce5d8713c9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): WMF Framework/WMFFeedArticlePreview.swift:93-100 | WMFData/Sources/WMFData/Models/Home/WMFFeedNewsItem\u002BFeaturedArticle.swift:59-68 \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":"WMF Framework/WMFFeedArticlePreview.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3836685a808e10f091eb397dba92871c71496980e3dcb6b2fe5e0ab969242d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/ArticleCollectionViewCell\u002BWMFFeedContentDisplaying.swift:92-100 | Wikipedia/Code/ArticleCollectionViewCell\u002BWMFFeedContentDisplaying.swift:117-127 \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":"Wikipedia/Code/ArticleCollectionViewCell\u002BWMFFeedContentDisplaying.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"429c56ff080514000c9a081d1bb936d3f34765f8a89a9ab49d10cdf0438b7321"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Wikipedia/Code/ArticleViewController\u002BReferences.swift:31-45 | Wikipedia/Code/ReferenceBackLinksViewControllerDelegate.swift:45-56 \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":"Wikipedia/Code/ArticleViewController\u002BReferences.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"252e4191d3d214b49e14d8c8eff64c6fef4af70b1cc2a49569f3ffcdeaaf8f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Wikipedia/Code/ExploreViewController.swift:1212-1226 | Wikipedia/Code/YearInReviewCoordinator.swift:533-543 \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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7be4b1278f2b583174556bffcc4223409e31dd71f8cd26ad4061df72298699"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:594-612 | Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:747-760 | Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:1184-1197 | Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:1224-1240 | Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:1266-1282 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/YearInReviewSlideViewModelFactory.swift"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda44e713c6c615368475ce382cc0cbc0818168e4805730bd057aa0708c941c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift:120-137 | WMFData/Sources/WMFData/Data Controllers/Semantic Search/WMFSemanticSearchDataController.swift:137-157 \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":"WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81ab692527789a250e6d589e3a90e97c181fe51c3a5adf06ef0fb709a8f88b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): WMFData/Sources/WMFData/Service/Protocol/WMFService.swift:39-46 | WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift:190-195 \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":"WMFData/Sources/WMFData/Service/Protocol/WMFService.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b96e4bf7ae5ed6eb63c65cf19b17a407c7216b6fb8b5120195e87da190ffac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Wikipedia/Code/NotificationsCenterCommonViewModel\u002BActionExtensions.swift:17-29 | Wikipedia/Code/NotificationsCenterCommonViewModel\u002BActionExtensions.swift:32-40 | Wikipedia/Code/NotificationsCenterCommonViewModel\u002BActionExtensions.swift:167-175 \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":"Wikipedia/Code/NotificationsCenterCommonViewModel\u002BActionExtensions.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b06b2df06fa158f806f37877d3c4e17af2272e34eba15361d92acc8c6659b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Article Tabs/WMFArticleTabsHostingController.swift:65-72 | WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewController.swift:38-55 | Wikipedia/Code/Database Population/DatabasePopulationHostingController.swift:23-45 | Wikipedia/Code/NotificationsCenterFlowHostingController.swift:18-24 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Article Tabs/WMFArticleTabsHostingController.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"595d98bcba756281fae234b6d8251769d46e5d1979d60b48a4a274da09b9d854"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverEntryCardView.swift:80-87 | WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverReadingListView.swift:167-174 \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":"WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverEntryCardView.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"838f620315ce556baf61c2ddce8dbd525f11846d52b09854a88a8099a160825b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Home/WMFCommunityFeedView.swift:114-123 | WMFComponents/Sources/WMFComponents/Components/Home/WMFCommunityFeedView.swift:209-218 \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":"WMFComponents/Sources/WMFComponents/Components/Home/WMFCommunityFeedView.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e134dfbaea3202caef3579bd163ccaa566b013cfc6291eb70878a921767a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 5\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Saved/Create Reading List/WMFCreateReadingListHostingController.swift:79-87 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/WMFHomeFeedWhatsDrivingSettingsViewController.swift:23-29 | WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterHostingController.swift:30-36 | Wikipedia/Code/EditLinkViewController.swift:86-94 | Wikipedia/Code/PageIssuesTableViewController.swift:30-34 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 5 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":"WMFComponents/Sources/WMFComponents/Components/Saved/Create Reading List/WMFCreateReadingListHostingController.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ef61e4deb3a43a638833c423ad5e4f3a9f7cde27e193b7c989f16c50fbebd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/CloseButtons.swift:148-160 | WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/CloseButtons.swift:162-174 \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":"WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/CloseButtons.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"49461072ea41ee5ff6b85a05a462482bb9cf2e4fc90bcccd44391a735844738d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverReadingListDataController.swift:436-449 | WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverReadingListDataController.swift:458-464 \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":"WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverReadingListDataController.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d24b85c11f61e0148d94a358805c0ed6ced6cfbfcb8001391666819e84c271"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Wikipedia/Code/ExploreViewController.swift:1103-1119 | Wikipedia/Code/HomeViewController.swift:157-173 \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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"02da4588936d529a02b5cf645c1116575df7319a5c32ad1ea4ce98439bb04226"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Wikipedia/Code/WMFAppViewController.swift:554-558 | Wikipedia/Code/WMFAppViewController.swift:605-612 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAppViewController.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a9bb242a54571e4380b983baec34b4aec85b7377efc33ab86fc08ce4c59bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): WMFComponents/Sources/WMFComponents/Components/App Onboarding/WMFAppOnboardingFeedPreferenceViewModel.swift:307-315 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFInterestArticleCardViewModel.swift:71-80 \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":"WMFComponents/Sources/WMFComponents/Components/App Onboarding/WMFAppOnboardingFeedPreferenceViewModel.swift"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0e4a349146b239cc4eb81db8fa60c4b3b8ba6a215b8a50d5e04421de0e4d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsViewModel.swift:36-52 | WMFComponents/Sources/WMFComponents/Components/Settings/Push Notifications/WMFPushNotificationsSettingsViewModel.swift:46-60 | WMFComponents/Sources/WMFComponents/Components/Settings/Storage and Syncing/WMFStorageAndSyncingSettingsViewModel.swift:38-50 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsViewModel.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbcded97e3473bac4a001c030352efc840cddcb678b45e5d2bee009e21c6661"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Wikipedia/Code/ArticleViewController.swift:569-589 | Wikipedia/Code/ExploreViewController.swift:1124-1138 \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":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"1658ece6c6396ed6205119e27dfb4c5c61055e7cf6e281e9159ecc153001bbf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Wikipedia/Code/WelcomeContainerViewController.swift:44-57 | Wikipedia/Code/WelcomePanelViewController.swift:83-96 \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":"Wikipedia/Code/WelcomeContainerViewController.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ab4467ef5d0f76dab8baeac01df4f83402c589e7a32df54078ef0d7ca7d374"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): WMF Framework/DateFormatter\u002BWikipediaLanguage.swift:19-31 | WMF Framework/DateFormatter\u002BWikipediaLanguage.swift:35-47 | WMF Framework/DateFormatter\u002BWikipediaLanguage.swift:51-63 | WMF Framework/DateFormatter\u002BWikipediaLanguage.swift:67-79 \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":"WMF Framework/DateFormatter\u002BWikipediaLanguage.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faa1288bfcae181015fd803408b14d1cae8351c6336fd1ec5b88bd7dda662c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): WMF Framework/ImageCacheDBWriter.swift:25-34 | WMF Framework/ImageCacheDBWriter.swift:36-42 \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":"WMF Framework/ImageCacheDBWriter.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d6bf2ec7a41f0d55b2e65d14cc0209a398a5818aeaf616587c18bf2fb177b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift:221-232 | WMF Framework/Remote Notifications/Model/RemoteNotificationType.swift:68-79 \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":"WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcddd4b873b47fa5784365713d0afcc53d2d02daed81261931e030da026b5fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Wikipedia/Code/ExploreCardViewController.swift:465-475 | Wikipedia/Code/ExploreCardViewController.swift:477-488 \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":"Wikipedia/Code/ExploreCardViewController.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f169ca6d56d0e41623a928077b35cead12b53592db3ae6b85714c7c9065570"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): WMF Framework/UIView\u002BSemanticContent.swift:89-92 | WMF Framework/UIView\u002BSemanticContent.swift:100-103 \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":"WMF Framework/UIView\u002BSemanticContent.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b8e40a044c154b2103e7dd73c7bced425408a80ade5176280118b490446e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterViewModel.swift:371-377 | WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterViewModel.swift:379-386 | WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterViewModel.swift:388-395 | WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterViewModel.swift:397-404 | WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterViewModel.swift:406-413 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Watchlist/Filter/WMFWatchlistFilterViewModel.swift"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28fdef781f7126a9f2a554d028c55e0a0449b9925e1e3179c68d368184e1f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): WMFData/Sources/WMFData/Service/WMFBasicService.swift:224-228 | WMFData/Sources/WMFData/Service/WMFBasicService.swift:265-269 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Service/WMFBasicService.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cda8fb4f85e08252bc35b2e41fb86fdf09bd85388c3537301a88ff1247f53d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): Wikipedia/Code/AppOnboardingCoordinator.swift:327-333 | Wikipedia/Code/DiscoverReadingListCoordinator.swift:168-174 | Wikipedia/Code/SettingsCoordinator.swift:362-373 | Wikipedia/Code/WhichCameFirstCoordinator.swift:414-421 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/AppOnboardingCoordinator.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b1ac48a93464a25e479770fd903c10bf39591b930006facc3c7bc418aae9b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/ArticleLinkInteractionFunnel.swift:27-33 | Wikipedia/Code/WatchlistFunnel.swift:179-185 \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":"Wikipedia/Code/ArticleLinkInteractionFunnel.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"639e8d911850116f1da3cfe862dcc7b81cf4d9111ee1cb954608c7e461346007"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/ArticleLocationCollectionViewController.swift:19-31 | Wikipedia/Code/NewsViewController.swift:20-28 \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":"Wikipedia/Code/ArticleLocationCollectionViewController.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f06f67de10dab2c7aa9a51ffb5003d3ee28bb73d5bb41c4269c283c6940e818"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Wikipedia/Code/DiscoverReadingListCoordinator.swift:70-82 | Wikipedia/Code/SavedAllArticlesCoordinator.swift:129-148 \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":"Wikipedia/Code/DiscoverReadingListCoordinator.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b07c231b1aa71d1eeb589e49f3358be48001b3e3487064fd36cfc74968e086"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsViewModel.swift:140-149 | WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsViewModel.swift:153-162 \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":"WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsViewModel.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f38aa3748aa8f39438a848b1a4d46dd110982b0cabf331d8659eedf9416b767"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/WMFLargeButton.swift:15-31 | WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/WMFSmallButton.swift:27-41 \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":"WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/WMFLargeButton.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9010d2b1b57bf01f3662f63afe86db712559da89ae3f0c877a073734184558d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): WMFData/Sources/WMFData/Extensions/URL\u002BAPI.swift:95-108 | WMFData/Sources/WMFData/Extensions/URL\u002BAPI.swift:110-123 \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":"WMFData/Sources/WMFData/Extensions/URL\u002BAPI.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaaeff5b41296a8d3fdfb68f1ee61d0c5db590849df5391f06e7a8a469b028d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:90-110 | Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:112-132 | Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:192-214 | Wikipedia/Code/NotificationsCenterDetailViewModel\u002BActionExtensions.swift:159-175 | Wikipedia/Code/NotificationsCenterDetailViewModel\u002BActionExtensions.swift:195-211 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4c87b8f10a3de0a38a1ce155ff13349e51ead1668134eb07954b90fea7a9a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:274-292 | Wikipedia/Code/NotificationsCenterDetailViewModel\u002BActionExtensions.swift:298-311 \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":"Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b2af83f513290b50ecd524b71c0d8978e3704336d145e279b7fcaca9b44247"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Wikipedia/Code/ReadingListEntryCollectionViewController.swift:515-526 | Wikipedia/Code/ReadingListsViewController.swift:315-324 \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":"Wikipedia/Code/ReadingListEntryCollectionViewController.swift"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d93707c19a0dcb3800ed57b82031d28cb489e78ed8ebe798c0166d3df290be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/ReadingListsCoordinator.swift:129-135 | Wikipedia/Code/ReadingListsViewController.swift:128-135 \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":"Wikipedia/Code/ReadingListsCoordinator.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb552e918abe15f7b8d062c71f020ab4c8bce5877cc3b9c4677d4e7b0fbace45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/YearInReviewCoordinator.swift:893-902 | Wikipedia/Code/YearInReviewCoordinator.swift:905-913 \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":"Wikipedia/Code/YearInReviewCoordinator.swift"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab18c6a175d9e630a0d6456f66fcc97d54d02761fc14b11089cd77895cb0f71d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMF Framework/UIView\u002BSemanticContent.swift:105-107 | WMF Framework/UIView\u002BSemanticContent.swift:109-111 \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":"WMF Framework/UIView\u002BSemanticContent.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b884fca88e9249b64947424059b1bdeda7022be085f82d83f6fb2bffbcf23c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift:110-121 | WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorMultiButton.swift:110-119 | WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/WMFEditorToolbarNavigatorButton.swift:85-96 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e25ba055cba3175d34c6c42c94368a7bab9119fd1c524d759dba8e8ef3867c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift:138-149 | WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift:66-79 \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":"WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee6b7c514b2d0c5f010c1b21ed16f474b399740ad5bf04780a5405984997ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Wikipedia/Code/CircledRankView.swift:17-27 | Wikipedia/Code/IconTitleBadge.swift:51-63 \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":"Wikipedia/Code/CircledRankView.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4071aef2af243c82cd55ecfa7687b1a38f38debbece23c9eabf3df7abc07fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/QuadKey.swift:82-90 | Wikipedia/Code/QuadKey.swift:92-100 \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":"Wikipedia/Code/QuadKey.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2106657ee4dfe1d8aafb4b47e7e8197f6c8ab7ff8f5d367582e44f74e2e067"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatterLink\u002BButtonActions.swift:71-77 | Wikipedia/Code/UITextView\u002BFormattingToolbarExtension.swift:22-28 \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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/Formatter Extensions/WKSourceEditorFormatterLink\u002BButtonActions.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"924f2734ee97fd9ca984a7291afca770df071cff76c3639cb95852bfa29766f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/HomeViewController.swift:238-246 | Wikipedia/Code/ShareReadingListCoordinator.swift:71-79 \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":"Wikipedia/Code/HomeViewController.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"642c63a4342b51bbc26f0cd75b6832452b428aa88e3f0fa6ccfd16ae4db679a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): WMFData/Sources/WMFData/Data Controllers/GlobalUserInfo/WMFGlobalUserInfoDataController.swift:36-47 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSummaryDataController.swift:87-98 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFUserImpactDataController.swift:13-24 \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":"WMFData/Sources/WMFData/Data Controllers/GlobalUserInfo/WMFGlobalUserInfoDataController.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"df127598f49277385051821a4b0533c6f512d16a27996badf601ca0eb7b3f51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewViewCountSlideDataController.swift:47-58 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewEditCountSlideDataController.swift:30-41 \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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewViewCountSlideDataController.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e8907295b0024a492ad9b1f1c1f9105f18f6544cef2a58b60f4e255a7a4a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Wikipedia/Code/TalkPageViewController.swift:611-621 | Wikipedia/Code/TalkPageViewController.swift:678-690 \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":"Wikipedia/Code/TalkPageViewController.swift"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"800547e7a03d6a06161c89097339ada30d336d6bcd45fc23a81f24adc6c041fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMF Framework/CacheDBWriterHelper.swift:79-88 | WMF Framework/CacheDBWriterHelper.swift:90-99 \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":"WMF Framework/CacheDBWriterHelper.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dd56e65db87af80eabd960dd52f5be2639b724b69aeb7474a5e534fa4a96ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): WMF Framework/CacheGatekeeper.swift:64-80 | WMF Framework/CacheGatekeeper.swift:82-98 \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":"WMF Framework/CacheGatekeeper.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"08553185007f632135bbf74e95f6a7f3ce78e66823b448c138958c093add3af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/ArticlePreview/WMFArticlePreviewViewModel.swift:13-26 | WMFComponents/Sources/WMFComponents/Components/ArticlePreview/WMFArticlePreviewViewModel.swift:28-36 | WMFComponents/Sources/WMFComponents/Components/ArticlePreview/WMFArticlePreviewViewModel.swift:38-46 \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":"WMFComponents/Sources/WMFComponents/Components/ArticlePreview/WMFArticlePreviewViewModel.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdc30abd293f95ffbd1fd58690515db15a80bb9f7fed71db0c830af9aa97d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Search/Results/WMFSearchResultRow.swift:17-27 | WMFComponents/Sources/WMFComponents/Components/Shared/WMFArticleSummaryView.swift:19-21 | WMFComponents/Sources/WMFComponents/Components/Temp Accounts/WMFTempAccountsToastView.swift:102-112 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"WMFComponents/Sources/WMFComponents/Components/Search/Results/WMFSearchResultRow.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d59f0c653519186273312e52daaf06b0cc4dd3d08ded9640d8af133ac1a7f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Page History/WMFPageHistoryDataController.swift:185-191 | WMFData/Sources/WMFData/Data Controllers/Page History/WMFPageHistoryDataController.swift:196-202 \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":"WMFData/Sources/WMFData/Data Controllers/Page History/WMFPageHistoryDataController.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7f076c88eaa53e7d42c5bcad2fb06d16e20f46cabfc9706327fdd59fe10091"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/DiscoverReadingListCoordinator.swift:189-197 | Wikipedia/Code/DiscoverReadingListCoordinator.swift:200-211 \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":"Wikipedia/Code/DiscoverReadingListCoordinator.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ce468b1734dc859e46f829862f77648e67304f183b678d448368a63ff05ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Wikipedia/Code/SavedArticleDownloadProgressObserver.swift:107-128 | Wikipedia/Code/SavedTabBadgeController.swift:148-166 \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":"Wikipedia/Code/SavedArticleDownloadProgressObserver.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1306a20224fe5f6feec1e1defe1df65f961a9436a63c301c9c102afd49e09b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/TalkPageDataController.swift:74-80 | Wikipedia/Code/TalkPageDataController.swift:82-88 \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":"Wikipedia/Code/TalkPageDataController.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3a3345fe986dc90c4c1c591696ae8b3577f700e9a2ef7a5ff5c313c8e8b099"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFSimpleEmptyStateView.swift:47-49 | WMFComponents/Sources/WMFComponents/Components/Shared/Empty View/WMFEmptyView.swift:137-139 | WMFComponents/Sources/WMFComponents/Components/Temp Accounts/WMFTempAccountsSheetView.swift:17-19 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFSimpleEmptyStateView.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39e6d6118639e99f2d624d1349723161c77e4ad7e2e7933a0c7336b1045a948"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Wikipedia/Code/NotificationsCenterViewModel.swift:158-173 | Wikipedia/Code/NotificationsCenterViewModel.swift:193-205 \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":"Wikipedia/Code/NotificationsCenterViewModel.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5067898a849279f2ca423b947f835feef9e054042c83c9f074562c6f95b550b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/Cards/WMFWhichCameFirstCardViewModel.swift:54-63 | WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Results/Articles View/WMFWhichCameFirstArticlesViewModel.swift:52-61 \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":"WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/Cards/WMFWhichCameFirstCardViewModel.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"795c06cf8c5c44c4b109449c7c4bed04f76145d981375882694cf82aeced4037"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/Storage and Syncing/WMFStorageAndSyncingSettingsViewModel.swift:16-24 | WMFComponents/Sources/WMFComponents/Components/Settings/Year In Review/WMFYearInReviewSettingsViewModel.swift:16-24 | WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewModel.swift:31-41 | WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewHighlights.swift:18-27 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/Storage and Syncing/WMFStorageAndSyncingSettingsViewModel.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c36bdbf4749116c3862d340d14ddd595e5434f0c65c275983d352527a350b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Legacy Reading Lists/WMFLegacyReadingListsDataController.swift:57-62 | WMFData/Sources/WMFData/Data Controllers/Legacy Reading Lists/WMFLegacyReadingListsDataController.swift:86-91 \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":"WMFData/Sources/WMFData/Data Controllers/Legacy Reading Lists/WMFLegacyReadingListsDataController.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a7cca310df229cbaeb9b70d33db8d67735ee8f946f86d6ec081be612f425ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMFData/Sources/WMFData/Extensions/URL\u002BAPI.swift:28-37 | WMFData/Sources/WMFData/Extensions/URL\u002BAPI.swift:39-49 \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":"WMFData/Sources/WMFData/Extensions/URL\u002BAPI.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfa386548bd0583fac866be25646e2aa1a686cb5cbf1a05de706407c796bce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): Wikipedia/Code/ActivityTabViewController.swift:357-372 | Wikipedia/Code/ArticleViewController.swift:104-118 | Wikipedia/Code/ExploreViewController.swift:82-95 | Wikipedia/Code/PlacesViewController.swift:436-450 | Wikipedia/Code/SettingsTabViewController.swift:60-81 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9af030ac3496a1c8756cbf39ee6a58c593408c9ec7fb725f5ca7b8d60dbe0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 3\u002B corresponding lines): Wikipedia/Code/ReadingListsFunnel.swift:92-94 | Wikipedia/Code/ReadingListsFunnel.swift:104-106 | Wikipedia/Code/ReadingListsFunnel.swift:108-110 | Wikipedia/Code/ReadingListsFunnel.swift:112-115 | Wikipedia/Code/ReadingListsFunnel.swift:117-120 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 3 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":"Wikipedia/Code/ReadingListsFunnel.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f7b8c775632852d74ee347316a40fb7fc49a532999c5f16368bcd6cfb737ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/WMFAppViewController.swift:2373-2379 | Wikipedia/Code/WMFAppViewController.swift:2381-2388 \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":"Wikipedia/Code/WMFAppViewController.swift"},"region":{"startLine":2373}}}],"partialFingerprints":{"codehealthFindingId/v1":"558308f964045bb7482029fce9f732cf4e57b862df7d177b63ddf8f9c1635720"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/WMFToastManager.swift:11-16 | Wikipedia/Code/WMFToastManager.swift:31-36 \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":"Wikipedia/Code/WMFToastManager.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6931fbf99fd120d3286f3a5ec98b9f3c8cc576d94e2d0833ecf4b1b36d636361"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): WMF Framework/CacheFileWriterHelper.swift:28-36 | WMF Framework/CacheFileWriterHelper.swift:55-63 \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":"WMF Framework/CacheFileWriterHelper.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"784c20ec773eb08f546972b1f96257ae3f0664c29df18a217bccd8bea97d2565"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 5\u002B corresponding lines): WMF Framework/Configuration.swift:245-250 | WMF Framework/Configuration.swift:280-285 | WMF Framework/Configuration.swift:289-294 | WMF Framework/Configuration.swift:298-302 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 5 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":"WMF Framework/Configuration.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ab18524d07ae1397424b2fed252dd485b84b738df5bcdd0540f76cf0011980"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMF Framework/ReadingListsAPIController.swift:192-194 | WMF Framework/ReadingListsAPIController.swift:200-202 \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":"WMF Framework/ReadingListsAPIController.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6eb9c36f4ac3764982dcf29631c64502d81a32da1929ce4abc04b8611a1eea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift:453-463 | WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift:465-475 \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":"WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"0351c84285e5981df729857aa9eb26030d72b036670cc951864f5406f8fb4f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): Widgets/Widgets/FeaturedArticleWidget.swift:11-20 | Widgets/Widgets/OnThisDayWidget.swift:12-21 | Widgets/Widgets/PictureOfTheDayWidget.swift:11-20 | Widgets/Widgets/TopReadWidget.swift:11-20 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 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":"Widgets/Widgets/FeaturedArticleWidget.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f85ad7fb20d0bb57255d32e6a26d440847a06063b4be3886abf768fa7e1731"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Wikipedia/Code/DonateFunnel.swift:502-508 | Wikipedia/Code/DonateFunnel.swift:510-516 | Wikipedia/Code/DonateFunnel.swift:551-557 \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":"Wikipedia/Code/DonateFunnel.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"176b65b8b22010022cf5f9d3e804e8479f0d8e6989ad2caaddfc2630aacb20fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/NewsViewController.swift:56-61 | Wikipedia/Code/OnThisDayViewController.swift:75-81 \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":"Wikipedia/Code/NewsViewController.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13caaa0f9c0870a4f01b65ece793c06d48774b8fe532962facd9732ae3196fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsViewModel.swift:299-310 | WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsViewModel.swift:335-346 | WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsViewModel.swift:350-361 | WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsViewModel.swift:363-374 \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":"WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsViewModel.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0be651b80ef258d3078e4744da648ab91da576ae27406dcb5e3edaec9e2c390"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Home/WMFForYouViewModel.swift:372-379 | WMFData/Sources/WMFData/Utility/ImageUtils.swift:49-56 \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":"WMFComponents/Sources/WMFComponents/Components/Home/WMFForYouViewModel.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"345baee9c8f6f63b67e445f00f08a050464648264e495da7bbc48bd065d3c37e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:782-787 | WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:795-800 \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":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"1881aeef9e9282c99418692c9d050d50cfd11015e6fc50f628c0893f4fca7013"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:72-88 | Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:216-232 | Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:294-311 | Wikipedia/Code/NotificationsCenterDetailViewModel\u002BActionExtensions.swift:237-254 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb82ce812121eb9679f1c0b8efd1ab9313dde02ef3443362bec896075d309e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Wikipedia/Code/NotificationsCenterCommonViewModel\u002BActionExtensions.swift:156-164 | Wikipedia/Code/NotificationsCenterCommonViewModel\u002BActionExtensions.swift:191-199 | Wikipedia/Code/NotificationsCenterCommonViewModel\u002BActionExtensions.swift:202-210 \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":"Wikipedia/Code/NotificationsCenterCommonViewModel\u002BActionExtensions.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f24f596eaeb4bbbb0519e920047abeb77a2e80562be9309c02d156eddb57376"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Wikipedia/Code/UIViewController\u002BWMFAlerts.swift:6-10 | Wikipedia/Code/UIViewController\u002BWMFAlerts.swift:12-16 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/UIViewController\u002BWMFAlerts.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0f5927dfa077ce86ba10c4f78f69652d748ab5262965b2ff27fddda16eeeae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): WMF Framework/CacheFetching.swift:97-100 | Wikipedia/Code/Session.swift:765-768 \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":"WMF Framework/CacheFetching.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a34f31e9949f4734fd006002918951575a56e69404965047f8926e775f42c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): WMF Framework/MagicWordUtils.swift:36-44 | WMFData/Sources/WMFData/Data Controllers/Developer Settings/WMFDeveloperSettingsDataController.swift:236-244 | Wikipedia/Code/WikipediaURLTranslations.swift:28-36 \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":"WMF Framework/MagicWordUtils.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b200812ac59a2ed3a778d9cfc60db7f612717d17b97bf6699264da6edae0cb56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Search/Semantic Search Info/WMFSemanticSearchInfoView.swift:49-59 | WMFComponents/Sources/WMFComponents/Components/Search/Semantic Search Results/Feedback/WMFSemanticSearchFeedbackView.swift:110-119 \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":"WMFComponents/Sources/WMFComponents/Components/Search/Semantic Search Info/WMFSemanticSearchInfoView.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc58d6ee209c81bd07bb5b8fe4dfe775a9822b957da320b436e00fbe469c1155"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift:158-166 | WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift:308-318 \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":"WMFComponents/Sources/WMFComponents/Utility/HTMLUtils.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc842ebb98327205259c05902fa81246254e8bfb2dba45698a937ec2218e775"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:789-793 | WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:802-806 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"86408fadc90c3b6abda4a289b8ea786425aea96694aa59e4652ff3b3038f4922"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): Wikipedia/Code/ArticleCollectionViewController.swift:163-170 | Wikipedia/Code/ExploreViewController.swift:582-590 | Wikipedia/Code/ReadingListEntryCollectionViewController.swift:336-346 | Wikipedia/Code/ReadingListsViewController.swift:302-309 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 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":"Wikipedia/Code/ArticleCollectionViewController.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daf55792e2b705e8d3001b95ce0cf678f7e3c3c1d872020bd57a3002b3c8106"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Wikipedia/Code/ArticleViewController\u002BWatchlist.swift:34-45 | Wikipedia/Code/ArticleViewController\u002BWatchlist.swift:47-60 | Wikipedia/Code/ArticleViewController\u002BWatchlist.swift:62-73 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"Wikipedia/Code/ArticleViewController\u002BWatchlist.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"911368d6fab8e6990828602a46a4299a256551cb3c5e3bdef26c14137e4ff0a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Wikipedia/Code/InsertMediaSettingsViewController.swift:514-525 | Wikipedia/Code/InsertMediaViewController.swift:150-160 \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":"Wikipedia/Code/InsertMediaSettingsViewController.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcad64c00268e1ea1cac0b3991499b270b318a67c0292d181e4404fbd0e33b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/ArticlesReadViewModel.swift:22-34 | WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/ArticlesSavedViewModel.swift:18-28 \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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/ArticlesReadViewModel.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"419d685a79d38a093986cef47a1925fe0177aaf13e84905f259f20155941003d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewHighlightsShareView.swift:252-257 | Widgets/Widgets/OnThisDayView.swift:183-188 \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":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewHighlightsShareView.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7debdcb45c22cf9a22462a8d05ec9ac9dab3f1f3c5383a07f083f52afaabb3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Shared/WMFGlobalEditorMetricsDataController.swift:17-20 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFGlobalEditorMetricsDataController.swift:23-26 \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":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFGlobalEditorMetricsDataController.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1ebcc485be315eaca8aed516329a449b000e600ebec24735af33fe1426966c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift:87-97 | Wikipedia/Code/PageHistoryViewController.swift:365-376 \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":"Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bf4e82fa6ceb8515c4445a56c4bba80aeea24544a25c495b2f4fbd3f611f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Wikipedia/Code/ArticleFetcher.swift:301-311 | Wikipedia/Code/ArticleFetcher.swift:489-498 \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":"Wikipedia/Code/ArticleFetcher.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13a50d096c7d5814eea01087888500983792dc99f469e7067ae9606c103bfd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 7\u002B corresponding lines): Wikipedia/Code/EditInteractionFunnel.swift:126-132 | Wikipedia/Code/EditInteractionFunnel.swift:134-140 | Wikipedia/Code/EditInteractionFunnel.swift:142-148 | Wikipedia/Code/EditInteractionFunnel.swift:154-161 | Wikipedia/Code/EditInteractionFunnel.swift:210-217 | Wikipedia/Code/EditInteractionFunnel.swift:219-226 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/EditInteractionFunnel.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0533b22e16c8048542b7ef40b4a9ec54eb53fc58b883e594abc925ca035a1c8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/ExploreViewController.swift:1331-1336 | Wikipedia/Code/WMFReadingListToastManager.swift:171-190 \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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b28330b9aa7e1f9ef028fd2242555615ca4938304b2af28771a42d5241cd827"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Wikipedia/Code/NotificationsCenterViewController.swift:502-513 | Wikipedia/Code/NotificationsCenterViewController.swift:515-526 \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":"Wikipedia/Code/NotificationsCenterViewController.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc91ba12092cada544a40d2ac25c558b9753b32cc17b6782902ba5695810fbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/OnThisDayViewController.swift:218-223 | Wikipedia/Code/NewsViewController.swift:214-222 \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":"Wikipedia/Code/OnThisDayViewController.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efc65fd0fe1aa47e905dc1376751e55af6e01912dc4f7618037c7f3392d265e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): WMF Framework/CacheGatekeeper.swift:34-47 | WMF Framework/CacheGatekeeper.swift:49-62 | WMF Framework/CacheGatekeeper.swift:154-166 | WMF Framework/CacheGatekeeper.swift:168-181 \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":"WMF Framework/CacheGatekeeper.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3637ff98e1a3151dbf652a54e2713682fb875a096dce7e3e686c161aa4af73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMF Framework/WMFBlocksKit.swift:104-113 | WMF Framework/WMFBlocksKit.swift:115-127 \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":"WMF Framework/WMFBlocksKit.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8b79ac665cc5bdaf2be830d64298e1599fc9554604b786bb71dda03791a0ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift:38-47 | Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift:38-47 \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":"Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa2f76a8cccb127926ea978847597910edfc8623a09f501f68622f9cea98801"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Wikipedia/Code/ExploreViewController.swift:1788-1799 | Wikipedia/Code/ExploreViewController.swift:1878-1888 \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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fff20bf8b9f72807dc088c7e240658bf6892c45a2f5895957e1c67db2dc11e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Wikipedia/Code/WMFAppViewController\u002BExtensions.swift:762-772 | Wikipedia/Code/WMFAppViewController\u002BExtensions.swift:774-783 \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":"Wikipedia/Code/WMFAppViewController\u002BExtensions.swift"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd88721af3c694fb77c25a37148fd1313842d4f4cabe1966d22b82962af8948"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Widgets/Widgets/TopReadWidget.swift:331-343 | Widgets/Widgets/PictureOfTheDayWidget.swift:249-257 \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":"Widgets/Widgets/TopReadWidget.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7704e4a822f0bdb968872fd9c3719259429bb1904b732c4ca8bd8098eb1dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Wikipedia/Code/WMFAccountCreationViewController.swift:300-318 | Wikipedia/Code/WMFLoginViewController.swift:206-220 \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":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b25e44d54d69227c393b9b69a7ea1fb2c81ac2e826fae896df177468074898"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFTimelineView.swift:135-148 | WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFTimelineView.swift:150-163 \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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFTimelineView.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d8235be85782394e2be7e88e38ebc1629aa89cf2a15115fdec3f84005565fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/SearchInstrumentation.swift:159-164 | Wikipedia/Code/SearchInstrumentation.swift:210-215 \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":"Wikipedia/Code/SearchInstrumentation.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb547dfe3c167747f4339c481235db917e0d0130ed23f32d3d2a977754767634"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/Session.swift:191-199 | Wikipedia/Code/Session.swift:201-209 \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":"Wikipedia/Code/Session.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c3302ba85bce5c88d3798981c85439a80577af204468ab0eb49659637b3882"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/AppOnboardingCoordinator.swift:315-323 | Wikipedia/Code/SettingsCoordinator.swift:544-555 \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":"Wikipedia/Code/AppOnboardingCoordinator.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c5a208ab6f8a4d24d485e073c68cbe1012ea666b02e2df3877eaff8fc387b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Wikipedia/Code/ArticleViewController.swift:533-540 | Wikipedia/Code/ExploreViewController.swift:278-288 | Wikipedia/Code/PlacesViewController.swift:456-466 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f87297718c3d1fe2cb7511a65e6fbc788c15f6b66083a58f245bf4a9fd3e012"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/Temp Accounts/TempAccountsSettingsViewController.swift:80-86 | Wikipedia/Code/ProfileCoordinator.swift:274-280 \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":"Wikipedia/Code/Temp Accounts/TempAccountsSettingsViewController.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abb6b1565591b4b75ec0e8539ab018a881d6f802ed4abd27ee76e2e6e4c6a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/Editing Preferences/WMFEditingPreferencesSettingsViewController.swift:25-40 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/Community/WMFHomeFeedCommunitySettingsViewController.swift:21-24 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/WMFHomeFeedForYouSettingsViewController.swift:21-24 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/Main/WMFHomeFeedSettingsViewController.swift:24-27 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 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":"WMFComponents/Sources/WMFComponents/Components/Settings/Editing Preferences/WMFEditingPreferencesSettingsViewController.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d794bb683ce287f8a0f6dc5f4880329d1560e240269d46472b8a4917bbec69a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Wikipedia/Code/ActivityTabViewController.swift:676-682 | Wikipedia/Code/SearchViewController.swift:347-351 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"404b9032bcf3a3780e7670e7560be81e72e0f30e90c8b4cf87f88e713225678b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Wikipedia/Code/ArticleCollectionViewController.swift:175-184 | Wikipedia/Code/ArticleLocationCollectionViewController.swift:190-199 \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":"Wikipedia/Code/ArticleCollectionViewController.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da07a38655fff40a4bdda20a8d495147d50f4674b1c78cddb08535538d0c30c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Wikipedia/Code/ArticleLocationCollectionViewController.swift:233-241 | Wikipedia/Code/ColumnarCollectionViewController.swift:524-532 | Wikipedia/Code/ColumnarCollectionViewController.swift:559-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 5 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":"Wikipedia/Code/ArticleLocationCollectionViewController.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0e3935b00a092d4b1b9168b5d5e940daf12161e21fd7917267b96d4dc5ca55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Wikipedia/Code/ArticleViewController\u002BArticlePreviewing.swift:4-8 | Wikipedia/Code/ExploreCardViewController.swift:704-708 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleViewController\u002BArticlePreviewing.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b490747bbb754603ffd467dd6f5e4e53f1833581b2de68ba054c430ce3d0d201"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Wikipedia/Code/BaseExploreFeedSettingsViewController.swift:207-211 | Wikipedia/Code/Temp Accounts/TempAccountsSettingsViewController.swift:74-78 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/BaseExploreFeedSettingsViewController.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"384e5bf37876ed998dc0f32bfa2305a2b558b3ea14444893963fc6fa635a78c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Wikipedia/Code/DiscoverSetupCoordinator.swift:21-36 | Wikipedia/Code/DiscoverSettingsCoordinator.swift:24-37 \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":"Wikipedia/Code/DiscoverSetupCoordinator.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d96894be56ab147c3765ce8c4d274cd3267c675b0bf92a0ec5e730a942cfc2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/PageHistoryFilterCountsViewController.swift:127-133 | Wikipedia/Code/PageHistoryViewController.swift:388-394 \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":"Wikipedia/Code/PageHistoryFilterCountsViewController.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"770150192181c0f19091c29f28c3ed515719bf6f811a82f33059c91b8a129711"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Wikipedia/Code/TalkPageCoffeeRollViewController.swift:45-49 | Wikipedia/Code/TalkPageViewController.swift:249-253 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TalkPageCoffeeRollViewController.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce6d8841fee53fe395371b23863ab4503e3e8c38215a7b190733f6fbe2b73e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFFundraisingCampaignDataController.swift:47-52 | WMFData/Sources/WMFData/Data Controllers/Developer Settings/WMFDeveloperSettingsDataController.swift:37-46 \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":"WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFFundraisingCampaignDataController.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f86f3295f8d5e738338637efe98bcdd7e8dd39340ece85b93495b2e56c6156f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): WMFData/Sources/WMFDataMocks/WMFMockKeyValueStore.swift:29-35 | WMFData/Sources/WMFData/Store/WMFUserDefaultsStore.swift:27-33 \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":"WMFData/Sources/WMFDataMocks/WMFMockKeyValueStore.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc711602434b82001b2517baa04c292c093c7051284ab56ad42cb826125e40b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/DiscoverReadingListCoordinator.swift:178-186 | Wikipedia/Code/ReadingListsViewController.swift:110-118 \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":"Wikipedia/Code/DiscoverReadingListCoordinator.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a37d0449491ab364a884c04adc88caba4e80697c99dc3cb221b235d118a18a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/NotificationsCoordinator.swift:24-30 | Wikipedia/Code/WMFAppViewController\u002BExtensions.swift:206-211 \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":"Wikipedia/Code/NotificationsCoordinator.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ec5895c26810b508a46e3979342e2e0080d177b2ff368a5de4b8a1a84fa2dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Wikipedia/Code/OnThisDayViewControllerHeader.swift:9-18 | Wikipedia/Code/NewsCollectionViewHeader.swift:6-15 \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":"Wikipedia/Code/OnThisDayViewControllerHeader.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d124ef26df84c9e4815f62df761eb6aead8223032ef1bf4c6c9f5b469fbcbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): WMF Framework/WMFFeedNewsStory.swift:95-102 | WMF Framework/WMFFeedOnThisDayEvent.swift:101-108 \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":"WMF Framework/WMFFeedNewsStory.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b27664aeee12bc076c558e3bc38a4cf8220a30a1342ff456bc4e6ee0cd5ce7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsViewModel.swift:90-101 | WMFComponents/Sources/WMFComponents/Components/Settings/Push Notifications/WMFPushNotificationsSettingsViewModel.swift:117-128 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsViewModel.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"164bb166d44acb3b5e6e3b693df1504896b113773bbeb790139667a1f38c3c50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewDonateCountSlideDataController.swift:55-64 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLocationSlideDataController.swift:39-48 \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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewDonateCountSlideDataController.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"014c4facb76bc2cf904cd164db5a3ad09170f4c1fcf4f29ee0077778fb3945e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 5\u002B corresponding lines): Wikipedia/Code/ArticleURLListViewController.swift:111-116 | Wikipedia/Code/ArticleViewController\u002BArticlePreviewing.swift:32-36 | Wikipedia/Code/ExploreCardViewController.swift:681-685 | Wikipedia/Code/NewsViewController.swift:88-95 | Wikipedia/Code/OnThisDayViewController.swift:114-119 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 5 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":"Wikipedia/Code/ArticleURLListViewController.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4012aa65bd8294d9d5f512e6bdea0415fccf9310f6eb78819d550905dd67710f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/BaseExploreFeedSettingsViewController.swift:304-307 | Wikipedia/Code/Temp Accounts/TempAccountsSettingsViewController.swift:154-158 \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":"Wikipedia/Code/BaseExploreFeedSettingsViewController.swift"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24edc97eb69eef85da1f5cd09ec883697c33155d97c66f6ae78762f94b5fd19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/YearInReviewCoordinator.swift:162-169 | Wikipedia/Code/HomeCoordinator.swift:28-33 \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":"Wikipedia/Code/YearInReviewCoordinator.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"569359f6d657da7c653cec4c8f40a4298217a2e901211c4a1cb041fa969e19cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Command Line Tools/Update Localizations/localization.swift:78-80 | Wikipedia/Code/ArticleViewController\u002BDonationReminder.swift:391-396 | scripts/GenerateTopicsStrings.swift:271-276 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"Command Line Tools/Update Localizations/localization.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fc8496dec45be7d0cc757ce939313b706334cd1c1b22283bf67485f6408074"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverReadingListRowView.swift:88-99 | WMFComponents/Sources/WMFComponents/Components/Search/Results/WMFSearchResultRow.swift:159-171 \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":"WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverReadingListRowView.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f29978567502668f737d7d3cc7af32c50b25d765d2596247283ace3cc6676f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/ActivityTabViewController.swift:536-543 | Wikipedia/Code/DiscoverReadingListCoordinator.swift:160-166 \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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b911e29aca5ac29ff54dd3102be116d79277502ae0e0e91930ba70dceac397e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 4\u002B corresponding lines): Wikipedia/Code/ActivityTabViewController.swift:639-647 | Wikipedia/Code/ArticleViewController.swift:993-998 | Wikipedia/Code/ExploreViewController.swift:259-262 | Wikipedia/Code/PlacesViewController.swift:468-471 | Wikipedia/Code/SearchViewController.swift:513-517 | Wikipedia/Code/SettingsTabViewController.swift:278-295 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 4 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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3899b684445d0879535fdae8f9648fe13478e98f3fc53364cc674951209fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 4\u002B corresponding lines): Wikipedia/Code/ArticleLocationCollectionViewController.swift:64-68 | Wikipedia/Code/ArticleURLListViewController.swift:90-94 | Wikipedia/Code/DiffContainerViewController.swift:256-260 | Wikipedia/Code/NewsViewController.swift:46-49 | Wikipedia/Code/NotificationsCenterDetailViewController.swift:44-49 | Wikipedia/Code/OnThisDayViewController.swift:49-53 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 4 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":"Wikipedia/Code/ArticleLocationCollectionViewController.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4f9af12e2caeedbc11f4a72c936443ede5cbf51df3642358807ea6197f6364"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Wikipedia/Code/HomeViewController.swift:420-427 | Wikipedia/Code/SavedCoordinator.swift:160-171 \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":"Wikipedia/Code/HomeViewController.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d29b1d132aa0a0c97e8bf531e09e321bf211e8b5ea9ee3d29f1e809728a4169"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/SearchViewController.swift:519-525 | Wikipedia/Code/ActivityTabViewController.swift:625-637 \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":"Wikipedia/Code/SearchViewController.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae8583c2b6c4abf4386b0c48ad8edafd2f7e31504280dcaf62834b79041171d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift:193-199 | Wikipedia/Code/DisambiguationPagesViewController.swift:39-42 | Wikipedia/Code/EditSaveViewController.swift:330-333 | Wikipedia/Code/NotificationsCenterViewController.swift:183-191 | Wikipedia/Code/TalkPageArchivesViewController.swift:77-82 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 4 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":"WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b29087bdd37bb500ca2df5420914ab38ef5ffca4ff0b358c19f3c1ec1c02dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Wikipedia/Code/Controllers/ShortDescriptionController.swift:251-260 | Wikipedia/Code/Controllers/ShortDescriptionController.swift:267-274 \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":"Wikipedia/Code/Controllers/ShortDescriptionController.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e15b04872a17047500f464d058a5ad4f26ac4a49e51968a4aec47702b2cad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/DiscoverInstrumentation.swift:64-72 | Wikipedia/Code/SearchInstrumentation.swift:101-109 \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":"Wikipedia/Code/DiscoverInstrumentation.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"730f6d0e12920fd2ee93d88c80f2fa49a7221f654d050e9a583e8e3b463d6591"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Wikipedia/Code/TalkPageTopicComposeViewController.swift:609-616 | WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationBottomSheetView.swift:414-421 \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":"Wikipedia/Code/TalkPageTopicComposeViewController.swift"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"411ddfabaeca3d0eb3376c38ff6f4c51eef29d87ff38517e5e59d2c18dd582ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewController.swift:21-36 | Wikipedia/Code/SettingsTabViewController.swift:153-165 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4a0da5b1c3777878de5d4647472f5e21e46290067913f5e10b4eb8ea3f56a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Wikipedia/Code/ActivityTabViewController.swift:330-345 | Wikipedia/Code/ExploreViewController.swift:98-111 | Wikipedia/Code/SettingsTabViewController.swift:39-57 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7096cf438442b9a24879db36259d22d39f4ba2594a2d91d884fb648d028ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/DonateFunnel.swift:599-605 | Wikipedia/Code/ImageRecommendationsFunnel.swift:263-269 \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":"Wikipedia/Code/DonateFunnel.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"602fa7d078eaa799671641fbd69d29666ad5937c6c40ffc2f463e5bdac37d72a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/YearInReviewCoordinator.swift:511-521 | Wikipedia/Code/DiscoverReadingListCoordinator.swift:160-166 \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":"Wikipedia/Code/YearInReviewCoordinator.swift"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"8876f72a2d4130c0412f115eb181e9c935eae0e3778b453adf8b2d2729509609"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMF Framework/WMFSparklineView.swift:6-8 | Widgets/Utilities/CGPoint\u002BExtensions.swift:6-8 \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":"WMF Framework/WMFSparklineView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bed0b48a9dd578b085bba515d99e42418a14e42ca799d36d05256ce37e6962"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMF Framework/ImageCacheController.swift:129-131 | WMF Framework/PermanentCacheController.swift:60-62 \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":"WMF Framework/ImageCacheController.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec6f7daa3e09a6ae8afd0d7a0db07606e83328992fe8d1b59c0de9bc7510b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMF Framework/ImageCacheController.swift:158-160 | WMF Framework/PermanentCacheController.swift:40-42 \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":"WMF Framework/ImageCacheController.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"de203b4169d0efb3b8220beb30919ca5306d6d1d5c04200a218549ce585efa09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift:588-593 | WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFImpactViews.swift:361-365 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84f0410984d50b79d0d46f88c8bb27eb010f2e69f572ce2fe8018adba5acbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Wikipedia/Code/FontSizeSliderViewController.swift:44-51 | Wikipedia/Code/ReadingThemesControlsViewController.swift:153-160 \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":"Wikipedia/Code/FontSizeSliderViewController.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe9ffa710d49b0c5ca48e24e1a277e00b8fec102a19ff56b36b4fa5abdbc7a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFImpactViews.swift:355-359 | WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Results/WMFWhichCameFirstResultsView.swift:28-33 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFImpactViews.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea778614d7543f0471afaa258ab3a74fb1daa70b89eb1208296459e8c9b3c99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift:219-223 | Wikipedia/Code/TalkPageViewController.swift:291-296 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaf05255f8758908abaf8a8479f68f12e6ef49a0eaecdf50c9c69913ecc273a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:848-853 | WMFData/Sources/WMFData/Models/Shared/WMFWhichCameFirstGameState.swift:33-38 \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":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e08cddbe4d2cbefb0884a95afa01e614f70c640a9c5c8cc4e1f6a5bb07eea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewSaveCountSlideDataController.swift:56-62 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewReadCountSlideDataController.swift:174-180 \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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewSaveCountSlideDataController.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"221f94ff3f7453d57af39ed06b1c4d42f01413c444b959bf9d4aba7987061dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Wikipedia/Code/DiscoverInstrumentation.swift:54-58 | Wikipedia/Code/SearchInstrumentation.swift:90-95 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DiscoverInstrumentation.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"422cfdef33d51da6ee89103228a30fdad37148057a26b27d1ccf74a0c2d2a624"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/DiscoverReadingListCoordinator.swift:178-186 | Wikipedia/Code/ReadingListsCoordinator.swift:111-119 \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":"Wikipedia/Code/DiscoverReadingListCoordinator.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae4c871161e97e152707d010ea87ac6edbd5b2dc751729f148a50fd4d9780a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Wikipedia/Code/ArticleFetchedResultsViewController.swift:108-113 | Wikipedia/Code/ReadingListEntryCollectionViewController.swift:329-334 | Wikipedia/Code/ReadingListsViewController.swift:295-300 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleFetchedResultsViewController.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9b919f12e4903f7e74860637fbe785ef44af7858cdb789f1c373f09ab36f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/DescriptionWelcomePageViewController.swift:165-170 | Wikipedia/Code/WMFReferencePageViewController.swift:138-143 \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":"Wikipedia/Code/DescriptionWelcomePageViewController.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aebfb46f55417beb59fbebea2a5afadb8279eb8d6795609a2158ea0f646ca33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): WMF Framework/WMFSparklineView.swift:10-15 | Widgets/Utilities/CGPoint\u002BExtensions.swift:10-15 \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":"WMF Framework/WMFSparklineView.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93fa10abc22e9718a5fe1df0caf2c6158811913d11b9f5a29db5052aae48de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Article Tabs/WMFArticleTabsView.swift:487-489 | WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Results/Articles View/WMFWhichCameFirstArticlesView.swift:153-155 \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":"WMFComponents/Sources/WMFComponents/Components/Article Tabs/WMFArticleTabsView.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f3a1a406bf390a9d483626664d1f1b10a430eea816bafa7c7a5145feff990f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/AppearanceSettingsViewController.swift:350-354 | Wikipedia/Code/BaseExploreFeedSettingsViewController.swift:299-302 \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":"Wikipedia/Code/AppearanceSettingsViewController.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93132c329261f607aa1e4794db44c6004fbadcf88c37ca9980727868ac0d450"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): WMF Framework/Remote Notifications/Operations/RemoteNotificationsRefreshCrossWikiOperation.swift:9-20 | WMF Framework/Remote Notifications/RemoteNotificationsOperationsController.swift:9-21 \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":"WMF Framework/Remote Notifications/Operations/RemoteNotificationsRefreshCrossWikiOperation.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d80792fb84bb649ba7c4f3d8acf8f463cfc4d787ce1b6c54ef2ace18a98bfbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): WMF Framework/UserSession.swift:80-86 | WMFTestKitchen/Sources/WMFTestKitchen/Instrument/Funnel.swift:20-26 \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":"WMF Framework/UserSession.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2bff934c90475a4e2174370fc7ffdece7d675e53f4ed54f4bd43e152940913"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMFData/Sources/WMFData/Service/Protocol/WMFURLSession.swift:24-26 | Wikipedia/Code/TestNetworkFixtures/TestNetworkFixtureURLSession.swift:21-23 \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":"WMFData/Sources/WMFData/Service/Protocol/WMFURLSession.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eedd77cf615e2d382c977facd1941cf9d047964898f874a311eb55487664e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Wikipedia/Code/DiscoverInterestsCoordinator.swift:45-53 | Wikipedia/Code/DiscoverSetupCoordinator.swift:41-49 \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":"Wikipedia/Code/DiscoverInterestsCoordinator.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d6ecbb711451f83ca91a21ae4c387b8612907ac2e05a10d59a2d409a2ca97c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMF Framework/MediaWikiFetcher.swift:187-190 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:170-172 \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":"WMF Framework/MediaWikiFetcher.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6de9938eb25b226694e71a60ee2ffa670dcb08c671299b3bbdabe362184bdb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsView.swift:344-348 | WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsView.swift:62-66 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsView.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9e0c3b5dec0d254405dcc8e27d771989dbff3b777d9a4fd64fcc9f65fd5a18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsView.swift:350-354 | WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsView.swift:68-72 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsView.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d00077235ff857f13ff54e1c95a941f379a5617231876ad15f3c2ec5693297"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift:91-102 | WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/WMFEditorToolbarNavigatorButton.swift:66-77 \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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a52435622c45170a4ca9483023d63766236ee8a7d90dc809a3521cdb26e09ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift:123-127 | WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorMultiButton.swift:127-133 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8427ff7ca9177089bb307f470966a8bc0430d5d615240a0914c8b03831efca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Wikipedia/Code/Session.swift:400-403 | Wikipedia/Code/SessionHTTPClient.swift:69-71 | Wikipedia/Code/TestNetworkFixtures/TestNetworkFixtureHTTPClient.swift:34-36 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"Wikipedia/Code/Session.swift"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e51c9ff9a7c1ae5fbee80f46f8918308554c9f7f835b9664951caaea45b42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Wikipedia/Code/SessionHTTPClient.swift:65-67 | Wikipedia/Code/TestNetworkFixtures/TestNetworkFixtureHTTPClient.swift:30-32 \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":"Wikipedia/Code/SessionHTTPClient.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c538ea03724287182df6daaae6e9fbce048a117d4a9f60c2f29686c6b8e2ed5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/DiffHeaderEditorView.swift:146-151 | Wikipedia/Code/DiffHeaderSummaryView.swift:94-97 \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":"Wikipedia/Code/DiffHeaderEditorView.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a052ee98a494fe69bddcd9deceff358daca3a4279287e5842c91176a92406192"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Wikipedia/Code/EditSaveViewController.swift:414-419 | Wikipedia/Code/TalkPageViewController.swift:285-289 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/EditSaveViewController.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcdb012c8b592d7cb3d3b96c4ab18ff4a79ba5d0b9b4287bddcc361a51c60c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstView.swift:70-73 | WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Results/WMFWhichCameFirstResultsView.swift:19-22 \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":"WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstView.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d927c6d3de89451a11593e92e8a604d0717b5796df9a8c3099fb7b0be27094"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Wikipedia/Code/LibrariesUsed.swift:208-217 | Wikipedia/Code/PageIssuesTableViewController.swift:70-79 \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":"Wikipedia/Code/LibrariesUsed.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db8b523e196cb467861db71ef5b5bc54bb5b1b04cc9f481600530080952d7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/NewsViewController.swift:150-155 | Wikipedia/Code/OnThisDayViewController.swift:179-185 \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":"Wikipedia/Code/NewsViewController.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3693803d21a2e9b614afdcc6226520bd16473c75350de0294fa2312a1b9ea894"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/NewsViewController.swift:157-162 | Wikipedia/Code/OnThisDayViewController.swift:187-193 \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":"Wikipedia/Code/NewsViewController.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"36389b8efe6ff83f2a553915363b78d7ca731e34958d3820e7ff0d2b0738c543"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/TalkPageTopicComposeViewController\u002BTalkPageFormattingToolbar.swift:50-53 | Wikipedia/Code/TalkPageViewController\u002BTalkPageFormattingToolbar.swift:53-58 \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":"Wikipedia/Code/TalkPageTopicComposeViewController\u002BTalkPageFormattingToolbar.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"683c84a4fdfa56a43f01846a25bdc844f0bea43be43e15058f38e17590582150"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/WMFAccountCreationViewController.swift:61-64 | Wikipedia/Code/WMFLoginViewController.swift:59-64 \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":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"915966ed0408d74fe65d7e3ba197547984e5264bdb471eb67e93b5d5bd91c148"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): WMF Framework/BatchEditToolbarViewController.swift:39-46 | Wikipedia/Code/PageHistoryComparisonSelectionViewController.swift:107-114 \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":"WMF Framework/BatchEditToolbarViewController.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1a3f1419961b08bc228d45d74636c60c5f17c0313eb9f11fa59021dc8b633c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift:104-106 | WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/WMFEditorToolbarNavigatorButton.swift:79-81 \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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"03aead13d927a43aaa01015dd5c8f9d33859cce4e6b1fa23ee6f7f42642a21f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift:198-204 | WMFData/Sources/WMFData/Data Controllers/Games/WMFGamesDataController.swift:276-282 \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":"WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc8c2afb15cd807f8f619386738f9ded3b8c09f9b2d7cb21fa4a899697138fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewMostReadDateSlideDataController.swift:18-22 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLocationSlideDataController.swift:19-24 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewMostReadDateSlideDataController.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2cf93f7594153610ce4bbc5f1c48fd5a87aee2269675fb1e2e4a4b3d84042e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewViewCountSlideDataController.swift:68-70 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewEditCountSlideDataController.swift:55-57 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewMostViewedArticlesSlideDataController.swift:79-81 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewViewCountSlideDataController.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c6152580c9c4f5e98788d2f30e134d89e7a38732468cf8a1698d7af54a9af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 3\u002B corresponding lines): Wikipedia/Code/ArticleCollectionViewController.swift:133-135 | Wikipedia/Code/ArticleLocationCollectionViewController.swift:92-94 | Wikipedia/Code/ColumnarCollectionViewController.swift:373-375 | Wikipedia/Code/NewsViewController.swift:51-53 | Wikipedia/Code/OnThisDayViewController.swift:28-30 | Wikipedia/Code/PageHistoryViewController.swift:632-634 | Wikipedia/Code/ReadingListEntryCollectionViewController.swift:279-281 | Wikipedia/Code/ReadingListsViewController.swift:177-179 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 3 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":"Wikipedia/Code/ArticleCollectionViewController.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb42b4b2f88272a62f5b1e119c207206b2033255c75837f8f1b882a3ff369038"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/WMFAccountCreationViewController.swift:293-298 | Wikipedia/Code/WMFLoginViewController.swift:170-175 \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":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f2d23bcc62bd934aa950e7f904212db9c8cadf8b1293262354ddcb97c0a9dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Wikipedia/Code/ArticleViewController\u002BArticlePreviewing.swift:27-30 | Wikipedia/Code/ColumnarCollectionViewController.swift:554-557 | Wikipedia/Code/ExploreCardViewController.swift:699-702 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"Wikipedia/Code/ArticleViewController\u002BArticlePreviewing.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7313bb18dedde494b5f37ff16f84f946e79fa96c733d1f4fbb781ba966ce1a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Wikipedia/Code/ArticleViewController\u002BLinkPreviewing.swift:32-34 | Wikipedia/Code/EditPreviewViewController.swift:307-310 \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":"Wikipedia/Code/ArticleViewController\u002BLinkPreviewing.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd18506b22fb6bbd569c57c3b25eb1b08bac9b15cb016f3ad101cd89c7f8898"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/BaseExploreFeedSettingsViewController.swift:213-216 | Wikipedia/Code/Temp Accounts/TempAccountsSettingsViewController.swift:69-72 \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":"Wikipedia/Code/BaseExploreFeedSettingsViewController.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dc66a0160d6bedd724d8fc9103fd40de9f3f5e516e2085fa531cfce0aabf01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/ExploreViewController.swift:209-213 | Wikipedia/Code/SplashScreenViewController.swift:27-30 \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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c6ddf97585ade395034aaac6d4e98d60f5576123573d8272f5858bc64bd462"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/ExploreViewController.swift:426-431 | Wikipedia/Code/ReadingListsViewController.swift:101-106 \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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd73fbc5763ca93460fc4402e9e9dbb1ccfe02760595a0a56eb12a5571011b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorHeaderSelectScrollView.swift:35-40 | WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorMultiButton.swift:35-40 \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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorHeaderSelectScrollView.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d8804636de6b56d694be66dce43b2e12bd96dd07ee56ad496b4f23bed692bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Wikipedia/Code/CollectionViewFooter.swift:58-62 | Wikipedia/Code/InsertMediaSettingsButtonView.swift:34-38 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/CollectionViewFooter.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"be826c3e40d55e143b095b8b57cab3a8ed2cd6e932b16957c5d20ff692b05c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): WMF Framework/ArticleCollectionViewCell\u002BThemeable.swift:20-24 | Wikipedia/Code/ReadingListsCollectionViewCell.swift:206-210 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ArticleCollectionViewCell\u002BThemeable.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d654fe67f5672263c1743a7d6ee832382e93f50081ecb9ec0d7b49b533701b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): Wikipedia/Code/ArticleFullWidthImageCollectionViewCell.swift:158-161 | Wikipedia/Code/ArticleLocationCollectionViewCell.swift:137-140 | Wikipedia/Code/ArticleRightAlignedImageCollectionViewCell.swift:105-108 | Wikipedia/Code/NewsCollectionViewCell.swift:35-38 | Wikipedia/Code/RankedArticleCollectionViewCell.swift:34-37 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 4 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":"Wikipedia/Code/ArticleFullWidthImageCollectionViewCell.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b830546a5b560fa7f89459151136c2ed0531753949f154aadcd7c048e70124fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/CircledRankView.swift:42-45 | Wikipedia/Code/TagCollectionViewCell.swift:48-51 \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":"Wikipedia/Code/CircledRankView.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a9019e086a53f7385c8a45d840ff5c69915234175ae2227770844eac2dc1a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewTopArticlesSlideDataController.swift:55-57 | Wikipedia/Code/WikipediaURLTranslations.swift:15-17 \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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewTopArticlesSlideDataController.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf646b02e04b6be74fd29b29c66371ef7b8744c06e18650dba91945e1203beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Wikipedia/Code/ArticleCollectionViewController.swift:50-55 | Wikipedia/Code/ExploreViewController.swift:900-905 \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":"Wikipedia/Code/ArticleCollectionViewController.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4008d766522c8dbd25a8f186f35d8a5f135e0efb5be886fb6af73d927961c245"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/BaseExploreFeedSettingsViewController.swift:271-274 | Wikipedia/Code/Temp Accounts/TempAccountsSettingsViewController.swift:107-110 \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":"Wikipedia/Code/BaseExploreFeedSettingsViewController.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b692709e9a20ecdc1afb6aebb3c5e716e72f23170e8ae720d37411782994e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Wikipedia/Code/DiffListChangeCell.swift:196-206 | Wikipedia/Code/DiffListContextCell.swift:167-177 \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":"Wikipedia/Code/DiffListChangeCell.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a8bff6900000d4df131044d3e0cc4a673cd4c5fdd0bc3b572928944ccbe8e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/ImageCollectionViewCell.swift:35-38 | Wikipedia/Code/InsertMediaSearchResultCollectionViewCell.swift:28-31 \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":"Wikipedia/Code/ImageCollectionViewCell.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2988bdbdd9b0e9f02bfb5c822c07a404bb8506372eb9a6bf2ac802512997e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/ArticlePopoverViewController.swift:86-89 | Wikipedia/Code/ScrollableEducationPanelViewController.swift:463-469 \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":"Wikipedia/Code/ArticlePopoverViewController.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f028c6182ed78aef0b73a84c46e327f1eebf028ac3a461fd36e42388660e934"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Wikipedia/Code/ExploreCardViewController.swift:532-534 | Wikipedia/Code/ReadingListsViewController.swift:173-175 \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":"Wikipedia/Code/ExploreCardViewController.swift"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd540aa4a0aa5d5fa5359969153ee9ec9fb588d9176506096abd29ed8319874"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Wikipedia/Code/NotificationsCenterDetailActionCell.swift:40-43 | Wikipedia/Code/NotificationsCenterDetailContentCell.swift:17-20 | Wikipedia/Code/NotificationsCenterDetailHeaderCell.swift:77-80 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"Wikipedia/Code/NotificationsCenterDetailActionCell.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7659984ba034d76566fbe2928990a84a19bd8eb7a4439173370c7ea582b46c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Shared/Error View/WMFErrorViewModel.swift:11-15 | WMFComponents/Sources/WMFComponents/Components/Temp Accounts/WMFTempAccountsSheetViewModel.swift:34-39 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Shared/Error View/WMFErrorViewModel.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"be448b4f1ccec21077f067ca985ba6096dc7228231523798cfb4585f2d63ba62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Wikipedia/Code/ArticleViewController\u002BFindInPage.swift:22-31 | Wikipedia/Code/TalkPageFindInPageState.swift:33-44 \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":"Wikipedia/Code/ArticleViewController\u002BFindInPage.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafda2bd13b236479a467c68652f1acf2d97dc1744b8c6bdf8d1996d207b3ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Wikipedia/Code/ArticleViewController\u002BFindInPage.swift:33-44 | Wikipedia/Code/TalkPageFindInPageState.swift:47-58 \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":"Wikipedia/Code/ArticleViewController\u002BFindInPage.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d8728c2c02b831f806557262679bce2c9a4211b2817a44f1e286a9e9877c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/EditHistoryCompareFunnel.swift:21-24 | Wikipedia/Code/NavigationEventsFunnel.swift:50-53 \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":"Wikipedia/Code/EditHistoryCompareFunnel.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff24692a1652e587e1140e8948980b4db21ac7756484021eec8721f9c6058c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Wikipedia/Code/EditorViewController.swift:961-964 | Wikipedia/Code/TalkPageTopicComposeViewController\u002BTalkPageFormattingToolbar.swift:66-69 | Wikipedia/Code/TalkPageViewController\u002BTalkPageFormattingToolbar.swift:74-77 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"Wikipedia/Code/EditorViewController.swift"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3ecf06e9a175cb66fb384b9118a426450e756b0a921cc30c8120b6955eeaca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/WMFAccountCreationViewController.swift:66-69 | Wikipedia/Code/WMFLoginViewController.swift:66-69 \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":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ef0f3298bac00e2f73951fb94b1dd9bc170c6cb215c9825172f5f038397590"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): WMF Framework/CacheFetching.swift:102-104 | WMF Framework/CacheFileWriter.swift:126-128 | Wikipedia/Code/Session.swift:770-772 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"WMF Framework/CacheFetching.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a6b80346bcb746be8158a9f6bd57693ac4c322d7945ac31bd78827b33e9cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMF Framework/CacheFetching.swift:126-128 | Wikipedia/Code/Session.swift:794-796 \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":"WMF Framework/CacheFetching.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20a6d7203a7ea09c4cee70956a265f9397c2851fe2844bcb8c2235bcbf310b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverReadingListHostingController.swift:25-33 | WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsHostingController.swift:25-33 \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":"WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverReadingListHostingController.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0a224ba24a86f0574d3986159cf9a889251d4faacd2cf2e12dd37a9087cb3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift:57-67 | WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorHeaderSelectButton.swift:50-60 | WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/WMFEditorToolbarNavigatorButton.swift:53-62 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3383ea8058fe1b7816c67e1555701b5709c6428d61db31041c281734cefd07fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewHighlightsShareView.swift:225-227 | Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:1199-1201 \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":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewHighlightsShareView.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d93eb747f693341fba3fdb9e1cd8acb919129a62f275793559b6360dca5e05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift:64-71 | WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverReadingListDataController.swift:139-142 \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":"WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce4d400181b076933943ebbf5492f9c458f8a5e12baf581ff44ac13759cc322"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewMostReadCategoriesSlideDataController.swift:25-28 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewDaysVisitedSlideDataController.swift:38-41 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewReadingStreakSlideDataController.swift:72-75 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewMostReadCategoriesSlideDataController.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2e3042e57bca0a059a1dd6c4fcdc648b3d5594631da5ba2bb7a79a7e39d8c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): WMFData/Sources/WMFData/Store/WMFUserDefaultsStore.swift:22-25 | WMFData/Sources/WMFDataMocks/WMFMockKeyValueStore.swift:24-27 \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":"WMFData/Sources/WMFData/Store/WMFUserDefaultsStore.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"031c94ca47bd78e15b58514a8f8522cf40e6e240087d97237061a361051f1323"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Wikipedia/Code/ArticleCollectionViewController.swift:186-188 | Wikipedia/Code/ReadingListEntryCollectionViewController.swift:476-478 \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":"Wikipedia/Code/ArticleCollectionViewController.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7948d38355521e71c40b88c8566fbc27112d931cdca8f8d073d65894be84a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Wikipedia/Code/ArticleViewController\u002BReferences.swift:4-6 | Wikipedia/Code/EditPreviewViewController.swift:231-233 \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":"Wikipedia/Code/ArticleViewController\u002BReferences.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6cfb7b5e73fa8ec3ca50da71e819dac287ba4ff54dd3c9ad43b044be3a4cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Wikipedia/Code/EditPreviewViewController.swift:111-119 | Wikipedia/Code/EditSaveViewController.swift:449-456 \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":"Wikipedia/Code/EditPreviewViewController.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4e65f20cd11dd9b314acccacce5438aa0e6d3038d00ec5010685c0b9be8c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFInterestArticleCardViewModel.swift:23-25 | WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:204-206 | Wikipedia/Code/LegacyReadingListsDataSource.swift:226-228 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFInterestArticleCardViewModel.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec039fe2b26e935da0fdf4ec3e84eaa79d4499e7c5a10cdc6f7b745e5901aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Wikipedia/Code/DonateCoordinator.swift:690-696 | Wikipedia/Code/NotificationsCenterViewController.swift:641-647 \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":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad3ba11bda7f8ff2815fcb8bde638607be6e3a9b353c00a05f2aba06433239b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/SearchViewController.swift:527-530 | Wikipedia/Code/SettingsTabViewController.swift:237-240 \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":"Wikipedia/Code/SearchViewController.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a5cfe51024684da8e6e16f59bf65128c093cb7946384151c9d5869c02673dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift:75-78 | WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverReadingListDataController.swift:83-86 \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":"WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0654d7a7db8e89ba8d7b7c8df7580eecb3d38bd7767110a4f1529a07894ee147"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Wikipedia/Code/ArticleViewController\u002BAnnouncements.swift:245-252 | Wikipedia/Code/ExploreViewController.swift:1098-1101 \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":"Wikipedia/Code/ArticleViewController\u002BAnnouncements.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"18652d0ae98fcaaaf96ddb9eb24eecaf334c21da18927a82906779a350c90c62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201349 lines \u00D7 2): Wikipedia/Code/TempAccountSheetCoordinator.swift:72-119 | Wikipedia/Code/TempAccountSheetCoordinator.swift:138-186 \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 \u0060Wikipedia/Code/TempAccountSheetCoordinator.swift:72\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":"Wikipedia/Code/TempAccountSheetCoordinator.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a340e791e92b5b4f269c39e413e96f06be50be9082872ea7ca59747ae8a5252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 3): WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift:165-209 | WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift:297-340 | WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift:389-433 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fe83070570ef4535c9e1edfa13809cf951efc5ca3c973495d043ab98a03e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:18-59 | Wikipedia/Code/NotificationsCenterDetailViewModel\u002BActionExtensions.swift:82-123 \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 \u0060Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.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. 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":"Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"196ce21530b6644530a57494cc66217a8cc30e745d28afd9c85cdf724679c874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): WMFData/Sources/WMFData/Service/WMFBasicService.swift:109-145 | WMFData/Sources/WMFData/Service/WMFBasicService.swift:183-220 \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":"WMFData/Sources/WMFData/Service/WMFBasicService.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6dfa3492a9f5469bf8b9543d54e8f85a91e94ff6b99b24a73e63da18d721ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): Wikipedia/Code/ArticleViewController.swift:604-636 | Wikipedia/Code/ExploreViewController.swift:1159-1191 \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 \u0060Wikipedia/Code/ArticleViewController.swift:604\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":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"3812573bc1748fb2f2a5b5e4d27fbb34e5cb9ff884fc3f2cf5b833868c4b5192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Reading Challenge Widget/WMFRandomWidgetView.swift:73-101 | WMFComponents/Sources/WMFComponents/Components/Reading Challenge Widget/WMFRandomWidgetView.swift:110-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060WMFComponents/Sources/WMFComponents/Components/Reading Challenge Widget/WMFRandomWidgetView.swift:108\u0060 calls \u0060min\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Reading Challenge Widget/WMFRandomWidgetView.swift:72\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":"WMFComponents/Sources/WMFComponents/Components/Reading Challenge Widget/WMFRandomWidgetView.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"db41015a553c421ea92ef9f684a80147101523c6b1fe05283eb017c3e82cb920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): Wikipedia/Code/Session.swift:547-572 | Wikipedia/Code/Session.swift:578-604 \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 \u0060Wikipedia/Code/Session.swift:547\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/Session.swift"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf16530880e2dbc5f2952b0b5e596946cc06ad2bb496bad4f15030e85ca74f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): Wikipedia/Code/DiffContainerViewController.swift:917-940 | Wikipedia/Code/DiffContainerViewController.swift:943-968 \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 \u0060Wikipedia/Code/DiffContainerViewController.swift:917\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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"533a8a01b90871f7ca9ec3ad431d8cbd59fec48f28f193c124629206ab3aae83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 5): WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift:19-43 | WMFComponents/Sources/WMFComponents/Components/Settings/Push Notifications/WMFPushNotificationsSettingsView.swift:19-43 | WMFComponents/Sources/WMFComponents/Components/Settings/Search/WMFSearchSettingsView.swift:19-43 | WMFComponents/Sources/WMFComponents/Components/Settings/Storage and Syncing/WMFStorageAndSyncingSettingsView.swift:19-43 | WMFComponents/Sources/WMFComponents/Components/Settings/Year In Review/WMFYearInReviewSettingsView.swift:19-43 \u2014 before extracting anything, compare \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Push Notifications/WMFPushNotificationsSettingsView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 69 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 \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift:19\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060viewModel\u0060 to \u0060WMFAccountSettingsViewModel\u0060 in one and \u0060WMFPushNotificationsSettingsViewModel\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":"WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc93f2d0ecc67fefd35fded6d1adba9e63071b1cacb87a53580294fe3ce292b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Wikipedia/Code/SettingsCoordinator.swift:85-109 | Wikipedia/Code/WMFAppViewController\u002BExtensions.swift:1341-1365 \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 \u0060Wikipedia/Code/WMFAppViewController\u002BExtensions.swift:1341\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. 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":"Wikipedia/Code/SettingsCoordinator.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c232d6d68d2452979ec3c2e4d793a744b9181d1715a7b35e1c9d9c08dad5709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift:257-280 | WMF Framework/Remote Notifications/Model/RemoteNotificationType.swift:85-108 \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 \u0060WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift:257\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e67236e4024b36c6e12d39dc158bcc0f79edb27eb661060def318ca186357a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:341-364 | WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:382-405 \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 \u0060WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:341\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":"WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f335a3831b21bd9098a21a149e7cac2e0d9b7fe4fc92bc6324fce52c662b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Wikipedia/Code/CollectionViewCell.swift:163-186 | Wikipedia/Code/SizeThatFitsReusableView.swift:79-102 \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":"Wikipedia/Code/CollectionViewCell.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0e3699c5408893dadecdc8596fc6f0c42c105f4c0e24191c107defe0ead779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): Wikipedia/Code/Controllers/ShortDescriptionController.swift:166-188 | Wikipedia/Code/Controllers/ShortDescriptionController.swift:208-229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Wikipedia/Code/Controllers/ShortDescriptionController.swift:166\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. 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":"Wikipedia/Code/Controllers/ShortDescriptionController.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e7ebf6696b312b3549aa4b8aa7dd1144611059c10a62f600e80559312b4d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): Wikipedia/Code/TalkPageCoffeeRollViewController.swift:64-85 | Wikipedia/Code/TalkPageViewController.swift:1370-1392 \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 \u0060Wikipedia/Code/TalkPageCoffeeRollViewController.swift:64\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":"Wikipedia/Code/TalkPageCoffeeRollViewController.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ef96f399c98e462a3513599077a147e11fdd5c22eb2c5e1d111deab6852bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift:81-102 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLongestReadSlideDataController.swift:92-112 \u2014 before extracting anything, compare \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift\u0060 and \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLongestReadSlideDataController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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 \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift:81\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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"df11a413da6b6095fe3c246b5e07a26cb2ce85e9199e5c415ce8c6116d1061fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Wikipedia/Code/EditSaveViewController.swift:263-284 | Wikipedia/Code/EditSaveViewController.swift:297-318 \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 \u0060Wikipedia/Code/EditSaveViewController.swift:263\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/EditSaveViewController.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc13600baa65dc21fdff65399bf9b8df06bb598c9af356e6b160837be1d1ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): Wikipedia/Code/ReadingListsCollectionViewCell.swift:106-126 | Wikipedia/Code/SavedArticlesCollectionViewCell.swift:181-202 \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 \u0060Wikipedia/Code/ReadingListsCollectionViewCell.swift:106\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":"Wikipedia/Code/ReadingListsCollectionViewCell.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"86af99e291535a0c0caec757f713841088ee8849488db98856ccfe005f6287f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): WMF Framework/ArticleCacheController.swift:53-73 | WMF Framework/ArticleCacheController.swift:91-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 \u0060WMF Framework/ArticleCacheController.swift:53\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ArticleCacheController.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7490d30c96a5e3ac718fc91ef8053e91e079441f03a7b9cbcbd7af76eea780c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstView.swift:166-185 | WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstView.swift:200-220 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstView.swift:166\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":"WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstView.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5401091868b2cd51fa714bd5dedb6f4b14da3eb194b11b7dc3acd41c6ccc90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): Wikipedia/Code/ArticleViewController\u002BEditing.swift:161-181 | Wikipedia/Code/ArticleViewController\u002BEditing.swift:215-234 \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 \u0060Wikipedia/Code/ArticleViewController\u002BEditing.swift:161\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":"Wikipedia/Code/ArticleViewController\u002BEditing.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"835e99ae580edb699ddb36ae9878bc71d2bdf60688944cf1fb04207fd392692e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): Wikipedia/Code/TalkPageTopicComposeViewController\u002BTalkPageFormattingToolbar.swift:22-41 | Wikipedia/Code/TalkPageViewController\u002BTalkPageFormattingToolbar.swift:25-45 \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 \u0060Wikipedia/Code/TalkPageTopicComposeViewController\u002BTalkPageFormattingToolbar.swift:22\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":"Wikipedia/Code/TalkPageTopicComposeViewController\u002BTalkPageFormattingToolbar.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9797276dcf598867bfe741937d629cfd31ef407a32658db3e24b22452f2d790b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): WMF Framework/CacheController.swift:151-170 | WMF Framework/ImageCacheController.swift:14-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/CacheController.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe021eb12cbbdcbe07d5278947bb4de63fc346be00f6d14a21f952d8eae2e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): WMF Framework/Remote Notifications/RemoteNotificationsAPIController.swift:297-316 | WMF Framework/Remote Notifications/RemoteNotificationsAPIController.swift:325-343 \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 \u0060WMF Framework/Remote Notifications/RemoteNotificationsAPIController.swift:297\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":"WMF Framework/Remote Notifications/RemoteNotificationsAPIController.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"63648dd8e1e88c7ffad84afef84c81aaa809a95065cd453d9dcead2f5f680485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewController.swift:41-55 | Wikipedia/Code/Database Population/DatabasePopulationHostingController.swift:26-45 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewController.swift:41\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":"WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewController.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e523333eb131b5fbda06add542c3c99b04702fa01d91130fc33f508b11236a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewView.swift:69-87 | WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewView.swift:91-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 \u0060WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewView.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. 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":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewView.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b957e5eef1c762dbdec7117d7529954cad62db5cda380deca8f04b0939fa09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Wikipedia/Code/DiffContainerViewController.swift:1344-1363 | Wikipedia/Code/WatchlistController.swift:288-307 \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 \u0060Wikipedia/Code/DiffContainerViewController.swift:1344\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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"371f422d2f084fe7a1b9349a9b6e7d54fd26714a65f9a3840d3554e5685702c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): Wikipedia/Code/NewsViewController.swift:239-257 | Wikipedia/Code/OnThisDayViewController.swift:241-260 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NewsViewController.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b7b9467d746c327e94258d067c8c4ee7b085242a8d3ce3615fdf08323a5bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): WMF Framework/Fetcher.swift:298-316 | WMF Framework/Fetcher.swift:340-357 \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 \u0060WMF Framework/Fetcher.swift:298\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":"WMF Framework/Fetcher.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"715ad9fb9c2b39be2cce60e5cb549cd4e72862a8893afd6f8aebcdbc463dc95a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): WMF Framework/MediaWikiFetcher.swift:134-152 | WMF Framework/MediaWikiFetcher.swift:156-174 \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 \u0060WMF Framework/MediaWikiFetcher.swift:134\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":"WMF Framework/MediaWikiFetcher.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"81abb74f347884eb375fabbb65b94ac83350c5443b5036a499e8cf0c823418ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift:193-211 | WMF Framework/Remote Notifications/Model/RemoteNotificationType.swift:39-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Remote Notifications/Model/RemoteNotificationFilterType.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e209c1385c046baffff867f703681c2f6740db4b3b792256418827a8904b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201319 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Games/Splash Screen/WMFGamesSplashScreenViewController.swift:40-58 | Wikipedia/Code/WMFWhichCameFirstArchiveViewController.swift:37-50 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Games/Splash Screen/WMFGamesSplashScreenViewController.swift:40\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":"WMFComponents/Sources/WMFComponents/Components/Games/Splash Screen/WMFGamesSplashScreenViewController.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d778bd0c6e858e28d8273285806efdc401c3a69f98e7c98c25550b69e208375"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift:51-69 | WMFComponents/Sources/WMFComponents/Components/Settings/Push Notifications/WMFPushNotificationsSettingsView.swift:56-74 \u2014 before extracting anything, compare \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Push Notifications/WMFPushNotificationsSettingsView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 69 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 \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift:51\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":"WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e25a477cb68dbd97a5df22517e9723a886395220d4673def1f7fe3f8ac597da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift:302-320 | WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift:334-351 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift:302\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":"WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"35509738fd650e4e9a6c6431d385f459139f9e6fd09818e07892c50755bc1c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:672-690 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFRandomDataController.swift:45-63 \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 \u0060WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:672\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":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a9f847db0fcd6d315c96f3f3c9b01433254564fb623ea16d9f1cf8e785ce60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift:157-176 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLongestReadSlideDataController.swift:155-173 \u2014 before extracting anything, compare \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift\u0060 and \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLongestReadSlideDataController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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 \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift:157\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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"334c4145de2701c26b35c00e39b95c6503fa8d21bfba0071158b26ee008db8e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Wikipedia/Code/ColumnarCollectionViewController.swift:193-211 | Wikipedia/Code/InsertMediaSearchResultsCollectionViewController.swift:158-176 \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":"Wikipedia/Code/ColumnarCollectionViewController.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"189d9b9487a4c80cfade98a6c42de42d87e9b22f3c47e9e41e3b19ec5caa76fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Wikipedia/Code/ArticleCollectionViewController.swift:197-214 | Wikipedia/Code/ExploreCardViewController.swift:570-587 \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":"Wikipedia/Code/ArticleCollectionViewController.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6250cd917b34f29f50a3b3d138d31d05b1dda57632226d38ec8b092088453bc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): WMF Framework/PermanentlyPersistableURLCache.swift:721-737 | WMF Framework/PermanentlyPersistableURLCache.swift:742-758 \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":"WMF Framework/PermanentlyPersistableURLCache.swift"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bda2852bfdb464251d73e6120f46dc05afacc1cef70c23db9c926abc4e3b444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:134-150 | Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:242-258 \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. 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":"Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b79d44deb1b8f061c15e98bcacaa8fe0742f9292b635adf3cf45eadc67c856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/WMFHomeFeedWhatsDrivingSettingsView.swift:26-41 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/Main/WMFHomeFeedSettingsView.swift:21-35 | WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsView.swift:108-123 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/WMFHomeFeedWhatsDrivingSettingsView.swift:26\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, \u0060WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsView.swift:124\u0060 calls \u0060ignoresSafeArea\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/WMFHomeFeedWhatsDrivingSettingsView.swift:42\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":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/WMFHomeFeedWhatsDrivingSettingsView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a215ebaac27708ed0cbd5b869b2a2dbfbd1e93231403a04676088c3222816a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): WMF Framework/CacheDBWriting.swift:80-95 | WMF Framework/CacheDBWriting.swift:100-115 \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 \u0060WMF Framework/CacheDBWriting.swift:80\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":"WMF Framework/CacheDBWriting.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ac3b32d80d0fd3ef308112855a68aa48ef4b286432d794808b895c9e017856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Wikipedia/Code/DiffContainerViewController.swift:739-754 | Wikipedia/Code/DiffContainerViewController.swift:783-798 \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 \u0060Wikipedia/Code/DiffContainerViewController.swift:739\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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89368aeb2f3e77682fbf5edc3b80b82037e93ee60910f8f1700b4fa3875fda5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Wikipedia/Code/DiffTransformer.swift:209-224 | Wikipedia/Code/DiffTransformer.swift:231-246 \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 \u0060Wikipedia/Code/DiffTransformer.swift:209\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":"Wikipedia/Code/DiffTransformer.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be7588fcdea04c860939a56b8b92ec7f7aa27b9c9913ad34f5e0784629c13bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): WMF Framework/ThemeableTextField.swift:75-89 | Wikipedia/Code/ThemeableTextView.swift:203-216 \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 \u0060WMF Framework/ThemeableTextField.swift:75\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":"WMF Framework/ThemeableTextField.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3700ef5479c99c1044b164463d888b063709be73d4b3dc1982aeccfa8942bc3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): WMF Framework/WMFBlocksKit.swift:33-47 | WMF Framework/WMFBlocksKit.swift:85-99 \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 \u0060WMF Framework/WMFBlocksKit.swift:33\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/WMFBlocksKit.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f8a044ac726e4478af5440c0d5153cf9410de85e1a05b6ef91c6ad2f802754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift:130-144 | WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift:185-199 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift:128\u0060 calls \u0060padding\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift:183\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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2587ea37698d8bf509a0e6a61aa027bbf518c850d06d54bdfc33fb1a81a217b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift:94-108 | WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift:237-250 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift:94\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":"WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a882399b569a1703e3f889c46f724deb629ef81ae232ff846587c3ddeb4135d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFFundraisingCampaignDataController.swift:253-267 | WMFData/Sources/WMFData/Data Controllers/Temp Accounts/WMFTempAccountDataController.swift:79-92 \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 \u0060WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFFundraisingCampaignDataController.swift:253\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060(@Sendable (Result\u003CVoid, Error\u003E) -\u003E Void)? = nil\u0060 in one and \u0060(@Sendable (Result\u003CBool, Error\u003E) -\u003E Void)? = nil\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":"WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFFundraisingCampaignDataController.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b025423cf9166689951fcd91037b72bc86aeaaa58e27631171381940ddd3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Wikipedia/Code/ArticleViewController\u002BEditing.swift:408-422 | Wikipedia/Code/TalkPageViewController.swift:766-779 \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 \u0060Wikipedia/Code/ArticleViewController\u002BEditing.swift:408\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":"Wikipedia/Code/ArticleViewController\u002BEditing.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"64659a41cd6c2686238571289963b04c201e6791c99fd141a58ddc7a066f42da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Wikipedia/Code/ExploreViewController.swift:1105-1119 | Wikipedia/Code/HomeViewController.swift:159-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Wikipedia/Code/ExploreViewController.swift:1105\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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"94292f77aa7e95001084b8931041741f19cda3e3b31becadf18bbc6ec1df2482"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Wikipedia/Code/NewsViewController.swift:259-273 | Wikipedia/Code/OnThisDayViewController.swift:262-276 \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":"Wikipedia/Code/NewsViewController.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e494111844111f69615842c000587d443b165585577f3c7d282f0848b884bda2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): WMF Framework/MWKDataStore\u002BLegacyPageViews.swift:26-39 | WMF Framework/MWKDataStore\u002BLegacyPageViews.swift:72-85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WMF Framework/MWKDataStore\u002BLegacyPageViews.swift:26\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":"WMF Framework/MWKDataStore\u002BLegacyPageViews.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fddb9c3084e34e11d34b0907dae99aa155e0fd1e11e0ccbf1b4d5787a0d0a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): WMF Framework/Remote Notifications/RemoteNotificationsOperationsController.swift:114-127 | WMF Framework/Remote Notifications/RemoteNotificationsOperationsController.swift:147-160 \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":"WMF Framework/Remote Notifications/RemoteNotificationsOperationsController.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c4dccf18d6988d6639a46697554bfe1747c37dd0cbbf4baaf42f292f498b1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Games/Splash Screen/WMFGamesSplashScreenViewController.swift:79-92 | WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstViewController.swift:29-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Games/Splash Screen/WMFGamesSplashScreenViewController.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"96aedb4302a6cca7c09b97a03fe172eab233180acde1a2520ffa60beb28a6990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Wikipedia/Code/AppOnboardingCoordinator.swift:244-256 | Wikipedia/Code/AppOnboardingCoordinator.swift:260-273 \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 \u0060Wikipedia/Code/AppOnboardingCoordinator.swift:260\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":"Wikipedia/Code/AppOnboardingCoordinator.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef8ffda6165f2997b424a4b060054ef068643d79b3c12f71383f35f551f4f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Wikipedia/Code/ArticlePlaceView.swift:261-274 | Wikipedia/Code/ArticlePlaceView.swift:488-501 \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 \u0060Wikipedia/Code/ArticlePlaceView.swift:261\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":"Wikipedia/Code/ArticlePlaceView.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da5e599805abda03705366850f3343803184bc0f9b7782396ec5448492aa936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Wikipedia/Code/DiffController.swift:140-153 | Wikipedia/Code/DiffController.swift:155-167 \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":"Wikipedia/Code/DiffController.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b461e1a2a673b2204ff115a5506b4d7d3bb73a262440a271cb1242c6f57af51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): Wikipedia/Code/HelpViewController.swift:88-99 | Wikipedia/Code/ReferenceBackLinksViewController.swift:47-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 \u0060Wikipedia/Code/ReferenceBackLinksViewController.swift:47\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":"Wikipedia/Code/HelpViewController.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37a752f271ff3124a3ac7c15679f027979b7fcbb1a844accd52bf42b3753a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Wikipedia/Code/ScrollViewGradientView.swift:39-52 | Wikipedia/Code/WMFImageGalleryGradientViews.swift:35-48 \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":"Wikipedia/Code/ScrollViewGradientView.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f66237e73b862f4e87550b51cb98e5a6c8582ec8a718e864956ffbbd814113e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Wikipedia/Code/WMFAccountCreationViewController.swift:158-178 | Wikipedia/Code/WMFLoginViewController.swift:445-465 \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":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85452046db2cd2223c66744b5fd815e394c2f02757a17fd35abb4dfb44aa398"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:503-516 | Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:1303-1316 \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 \u0060Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:503\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/YearInReviewSlideViewModelFactory.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"06348713b87d1b8101483ace6ff3586f123c499089cd5ee2ea83b94a8f091a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift:31-43 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/WMFHomeFeedForYouSettingsView.swift:22-34 | WMFComponents/Sources/WMFComponents/Components/Settings/Push Notifications/WMFPushNotificationsSettingsView.swift:31-43 | WMFComponents/Sources/WMFComponents/Components/Settings/Search/WMFSearchSettingsView.swift:31-43 | WMFComponents/Sources/WMFComponents/Components/Settings/Storage and Syncing/WMFStorageAndSyncingSettingsView.swift:31-43 | WMFComponents/Sources/WMFComponents/Components/Settings/Year In Review/WMFYearInReviewSettingsView.swift:31-43 \u2014 before extracting anything, compare \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Push Notifications/WMFPushNotificationsSettingsView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 69 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 \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift:31\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift:44\u0060 calls \u0060navigationTitle\u0060, \u0060navigationBarTitleDisplayMode\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/WMFHomeFeedForYouSettingsView.swift:35\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":"WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c815cbc22dc1c117809fcd180b7055e2490109085eb7284ae72f4fad2a1617"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 5): Wikipedia/Code/ActivityTabFunnel.swift:63-74 | Wikipedia/Code/ArticleTabsFunnel.swift:66-77 | Wikipedia/Code/DonateFunnel.swift:117-129 | Wikipedia/Code/EditInteractionFunnel.swift:80-92 | Wikipedia/Code/ImageRecommendationsFunnel.swift:85-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 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ActivityTabFunnel.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc373baf2beacaffe61208411001f7813719aa2674ace5b3bce6963f707dead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift:150-162 | WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift:284-296 | WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift:375-387 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift:150\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":"WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fc9e5ae6588a5fc8b868b2cfad879be8f3aa5f4e80459d4da1e7cb4a43fb77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Wikipedia/Code/WMFAuthAccountCreationInfoFetcher.swift:23-35 | Wikipedia/Code/WMFAuthLoginInfoFetcher.swift:23-35 | Wikipedia/Code/WMFCurrentUserFetcher.swift:69-81 \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 \u0060Wikipedia/Code/WMFAuthAccountCreationInfoFetcher.swift:23\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":"Wikipedia/Code/WMFAuthAccountCreationInfoFetcher.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5fc2e42e115675410dd2ff9d8925174bca69dcd45f3efca6e69b3c1e79fda4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): WMF Framework/CacheController.swift:79-91 | WMF Framework/Event Platform/StorageManager.swift:33-41 \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 \u0060WMF Framework/CacheController.swift:79\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":"WMF Framework/CacheController.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbdee218b2af1557b8d42efb4acdd3cb34c2ee36328f0584c6df76a3af8dde4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): WMF Framework/CacheFileWriterHelper.swift:14-26 | WMF Framework/CacheFileWriterHelper.swift:41-53 \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 \u0060WMF Framework/CacheFileWriterHelper.swift:14\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping (FileSaveResult) -\u003E Void\u0060 in one and \u0060(FileSaveResult) -\u003E Void\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":"WMF Framework/CacheFileWriterHelper.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bca94ef86b152aa11ab91798beab3b2e3000d6cebb9b074e3851e887cec140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): WMF Framework/ReadingListsAPIController.swift:287-298 | WMF Framework/ReadingListsAPIController.swift:350-362 \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 \u0060WMF Framework/ReadingListsAPIController.swift:287\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping (_ listIDs: []?,_ error: Error?) -\u003E Swift.Void\u0060 in one and \u0060@escaping (_ entryIDs: []?,_ error: Error?) -\u003E Swift.Void\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":"WMF Framework/ReadingListsAPIController.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24d2c1662d933bed7b8394a545b8492a6bd3ac55d6ff3f2519b3af11f679fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/WMFHomeFeedForYouSettingsView.swift:44-56 | WMFComponents/Sources/WMFComponents/Components/Settings/Storage and Syncing/WMFStorageAndSyncingSettingsView.swift:55-67 \u2014 before extracting anything, compare \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/WMFHomeFeedForYouSettingsView.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Storage and Syncing/WMFStorageAndSyncingSettingsView.swift\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/WMFHomeFeedForYouSettingsView.swift:44\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":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/WMFHomeFeedForYouSettingsView.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a643411e5d29cf93323412adf77b54b9c2abebbdfc7b9c7478196ed07d192d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Settings/Search/WMFSearchSettingsView.swift:51-63 | WMFComponents/Sources/WMFComponents/Components/Settings/Year In Review/WMFYearInReviewSettingsView.swift:61-73 \u2014 before extracting anything, compare \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Search/WMFSearchSettingsView.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Year In Review/WMFYearInReviewSettingsView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 63 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":"WMFComponents/Sources/WMFComponents/Components/Settings/Search/WMFSearchSettingsView.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"24415532f83c457ec897cd30b1761e74f93cc9d3b9029fbc4e25ba0dcd2501c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:358-370 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:387-399 \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 \u0060WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:358\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:386\u0060 calls \u0060NSPredicate\u0060 and \u0060WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:357\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":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b79aec334dfa8850c1040059774b39cbf8d1c6ebc8e7c9004792550f075375e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewDaysVisitedSlideDataController.swift:43-55 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewReadingStreakSlideDataController.swift:77-89 \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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewDaysVisitedSlideDataController.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d6e817ff20701d8ea81d3d46c18b7984e04ceaf59737ad5a5d8ae1fa2dda7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): WMFData/Sources/WMFData/Service/WMFBasicService.swift:234-246 | WMFData/Sources/WMFData/Service/WMFBasicService.swift:297-309 \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 \u0060WMFData/Sources/WMFData/Service/WMFBasicService.swift:234\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":"WMFData/Sources/WMFData/Service/WMFBasicService.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ad355935c2f48233f26a5ed22e31f5e0e15f508ac95c3bed666a0dab79c16c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): Wikipedia/Code/DiscoverInstrumentation.swift:239-247 | Wikipedia/Code/SavedInstrumentation.swift:69-81 \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 \u0060Wikipedia/Code/SavedInstrumentation.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":"Wikipedia/Code/DiscoverInstrumentation.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"10307d729b28e20e4d5e12b4c3ac10fde6da9c8859fb31b2abde077f588334bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Wikipedia/Code/HomeFeedSettingsCoordinator.swift:90-102 | Wikipedia/Code/HomeFeedSettingsCoordinator.swift:175-187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Wikipedia/Code/HomeFeedSettingsCoordinator.swift:90\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":"Wikipedia/Code/HomeFeedSettingsCoordinator.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b04f495451097fe072ae52276f98e846c04edd92724bcc5a4b04136798ed5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:73-85 | Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:91-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:105\u0060 calls \u0060titleAction\u0060 and \u0060Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:87\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":"Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6266279a2ee54c107492c84f7e98248fdbff574fa9ecd3f0ba121516c08a2cfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Wikipedia/Code/TalkPageCellCommentView.swift:130-142 | Wikipedia/Code/TalkPageCellTopicView.swift:380-392 \u2014 before extracting anything, compare \u0060Wikipedia/Code/TalkPageCellCommentView.swift\u0060 and \u0060Wikipedia/Code/TalkPageCellTopicView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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 \u0060Wikipedia/Code/TalkPageCellCommentView.swift:130\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":"Wikipedia/Code/TalkPageCellCommentView.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"076f493a108f370bc42e3f0c2c6561b4448b744bd3ee702d25dab6bf08c6c9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift:16-27 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/Community/WMFHomeFeedCommunitySettingsView.swift:14-25 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/WMFHomeFeedForYouSettingsView.swift:14-25 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/WMFHomeFeedWhatsDrivingSettingsView.swift:14-25 | WMFComponents/Sources/WMFComponents/Components/Settings/Push Notifications/WMFPushNotificationsSettingsView.swift:16-27 | WMFComponents/Sources/WMFComponents/Components/Settings/Search/WMFSearchSettingsView.swift:16-27 | WMFComponents/Sources/WMFComponents/Components/Settings/Storage and Syncing/WMFStorageAndSyncingSettingsView.swift:16-27 | WMFComponents/Sources/WMFComponents/Components/Settings/Year In Review/WMFYearInReviewSettingsView.swift:16-27 \u2014 before extracting anything, compare \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Push Notifications/WMFPushNotificationsSettingsView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 69 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 \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060viewModel\u0060 to \u0060WMFAccountSettingsViewModel\u0060 in one and \u0060WMFHomeFeedCommunitySettingsViewModel\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":"WMFComponents/Sources/WMFComponents/Components/Settings/Account/WMFAccountSettingsView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"60451dfc957e65e653351683baec255a1fc7d317e92a94dad4d42f8b1bfb417e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 4): Wikipedia/Code/DescriptionEditViewController.swift:147-155 | Wikipedia/Code/DescriptionEditViewController.swift:170-178 | Wikipedia/Code/EditSaveViewController.swift:262-273 | Wikipedia/Code/EditSaveViewController.swift:296-307 \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 \u0060Wikipedia/Code/DescriptionEditViewController.swift:147\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":"Wikipedia/Code/DescriptionEditViewController.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba035ce87a9b0cbbc093c8e612e5c40f686ab90e4f81c97b9c82fe2ce49c6a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): Wikipedia/Code/TalkPageCellCommentView.swift:205-216 | Wikipedia/Code/TalkPageCellTopicView.swift:484-495 | Wikipedia/Code/TalkPageCoffeeRollView.swift:113-124 | Wikipedia/Code/TalkPageReplyComposeContentView.swift:428-439 \u2014 before extracting anything, compare \u0060Wikipedia/Code/TalkPageCellCommentView.swift\u0060 and \u0060Wikipedia/Code/TalkPageCellTopicView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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":"Wikipedia/Code/TalkPageCellCommentView.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb3ab15571920cef40741ad9500b93bdb0d52f9fb45e9cb7b46b6f024804481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Wikipedia/Code/ArticleViewController\u002BEditing.swift:399-411 | Wikipedia/Code/DescriptionEditViewController.swift:400-412 | Wikipedia/Code/TalkPageViewController.swift:757-769 \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 \u0060Wikipedia/Code/ArticleViewController\u002BEditing.swift:399\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":"Wikipedia/Code/ArticleViewController\u002BEditing.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"54adb3da958b40eeae94202872d39411928d8f13dc2bb900ad39c0cb9d81f9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): WMF Framework/CacheController.swift:242-253 | WMF Framework/CacheController.swift:358-368 \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 \u0060WMF Framework/CacheController.swift:242\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":"WMF Framework/CacheController.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"329fd45ac9f608d7374e5cee225d781bad4dd5ed328856eb8ac9c1a6a46d98be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift:36-47 | WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/WMFEditorToolbarNavigatorButton.swift:32-43 \u2014 before extracting anything, compare \u0060WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/WMFEditorToolbarNavigatorButton.swift\u0060 as WHOLE FILES: 85% 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. 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 \u0060WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift:36\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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4d2ad80d09c58413da9f4b1de0463fc11c05ebc4a059d3a7b6e4b99aea9a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Shared/Page/WMFPageRow.swift:66-77 | WMFComponents/Sources/WMFComponents/Components/Shared/Page/WMFPageRow.swift:136-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Shared/Page/WMFPageRow.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fddfa2457d6f1ec69a184baf3ef56d77d650b8ecb7cd6352641e0501f22c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Page History/WMFPageHistoryDataController.swift:242-253 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift:237-248 \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":"WMFData/Sources/WMFData/Data Controllers/Page History/WMFPageHistoryDataController.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8835e8574906cf408076c204074226bcf708df24809faba25df60189e2050ba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): WMFData/Sources/WMFData/Extensions/URL\u002BAPI.swift:97-108 | WMFData/Sources/WMFData/Extensions/URL\u002BAPI.swift:112-123 \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":"WMFData/Sources/WMFData/Extensions/URL\u002BAPI.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8274a8bc0810e250ba933d5b22b94b70a8f2e4f993b41483bf2b84a132069f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Wikipedia/Code/AppOnboardingCoordinator.swift:35-46 | Wikipedia/Code/AppOnboardingCoordinator.swift:174-184 \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 \u0060Wikipedia/Code/AppOnboardingCoordinator.swift:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/AppOnboardingCoordinator.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9f7efb932b99a58db1aaa47a7af999557499984ccb49ca1bb8aa0f6a18f8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Wikipedia/Code/SizeThatFitsReusableView.swift:62-73 | Wikipedia/Code/SizeThatFitsView.swift:35-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":"Wikipedia/Code/SizeThatFitsReusableView.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fc1801a9b0ec19af3739173cfa34cab9f7cef4cf6b8d42337bf2179764a8bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Wikipedia/Code/ViewControllerRouter.swift:248-259 | Wikipedia/Code/WMFAppViewController\u002BExtensions.swift:443-452 \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":"Wikipedia/Code/ViewControllerRouter.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e58f5289bca14d62be2d73f1d32ca20cbf0834b875787759190093f1292c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Wikipedia/Code/WMFAccountCreationViewController.swift:135-146 | Wikipedia/Code/WMFLoginViewController.swift:115-126 \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 \u0060Wikipedia/Code/WMFAccountCreationViewController.swift:135\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":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3883cf080529fdc44a426d3a4d087bf4226fe3a13226f7ebb8191116e120784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Wikipedia/Code/WatchlistController.swift:49-60 | Wikipedia/Code/WatchlistController.swift:229-240 \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 \u0060Wikipedia/Code/WatchlistController.swift:49\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":"Wikipedia/Code/WatchlistController.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4d98ea38efb34da6b58e8f0fb62df35ebab888f50896ba567e861b88f69f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:891-902 | Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:1000-1011 \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 \u0060Wikipedia/Code/YearInReviewSlideViewModelFactory.swift:891\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":"Wikipedia/Code/YearInReviewSlideViewModelFactory.swift"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba1ef012a7a843aa63e468cda84f0fe2949d81bef6f0542ff6431b2c9b324b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): Wikipedia/Code/AppOnboardingCoordinator.swift:184-193 | Wikipedia/Code/HomeFeedSettingsCoordinator.swift:96-105 | Wikipedia/Code/HomeFeedSettingsCoordinator.swift:181-191 \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 \u0060Wikipedia/Code/AppOnboardingCoordinator.swift:184\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":"Wikipedia/Code/AppOnboardingCoordinator.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6a28f372dca1696c10303cd3eaf83ad29ddc0ab1a2a056e06ddb3c21f8a39f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Wikipedia/Code/DonateCoordinator.swift:651-661 | Wikipedia/Code/DonateCoordinator.swift:665-675 | Wikipedia/Code/DonateCoordinator.swift:678-688 \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. 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":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a39997ed534c029ce27fa9dd46f022972c5a674a36bbccc18312c437936b33d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): WMF Framework/Remote Notifications/RemoteNotificationsController.swift:429-438 | WMF Framework/Remote Notifications/RemoteNotificationsController.swift:440-450 \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 \u0060WMF Framework/Remote Notifications/RemoteNotificationsController.swift:440\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":"WMF Framework/Remote Notifications/RemoteNotificationsController.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"823ffc44b692a7082a9996b7672ee94c216add84b31571d06dd69200402f4305"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): WMF Framework/WMFFeedContentFetcher.swift:42-52 | WMF Framework/WMFLocationSearchFetcher.swift:57-67 \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 \u0060WMF Framework/WMFFeedContentFetcher.swift:42\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":"WMF Framework/WMFFeedContentFetcher.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaacc99da27d555a9165dc00f761753b9d9d5ad5a36a3de553a46e8db0ad13fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabInfoCardView.swift:56-65 | WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabInfoCardView.swift:67-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 \u0060WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabInfoCardView.swift:56\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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabInfoCardView.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"639e84b3d02700a7144c9bc6e31caf22e999824c00663870821010ec53db9271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFImpactViews.swift:147-156 | WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFImpactViews.swift:171-181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFImpactViews.swift:184\u0060 calls \u0060HStack\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFImpactViews.swift:157\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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFImpactViews.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda00a1ba7ab113ef4dd942387373ec75c9abac2a3316a6e532d8905a2102c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverEntryCardView.swift:66-76 | WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverReadingListView.swift:153-163 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverEntryCardView.swift:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u0060WMFSpacing.xSmall\u0060 in one and \u0060WMFSpacing.small\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":"WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverEntryCardView.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd66e41dec4b5fad8317306254501d90dcd4864d57c4e8f161b98be01f2c66f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Search/Results/WMFSearchResultsViewModel.swift:289-299 | WMFComponents/Sources/WMFComponents/Utility/UIImage\u002BFaceCrop.swift:33-40 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Search/Results/WMFSearchResultsViewModel.swift:289\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Search/Results/WMFSearchResultsViewModel.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b8737843ef5ab92289af376b48dd265094b479e744190c6272f08c4d1d312e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift:141-151 | WMFData/Sources/WMFData/Data Controllers/Semantic Search/WMFSemanticSearchDataController.swift:161-171 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"18077ed581fc0fb39573c97c0c3dfc104f72e62121beca57d38c28da09faeab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:64-74 | WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:97-107 \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 \u0060WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:64\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2580d560b291bdfebc39395e828d64a98b4f33f3075132c9d5c4628ec5eae095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Semantic Search/WMFSemanticSearchDataController\u002BResults.swift:37-46 | WMFData/Sources/WMFData/Data Controllers/Shared/UserContributionsDataController.swift:24-34 \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 \u0060WMFData/Sources/WMFData/Data Controllers/Semantic Search/WMFSemanticSearchDataController\u002BResults.swift:37\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060WMFData/Sources/WMFData/Data Controllers/Shared/UserContributionsDataController.swift:21\u0060 calls \u0060wikipedia\u0060 and \u0060WMFData/Sources/WMFData/Data Controllers/Semantic Search/WMFSemanticSearchDataController\u002BResults.swift:34\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":"WMFData/Sources/WMFData/Data Controllers/Semantic Search/WMFSemanticSearchDataController\u002BResults.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4190db30ccc6dd32fbf2e5d66397d170d2ab68e475577665ffca62a04c0378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:437-447 | WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:489-499 \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 \u0060WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:437\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":"WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"41be779391580906323058820d3a5d5f2e86a677466db6b8cc910b1f5dafc0d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Widgets/Widgets/FeaturedArticleWidget.swift:298-308 | Widgets/Widgets/PictureOfTheDayWidget.swift:263-273 \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":"Widgets/Widgets/FeaturedArticleWidget.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"266b4e2376a52214240a5aef12fb4b3453a363c1edd8fbc822ad15b6b6fe03eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Wikipedia/Code/ArticleViewController\u002BArticleToolbarHandling.swift:16-27 | Wikipedia/Code/ArticleViewController\u002BArticleToolbarHandling.swift:30-41 \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":"Wikipedia/Code/ArticleViewController\u002BArticleToolbarHandling.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c5613f88dad5c460758076d17bed34d4a02da8d9d467851ee5163501479ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Wikipedia/Code/DonateCoordinator.swift:887-897 | Wikipedia/Code/DonateCoordinator.swift:1012-1022 \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 \u0060Wikipedia/Code/DonateCoordinator.swift:887\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":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"8000698ea92fb8be7f329f6234cf66696b944694f6de5d0d924f92562534cb61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Wikipedia/Code/ShareActivityController.swift:178-188 | Wikipedia/Code/ShareActivityController.swift:196-206 \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":"Wikipedia/Code/ShareActivityController.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6426b25dd85a8286fd6604e27e390d2d1335e69c1ff45f6f2f1b6478b6a10f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): Wikipedia/Code/TalkPageFetcher.swift:199-209 | Wikipedia/Code/TalkPageFetcher.swift:222-230 \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 \u0060Wikipedia/Code/TalkPageFetcher.swift:199\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":"Wikipedia/Code/TalkPageFetcher.swift"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"512d2043c607369d66f704780609e825b12ed261fa26062b7d8aca780e8ed8c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Wikipedia/Code/TalkPageViewController\u002BFindInPage.swift:79-89 | Wikipedia/Code/TalkPageViewController\u002BFindInPage.swift:92-102 \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":"Wikipedia/Code/TalkPageViewController\u002BFindInPage.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ab4082795bcb357a2715816dfa774f3ee161a2fc209844b8af6d1c7f00e472"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:239-249 | Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:266-276 \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 \u0060Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:239\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":"Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9b039fd59ef1382d12411949e060c15527f259b7d0de4a8143c7ae4657eff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:338-347 | WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:379-388 | WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:421-430 | WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:471-480 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:338\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping @Sendable (Result\u003CVoid, Error\u003E) -\u003E Void\u0060 in one and \u0060@escaping @Sendable (Result\u003CWMFUndoOrRollbackResult, Error\u003E) -\u003E Void\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 before the matched lines, \u0060WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:469\u0060 calls \u0060String\u0060 and \u0060WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift:378\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":"WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3308a49db81e8204785a7db877660e6adc771f613e02a00825c3ff88eee1d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): WMF Framework/Remote Notifications/RemoteNotificationsController.swift:128-137 | WMF Framework/Remote Notifications/RemoteNotificationsController.swift:178-187 | WMF Framework/Remote Notifications/RemoteNotificationsController.swift:196-205 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Remote Notifications/RemoteNotificationsController.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b39216e21d621ce5de4260296bec247ea29f491decfc097455b03be750a717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 4): Wikipedia/Code/ActivityTabViewController.swift:113-122 | Wikipedia/Code/ExploreViewController.swift:141-146 | Wikipedia/Code/PlacesViewController.swift:201-211 | Wikipedia/Code/SearchViewController.swift:385-394 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Wikipedia/Code/ActivityTabViewController.swift:113\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddee1d2089dd6dbfafb23e30285d9c5f57142dc86a7a9dfca89e66a804b8f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): Wikipedia/Code/ArticlePeekPreviewViewController.swift:158-167 | Wikipedia/Code/SavedAllArticlesCoordinator.swift:167-176 | Wikipedia/Code/WhichCameFirstCoordinator.swift:366-372 \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 \u0060Wikipedia/Code/ArticlePeekPreviewViewController.swift:158\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, \u0060Wikipedia/Code/ArticlePeekPreviewViewController.swift:157\u0060 calls \u0060WMFArticle\u0060 and \u0060Wikipedia/Code/WhichCameFirstCoordinator.swift:365\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":"Wikipedia/Code/ArticlePeekPreviewViewController.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dfb408db23416cac52ea5f3f39a5dd1682c709e8e827fb906f2d00d42cf5a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:72-81 | Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:90-99 | Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:216-225 \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 \u0060Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:72\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":"Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb199f6e4bda8cfdada2db2298d1ff305c79cfcfe481c50bfd12e75e72ad111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Wikipedia/Code/TalkPageFetcher.swift:128-137 | Wikipedia/Code/TalkPageFetcher.swift:164-173 | Wikipedia/Code/TalkPageFetcher.swift:233-242 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping (Result\u003CBool, Error\u003E) -\u003E Void\u0060 in one and \u0060@escaping (Result\u003C[String], Error\u003E) -\u003E Void\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":"Wikipedia/Code/TalkPageFetcher.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1837ebe1fb59257465aad3d008c4fe8db93d2bf581ec168e7173d492e62bcd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): WMF Framework/ArticleCacheDBWriter\u002BSyncResources.swift:215-224 | WMF Framework/ArticleCacheResourceDBWriting.swift:82-91 \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 \u0060WMF Framework/ArticleCacheDBWriter\u002BSyncResources.swift:215\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":"WMF Framework/ArticleCacheDBWriter\u002BSyncResources.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ecaadc67463aa8af78ac7cf897b25996a94e04d983bea2dd9d38ede54f29ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): WMF Framework/ImageCacheDBWriter.swift:44-53 | Wikipedia/Code/ArticleCacheDBWriter.swift:139-148 \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 \u0060WMF Framework/ImageCacheDBWriter.swift:44\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":"WMF Framework/ImageCacheDBWriter.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1963d64b7b6d53dfabb83bfbf33036db9fa7d95a1348da83f0275ad454ed5a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201310 lines \u00D7 6): WMFComponents/Sources/WMFComponents/Components/Analytics Inspector/WMFAnalyticsInspectorViewController.swift:45-46 | WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsViewController.swift:43-44 | WMFComponents/Sources/WMFComponents/Components/Editors/Choose Editor/WMFChooseEditorHostingController.swift:24-25 | WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstViewController.swift:68-83 | WMFComponents/Sources/WMFComponents/Components/Search/Semantic Search Info/WMFSemanticSearchInfoHostingController.swift:33-42 | Wikipedia/Code/TalkPageTopicComposeViewController.swift:214-216 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WMFComponents/Sources/WMFComponents/Components/Analytics Inspector/WMFAnalyticsInspectorViewController.swift:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Analytics Inspector/WMFAnalyticsInspectorViewController.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56126a92eb10a477032c521f72ccae84d9b5bf269c22164cf07616dd2172718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Home/WMFForYouEndOfFeedCardView.swift:124-133 | WMFComponents/Sources/WMFComponents/Components/Home/WMFForYouView.swift:930-936 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Home/WMFForYouEndOfFeedCardView.swift:124\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":"WMFComponents/Sources/WMFComponents/Components/Home/WMFForYouEndOfFeedCardView.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe38e97ccb67764b549463c6b5d334c6689b943f450e732b73ccf10b9be4662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsView.swift:332-341 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsView.swift:357-366 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsView.swift:332\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":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsView.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"da83eceafe8568944eb96d137ac27deda2c1456e65ce92947d69b4146fd4a3a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewAnnouncementHostingController.swift:79-88 | WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewHostingController.swift:313-322 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewAnnouncementHostingController.swift:79\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":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewAnnouncementHostingController.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b62c92012b0aea24610c02e9bb35e450856e728411fa1bcf6ee637f0d5e80e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Widgets/Widgets/OnThisDayWidget.swift:47-56 | Widgets/Widgets/PictureOfTheDayWidget.swift:155-164 \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 \u0060Widgets/Widgets/OnThisDayWidget.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping (Timeline\u003COnThisDayEntry\u003E) -\u003E Void\u0060 in one and \u0060@escaping (Timeline\u003CPictureOfTheDayEntry\u003E) -\u003E Void\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":"Widgets/Widgets/OnThisDayWidget.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2732d4aaacbf1ae35610234e8c06dd4bf8a2dfefb7861cab18c7ecff8ed3e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Wikipedia/Code/ActivityTabViewController.swift:165-174 | Wikipedia/Code/HomeViewController.swift:407-415 \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 \u0060Wikipedia/Code/ActivityTabViewController.swift:165\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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c89cbccf506cf86d9cb23d8dd84392615e551f3e5a1352ab287dd131134f53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Wikipedia/Code/ArticleCollectionViewController.swift:138-147 | Wikipedia/Code/ReadingListEntryCollectionViewController.swift:460-469 \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":"Wikipedia/Code/ArticleCollectionViewController.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"02304fdf60b975be1f0cbdde38b259ee6cbcd98a0bd8672d64a0687df83ea9cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Wikipedia/Code/DiffFetcher.swift:160-169 | Wikipedia/Code/GlobalUserInfoFetcher.swift:18-28 \u2014 before extracting anything, compare \u0060Wikipedia/Code/DiffFetcher.swift\u0060 and \u0060Wikipedia/Code/GlobalUserInfoFetcher.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060Wikipedia/Code/DiffFetcher.swift:160\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping (Result\u003CString, Error\u003E) -\u003E Void\u0060 in one and \u0060@escaping ((Result\u003CInt, Error\u003E) -\u003E Void)\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":"Wikipedia/Code/DiffFetcher.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93e9d3597ad83755ef56fd89a2070dd39a7a010d0d5edc0fdb0cceea8b0883b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Wikipedia/Code/ViewControllerRouter.swift:151-160 | Wikipedia/Code/ViewControllerRouter.swift:164-173 \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 \u0060Wikipedia/Code/ViewControllerRouter.swift:151\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":"Wikipedia/Code/ViewControllerRouter.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68932bb834187e5c89276c395dd6b362690fed48653e1cd36cf4750b5789bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Wikipedia/Code/WMFAuthenticationManager.swift:410-419 | Wikipedia/Code/WMFAuthenticationManager.swift:485-494 \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 \u0060Wikipedia/Code/WMFAuthenticationManager.swift:410\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, \u0060Wikipedia/Code/WMFAuthenticationManager.swift:496\u0060 calls \u0060submitInteraction\u0060 and \u0060Wikipedia/Code/WMFAuthenticationManager.swift:420\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":"Wikipedia/Code/WMFAuthenticationManager.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"9923d90c64c778960d7436787b456b18c99c18bb8d2e2c60259d516ac9495924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:680-688 | WMFData/Sources/WMFData/Data Controllers/Semantic Search/WMFSemanticSearchDataController\u002BResults.swift:36-44 | WMFData/Sources/WMFData/Data Controllers/Shared/UserContributionsDataController.swift:23-31 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFRandomDataController.swift:53-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:680\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, \u0060WMFData/Sources/WMFData/Data Controllers/Shared/UserContributionsDataController.swift:21\u0060 calls \u0060wikipedia\u0060 and \u0060WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:678\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":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"556a7ec931edebd9486f1ebfb2a4e56a9e03be487e1c32dfcb577dfa0b50e829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Wikipedia/Code/WMFAuthAccountCreationInfoFetcher.swift:26-35 | Wikipedia/Code/WMFAuthLoginInfoFetcher.swift:26-35 | Wikipedia/Code/WMFCaptchaResetter.swift:23-31 | Wikipedia/Code/WMFCurrentUserFetcher.swift:72-81 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Wikipedia/Code/WMFAuthAccountCreationInfoFetcher.swift:26\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":"Wikipedia/Code/WMFAuthAccountCreationInfoFetcher.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6830e6ce1f84540103d2d06e35c1b9afd3e787232eca9142857819383d3d3bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift:34-42 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift:287-295 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:262-268 \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 \u0060WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0584c0f7337cbe00f278d53ec26e19ae004e6c3ad4da63bdd27fd60e8236309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Wikipedia/Code/ColumnarCollectionViewController.swift:510-518 | Wikipedia/Code/NewsViewController.swift:262-270 | Wikipedia/Code/OnThisDayViewController.swift:265-273 \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 \u0060Wikipedia/Code/ColumnarCollectionViewController.swift:510\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":"Wikipedia/Code/ColumnarCollectionViewController.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab4e036bb4be05b34ff5e4a54d7f9b714d4c2cdf4cbe52e0b4f6855a02505e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Wikipedia/Code/EditSaveViewController.swift:125-133 | Wikipedia/Code/TalkPageReplyComposeContentView.swift:375-383 | Wikipedia/Code/TalkPageTopicComposeViewController.swift:476-484 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Wikipedia/Code/TalkPageTopicComposeViewController.swift:486\u0060 calls \u0060Styles\u0060 and \u0060Wikipedia/Code/TalkPageReplyComposeContentView.swift:385\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":"Wikipedia/Code/EditSaveViewController.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faf2274b62af07adb3934abc825bfe74ed4c79f9b4a5245db6fa40f9c8f14a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:239-247 | Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:251-259 | Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:266-274 \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 \u0060Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:239\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":"Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faa3d20d3ba9b41e689e71dea031e4826fb389f4da22264981f98d9482ec53a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): WMF Framework/MWKDataStore\u002BLanguageVariantMigration.swift:115-123 | WMF Framework/MWKDataStore\u002BLanguageVariantMigration.swift:127-135 | WMF Framework/MWKDataStore\u002BLanguageVariantMigration.swift:138-147 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060WMF Framework/MWKDataStore\u002BLanguageVariantMigration.swift:127\u0060 calls \u0060NSPredicate\u0060 and \u0060WMF Framework/MWKDataStore\u002BLanguageVariantMigration.swift:138\u0060 does not \u2014 after which the two agree again for 5 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":"WMF Framework/MWKDataStore\u002BLanguageVariantMigration.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"854a80ed4a92c323ac9b7cac9183ccec19f53193f175715493fc9248e262c69a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Saved/All Articles/WMFSavedAllArticlesView.swift:93-101 | WMFComponents/Sources/WMFComponents/Components/Saved/Reading Lists/WMFReadingListsView.swift:82-90 \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":"WMFComponents/Sources/WMFComponents/Components/Saved/All Articles/WMFSavedAllArticlesView.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"88118e1c15fa715b903df6e8c4567f2dff48575f6345ae6fd9ce0a9a560a1ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift:347-355 | WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift:386-394 \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 \u0060WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift:347\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":"WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1dad8c16006e78bf2b675c390c4fb4054f3fcd54b35b2f9adc668c960142ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift:392-400 | WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift:457-465 \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":"WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"281986c6ca8070d752a5d8d86ecbd9c6c909b00aac3bf7162188b7b107910619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Wikipedia/Code/APIURLComponentsBuilder.swift:61-69 | Wikipedia/Code/APIURLComponentsBuilder.swift:73-81 \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":"Wikipedia/Code/APIURLComponentsBuilder.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b41dce2ac67a65d1c4ffb2a3d6418962e014cce1c68ca897169be57030388d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Wikipedia/Code/DiffFetcher.swift:51-59 | Wikipedia/Code/GlobalUserInfoFetcher.swift:16-27 \u2014 before extracting anything, compare \u0060Wikipedia/Code/DiffFetcher.swift\u0060 and \u0060Wikipedia/Code/GlobalUserInfoFetcher.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060Wikipedia/Code/DiffFetcher.swift:51\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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping (Result\u003CString, Error\u003E) -\u003E Void\u0060 in one and \u0060@escaping ((Result\u003CInt, Error\u003E) -\u003E Void)\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":"Wikipedia/Code/DiffFetcher.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9904d2d15b40dc11fd129d526b6f3b8dd8d3964d6277c6632e8a98daaf7e35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Wikipedia/Code/DiffHeaderExtendedView.swift:34-42 | Wikipedia/Code/DiffHeaderView.swift:20-28 \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":"Wikipedia/Code/DiffHeaderExtendedView.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1479868c5498478addbbb67822d19f9e4952d347535792e62dcde1611211a44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): Wikipedia/Code/SavedAllArticlesCoordinator.swift:176-189 | Wikipedia/Code/WhichCameFirstCoordinator.swift:372-383 \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 \u0060Wikipedia/Code/SavedAllArticlesCoordinator.swift:176\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":"Wikipedia/Code/SavedAllArticlesCoordinator.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"82336e292a1d968c955256fa76a57dbbdc6c545f5a9531322e9d845ed3011627"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Wikipedia/Code/SavedArticleDownloadProgressObserver.swift:73-81 | Wikipedia/Code/SavedTabBadgeController.swift:121-129 \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":"Wikipedia/Code/SavedArticleDownloadProgressObserver.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b6b248119a01e099571089ffb3c7cd61cb1683475b5eaea872ad80f8e91946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Wikipedia/Code/SavedArticlesFetcher.swift:268-276 | Wikipedia/Code/SavedArticlesFetcher.swift:320-328 \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 \u0060Wikipedia/Code/SavedArticlesFetcher.swift:268\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":"Wikipedia/Code/SavedArticlesFetcher.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d753171f403769c4e44114392111c1bbb69f935550fc682e47d84eefd0690e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Wikipedia/Code/ArticleLocationCollectionViewController.swift:219-226 | Wikipedia/Code/ColumnarCollectionViewController.swift:508-515 | Wikipedia/Code/NewsViewController.swift:260-267 | Wikipedia/Code/OnThisDayViewController.swift:263-270 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Wikipedia/Code/ArticleLocationCollectionViewController.swift:219\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleLocationCollectionViewController.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ae9fabac7ccb217157fbba8c5e25cccdcdeda20cf9615c87e99b296e1c644a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): WMF Framework/SharedContainerCacheStore.swift:15-22 | WMF Framework/SharedContainerCacheStore.swift:29-36 | WMF Framework/SharedContainerCacheStore.swift:41-48 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/SharedContainerCacheStore.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b15bbf2cf25ebd1fb151064ba6018e7178cfc582f15e7193cd210f3d78c41d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:64-72 | WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:97-105 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFCategoriesDataController.swift:24-31 \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 \u0060WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:64\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":"WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1df6a41e2a20a6dc06c060a830684e757280aa4512fc6382fab0a3ea1a35853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift:61-68 | Wikipedia/Code/Advanced Settings/InsertMediaImageSizeSettingsViewController.swift:101-108 | Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift:76-83 \u2014 before extracting anything, compare \u0060Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift\u0060 and \u0060Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 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":"Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab276e301d97def89c06aa3efd7c62c6897caaf97444d1cbc741c678dd1de4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Wikipedia/Code/DiffFetcher.swift:52-59 | Wikipedia/Code/DiffFetcher.swift:159-168 | Wikipedia/Code/GlobalUserInfoFetcher.swift:17-27 \u2014 before extracting anything, compare \u0060Wikipedia/Code/DiffFetcher.swift\u0060 and \u0060Wikipedia/Code/GlobalUserInfoFetcher.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060Wikipedia/Code/DiffFetcher.swift:52\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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping (Result\u003CString, Error\u003E) -\u003E Void\u0060 in one and \u0060@escaping ((Result\u003CInt, Error\u003E) -\u003E Void)\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":"Wikipedia/Code/DiffFetcher.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3a35eb56c90b750c2baa72fc26643ede02487b9ccbc07429218d687158eff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Wikipedia/Code/DiffListChangeViewModel.swift:240-247 | Wikipedia/Code/DiffListContextViewModel.swift:167-174 | Wikipedia/Code/DiffListUneditedViewModel.swift:45-52 \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":"Wikipedia/Code/DiffListChangeViewModel.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2ad9ca303a34a191b9f3d7c8db085e158d9190ed301337a87e1dd1cb579d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): WMF Framework/ArticleCacheResourceDBWriting.swift:37-44 | WMF Framework/ArticleCacheResourceDBWriting.swift:64-71 \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 \u0060WMF Framework/ArticleCacheResourceDBWriting.swift:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping (Result\u003C[ArticleFetcher.MediaListItem], ArticleCacheDBWriterError\u003E) -\u003E Void\u0060 in one and \u0060@escaping (Result\u003C[URL], ArticleCacheDBWriterError\u003E) -\u003E Void\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":"WMF Framework/ArticleCacheResourceDBWriting.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"58749bbe550f104580423f744161fc0f37610698bc4edec503c2474eae283ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): WMF Framework/CacheDBWriterHelper.swift:81-88 | WMF Framework/CacheDBWriterHelper.swift:92-99 \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":"WMF Framework/CacheDBWriterHelper.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6583d5dfcc673f0f6ec4a0b44a75888f472d592124fdc3a77920243204faeb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): WMF Framework/Widget/WidgetController.swift:37-47 | WMF Framework/Widget/WidgetController.swift:53-63 \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":"WMF Framework/Widget/WidgetController.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7337240f0eeb05123fe020cc161e2a93bd8e3f5825d9fd13b6085d39a61c428b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/TimelineViewModel.swift:47-54 | WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/TimelineViewModel.swift:92-99 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/TimelineViewModel.swift:47\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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/TimelineViewModel.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9206b86406a6ba7ee0c92a82c24b868829f53b6d6e64a00e8b7a31051286f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Saved/Reading Lists/WMFReadingListRow.swift:45-52 | WMFComponents/Sources/WMFComponents/Components/Shared/Page/WMFPageRowSaved.swift:31-38 \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":"WMFComponents/Sources/WMFComponents/Components/Saved/Reading Lists/WMFReadingListRow.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6340df662fdf4934f88a1d2812ccab5ebddb4b8ae9619637fa61b9d69805576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/CloseButtons.swift:148-155 | WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/CloseButtons.swift:162-169 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/CloseButtons.swift:148\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":"WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/CloseButtons.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57a8a8927629e24a7354799e408dce852334037538b8e9e928dd416ffb07e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift:100-106 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift:179-186 \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 \u0060WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift:100\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":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e025b8e5839469bcf639fb23c1b3b0268307d6747aa5ff2ea4c761bed19efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Wikipedia/Code/ActivityTabViewController.swift:898-908 | Wikipedia/Code/TabsOverviewCoordinator.swift:44-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Wikipedia/Code/ActivityTabViewController.swift:898\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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92a55676e9713c3e99dd33c0b3ed68391edeffb829994add8db35caf57971e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Wikipedia/Code/ArticleViewController\u002BDonationReminder.swift:253-260 | Wikipedia/Code/DonationReminderSetupCoordinator.swift:138-144 \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":"Wikipedia/Code/ArticleViewController\u002BDonationReminder.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74d149e328f304dc8fdfac38ce2119954a2097fcf909bf8ab0166ff2d028e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Wikipedia/Code/DiffContainerViewController.swift:1008-1017 | Wikipedia/Code/PageHistoryViewController.swift:819-826 \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 \u0060Wikipedia/Code/DiffContainerViewController.swift:1008\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":"Wikipedia/Code/DiffContainerViewController.swift"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4814167b0510e522a5e16c742a8aa5e3ecb79ed3a4f0f46e4084431407ae3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Wikipedia/Code/DiffListChangeViewModel.swift:69-76 | Wikipedia/Code/DiffListChangeViewModel.swift:107-114 \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":"Wikipedia/Code/DiffListChangeViewModel.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbb4ea79ce0d6d7e998321cf960d0beb3b16c8ca4da8868379a0f398597dce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Wikipedia/Code/TalkPageFetcher.swift:190-197 | Wikipedia/Code/TalkPageFetcher.swift:213-220 \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 \u0060Wikipedia/Code/TalkPageFetcher.swift:190\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":"Wikipedia/Code/TalkPageFetcher.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe62c5a2f88abcb4487b7fc47d28c319d3f6251381580df2704c99e06f4f34c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Wikipedia/Code/TalkPageViewController.swift:1205-1212 | Wikipedia/Code/TalkPageViewController.swift:1292-1299 \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 \u0060Wikipedia/Code/TalkPageViewController.swift:1205\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":"Wikipedia/Code/TalkPageViewController.swift"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fb0b007ea6009a2b543f3539d3590a62ed6467090432686d7a62fd112f3019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): WMFComponents/Sources/WMFComponents/Components/Shared/Project Icons/WMFProjectIconView.swift:31-37 | WMFComponents/Sources/WMFComponents/Components/Shared/Project Icons/WMFProjectIconView.swift:40-46 | WMFComponents/Sources/WMFComponents/Components/Shared/Project Icons/WMFProjectIconView.swift:48-54 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Shared/Project Icons/WMFProjectIconView.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fabcccf721ef1899ae652d1589acd57a37a858079edbb7e2927fad42f5a275b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:684-690 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift:46-52 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFRandomDataController.swift:57-63 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:684\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, \u0060WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift:54\u0060 calls \u0060String\u0060 and \u0060WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift:691\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":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"6404489df05091dc92d6c9e09dd72e71133bf213a388560c1cdbf8e0bfd091c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 3): Wikipedia/Code/DescriptionEditViewController.swift:157-163 | Wikipedia/Code/WMFAccountCreationViewController.swift:135-139 | Wikipedia/Code/WMFLoginViewController.swift:115-119 \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 \u0060Wikipedia/Code/DescriptionEditViewController.swift:157\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. 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":"Wikipedia/Code/DescriptionEditViewController.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a257fb45b26dbeeedf880124d32e1592e9aa0533e573595dddc5fdccea6054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:229-235 | Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:242-248 | Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:269-275 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f48fbd4214e9893c8dc07ae5c528b5a10632462246931bb022ce73217f03a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): WMF Framework/Fetcher.swift:108-116 | WMF Framework/Fetcher.swift:121-129 \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 \u0060WMF Framework/Fetcher.swift:108\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Fetcher.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5a1295614c20646a8bc625d1792a030a48bd2a1fdad2da0fefb92409b96a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): WMF Framework/ReadingListsSyncOperation.swift:587-593 | WMF Framework/ReadingListsSyncOperation.swift:721-727 \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 \u0060WMF Framework/ReadingListsSyncOperation.swift:587\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ReadingListsSyncOperation.swift"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4df5786dd4f127a4e2d393f35de142175a96617a3cc606cfebb471e451d3fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift:169-175 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift:212-218 \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. 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":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bb7d64e8c2d5223078da7c143f538b48056b40ee98b67f4507e4a40948493e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Widgets/Widgets/FeaturedArticleWidget.swift:82-88 | Widgets/Widgets/FeaturedArticleWidget.swift:98-104 \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 \u0060Widgets/Widgets/FeaturedArticleWidget.swift:82\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":"Widgets/Widgets/FeaturedArticleWidget.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b140bad434a0da7fd229dd034ea8b654d4aeae811f0bfe4aee7abd8ccd2cd5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Wikipedia/Code/ArticleFetcher.swift:174-180 | Wikipedia/Code/ArticleFetcher.swift:243-249 \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":"Wikipedia/Code/ArticleFetcher.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fa7e4013cd5ba4d32ef9e2841a8f4fae2cc07362474badf01ec7201a4fd420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Wikipedia/Code/ArticleRightAlignedImageCollectionViewCell.swift:56-65 | Wikipedia/Code/SavedArticlesCollectionViewCell.swift:158-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Wikipedia/Code/ArticleRightAlignedImageCollectionViewCell.swift:56\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":"Wikipedia/Code/ArticleRightAlignedImageCollectionViewCell.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0438db20b60016e83383fa59ea87da34ba181ab4f16175d139d88701b87027fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Wikipedia/Code/TalkPageFindInPageSearchController.swift:60-66 | Wikipedia/Code/TalkPageFindInPageSearchController.swift:74-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 \u0060Wikipedia/Code/TalkPageFindInPageSearchController.swift:60\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":"Wikipedia/Code/TalkPageFindInPageSearchController.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"efafcce385cccb9bf6c5afd64a8f7cb44d7831607d002ff1f5f95ac3c4383ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:64-72 | WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:97-105 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFCategoriesDataController.swift:24-31 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift:287-293 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:262-267 \u2014 there are 5 copies across 4 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:64\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":"WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce4d740733b7e510d9d250016bbfdeb92bdf47eae9b6539add3626d4bcd5ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:382-387 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:448-455 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:555-560 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:615-620 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift:382\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4685d97f4e4d4078868e3215f2e98d66b7a630d2c15d4765e64e7da0de80ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20136 lines \u00D7 4): Wikipedia/Code/ActivityTabViewController.swift:591-599 | Wikipedia/Code/ExploreViewController.swift:1694-1699 | Wikipedia/Code/HelpViewController.swift:139-139 | Wikipedia/Code/YearInReviewCoordinator.swift:559-567 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Wikipedia/Code/ActivityTabViewController.swift:591\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. 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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a04b7b1d526215e1d208b887d7a27ad2312e173fd96088f529a54b48bc64f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): WMF Framework/Collection\u002BAsyncMap.swift:30-35 | WMF Framework/Collection\u002BAsyncMap.swift:48-53 \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 \u0060WMF Framework/Collection\u002BAsyncMap.swift:30\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":"WMF Framework/Collection\u002BAsyncMap.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0a857579ccaafa139560f841ca881c7020f7d1c70326913c605f79110e7184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift:55-61 | WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift:88-94 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift:64\u0060 calls \u0060logWatchlistUserDidTapUserButton\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift:96\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":"WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a207dcfb8ca4ba56bbe0a92044a7e3eea334ed69859c28f66274668677f33e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Shared/WMFUserImpactDataController.swift:94-99 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFUserImpactDataController.swift:128-133 \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 \u0060WMFData/Sources/WMFData/Data Controllers/Shared/WMFUserImpactDataController.swift:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFUserImpactDataController.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29d7168539f9906f7b468726e27c8c26f659fcc3d354400df583ce2e571372a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Wikipedia/Code/AppOnboardingCoordinator.swift:119-130 | Wikipedia/Code/AppOnboardingCoordinator.swift:142-153 \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 \u0060Wikipedia/Code/AppOnboardingCoordinator.swift:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/AppOnboardingCoordinator.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e051425c211e7702a98278b884330a645a43a4f97ff2ac0dd94c706a584ecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Wikipedia/Code/ArticlePlaceView.swift:254-259 | Wikipedia/Code/ArticlePlaceView.swift:481-486 \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 \u0060Wikipedia/Code/ArticlePlaceView.swift:254\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":"Wikipedia/Code/ArticlePlaceView.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b19f7bb0eb47476e4a19c990f798e41032e9e72c7df6f4d469c04c7bac04ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Wikipedia/Code/DonateFunnel.swift:511-516 | Wikipedia/Code/DonateFunnel.swift:552-557 \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":"Wikipedia/Code/DonateFunnel.swift"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dc6300402977d875ec0efd61756ac3d1aa2f95e470fdc4644399cbc3ef25dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Wikipedia/Code/ExploreViewController.swift:1037-1044 | Wikipedia/Code/ExploreViewController.swift:1054-1062 \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 \u0060Wikipedia/Code/ExploreViewController.swift:1037\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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22f8ffe5517bbb9ea07352974f5804ac166da2240e506521e392a21142f134f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Wikipedia/Code/PlacesViewController.swift:1281-1286 | Wikipedia/Code/PlacesViewController.swift:1948-1953 \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 \u0060Wikipedia/Code/PlacesViewController.swift:1281\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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d038dd0c5b55a3f4a857c3b53fc5e674cbe67e1c4f99f46a77814602f89aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Wikipedia/Code/ReadingListsCoordinator.swift:130-135 | Wikipedia/Code/ReadingListsViewController.swift:129-135 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ReadingListsCoordinator.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19ccb021d93edc27e87c7a103d86f5ddd20d644abe31726bc1bf7067e4a5704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Wikipedia/Code/ScrollableEducationPanelViewController.swift:339-344 | Wikipedia/Code/ScrollableEducationPanelViewController.swift:352-357 \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":"Wikipedia/Code/ScrollableEducationPanelViewController.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60b7499c75f82ad121040f9417b2f4746ed43224758b0f1c5c904bf07d4890c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Wikipedia/Code/SettingsCoordinator.swift:113-120 | Wikipedia/Code/WMFAppViewController\u002BExtensions.swift:1333-1338 \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":"Wikipedia/Code/SettingsCoordinator.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d7c16824451bbec6272aa2576d726ea2b7db3bcd2f119f8be1e03eeba5ce5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Wikipedia/Code/TableOfContentsAnimator.swift:241-246 | Wikipedia/Code/TableOfContentsAnimator.swift:288-293 \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 \u0060Wikipedia/Code/TableOfContentsAnimator.swift:241\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":"Wikipedia/Code/TableOfContentsAnimator.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c748ef676927850b95305ee0726abe508963e079e11d0bf883f5453ab2a7df77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): Wikipedia/Code/UIViewController\u002BExtensions.swift:52-58 | Wikipedia/Code/UIViewController\u002BExtensions.swift:68-73 \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 \u0060Wikipedia/Code/UIViewController\u002BExtensions.swift:52\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Wikipedia/Code/UIViewController\u002BExtensions.swift:50\u0060 calls \u0060dismiss\u0060 and \u0060Wikipedia/Code/UIViewController\u002BExtensions.swift:67\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":"Wikipedia/Code/UIViewController\u002BExtensions.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc3ab8b46cedfb02f995e4e45cf740089481777ad6ae66881da662d18a40ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Wikipedia/Code/WMFAccountCreationViewController.swift:213-219 | Wikipedia/Code/WMFLoginViewController.swift:471-477 \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 \u0060Wikipedia/Code/WMFAccountCreationViewController.swift:213\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f32b0d7860eedf3a24f10bb79e4f82025c27ecdba717665be85ad7ffa3834a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Wikipedia/Code/WMFAccountCreationViewController.swift:640-651 | Wikipedia/Code/WMFLoginViewController.swift:584-595 \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":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b790c29af12f43f6240996084167fecd57f629ca93bdd4bde2158de94a0f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Wikipedia/Code/ColumnarCollectionViewController.swift:134-139 | Wikipedia/Code/TalkPageTopicComposeViewController.swift:427-432 | Wikipedia/Code/TalkPageViewController.swift:308-313 \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":"Wikipedia/Code/ColumnarCollectionViewController.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a1d0979751e78bf92ac95e2afb9981e7f202afbe913760403c0cd73d2ac49b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFInterestArticleCardViewModel.swift:28-32 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFInterestArticleCardViewModel.swift:53-57 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFInterestArticleCardViewModel.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b50f14a9beed0bbb240bca42f0a094c69eae2c728ed22181b097410c22e7ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewAnnouncementHostingController.swift:91-96 | WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewHostingController.swift:324-329 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewAnnouncementHostingController.swift:91\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":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewAnnouncementHostingController.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9a27103530e201ead111e3598e5f3ed8b179318956bf844f5fd80a8c4d885d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 4): WMFData/Sources/WMFData/Utility/WMFWikitextUtils.swift:239-240 | WMFData/Sources/WMFData/Utility/WMFWikitextUtils.swift:241-245 | WMFData/Sources/WMFData/Utility/WMFWikitextUtils.swift:247-251 | WMFData/Sources/WMFData/Utility/WMFWikitextUtils.swift:252-255 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WMFData/Sources/WMFData/Utility/WMFWikitextUtils.swift:239\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060WMFData/Sources/WMFData/Utility/WMFWikitextUtils.swift:251\u0060 calls \u0060NSRegularExpression\u0060, \u0060matches\u0060, \u0060NSRange\u0060 and \u0060WMFData/Sources/WMFData/Utility/WMFWikitextUtils.swift:240\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":"WMFData/Sources/WMFData/Utility/WMFWikitextUtils.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba644e04b3c9723f8d3b1ebd96620db4a7aaaa35e0bede6db47a81066b868b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Wikipedia/Code/AppOnboardingCoordinator.swift:329-333 | Wikipedia/Code/WhichCameFirstCoordinator.swift:417-421 \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 \u0060Wikipedia/Code/AppOnboardingCoordinator.swift:329\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":"Wikipedia/Code/AppOnboardingCoordinator.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"71949579b09a825f02d325f5750aff3cd8a0c3ff123bc1898f5f1cb765e796b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Wikipedia/Code/DiscoverReadingListCoordinator.swift:170-174 | Wikipedia/Code/DonationReminderSetupCoordinator.swift:141-147 \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 \u0060Wikipedia/Code/DiscoverReadingListCoordinator.swift:170\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":"Wikipedia/Code/DiscoverReadingListCoordinator.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fcd4d51b8a4581a68238d5ea32964ceedbe6aefaa7c4c8ef670a8988c8a74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Wikipedia/Code/EditorViewController.swift:850-854 | Wikipedia/Code/EditorViewController.swift:861-865 \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 \u0060Wikipedia/Code/EditorViewController.swift:850\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/EditorViewController.swift"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71cf9b3571d0ed728af70d30a133e72e1c7830908287cf07d3c6ea5b17aecc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Wikipedia/Code/TalkPageFindInPageSearchController.swift:48-52 | Wikipedia/Code/TalkPageFindInPageSearchController.swift:89-93 \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 \u0060Wikipedia/Code/TalkPageFindInPageSearchController.swift:48\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":"Wikipedia/Code/TalkPageFindInPageSearchController.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f2fba683ccdf6a473b9d51f6b5ce313efaed8ba371d3dbdad08f1e946e8fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): WMF Framework/SetupButton.swift:6-20 | WMF Framework/SetupView.swift:6-20 \u2014 before extracting anything, compare \u0060WMF Framework/SetupButton.swift\u0060 and \u0060WMF Framework/SetupView.swift\u0060 as WHOLE FILES: 83% 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/SetupButton.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d559d142615a9ac14c85bf530b6b4ed1753c0c4081d9e3ce0e8da347f9d64bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ContinueReadingWidget/WMFTodayContinueReadingWidgetViewController.swift:87-92 | Wikipedia/Code/WMFArticlePreviewViewController.swift:64-69 \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":"ContinueReadingWidget/WMFTodayContinueReadingWidgetViewController.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d77839a96d7614e718b1d82c6d9f44cc8f78bdc1ae05ad7f53fe525c6020a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): WMF Framework/ActionButton.swift:24-30 | Wikipedia/Code/CollectionViewCell.swift:197-203 | Wikipedia/Code/SizeThatFitsReusableView.swift:108-114 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ActionButton.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"08967189dd2bf5aa9c533abc9cbe68d13fd2de921b884db07e3354d1f7394207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): WMFComponents/Sources/WMFComponents/Base/Component Base Classes/WMFComponentHostingController.swift:49-53 | WMFComponents/Sources/WMFComponents/Base/Component Base Classes/WMFComponentNavigationController.swift:108-112 | WMFComponents/Sources/WMFComponents/Base/Component Base Classes/WMFComponentView.swift:37-41 | WMFComponents/Sources/WMFComponents/Base/Component Base Classes/WMFComponentViewController.swift:43-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 all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Base/Component Base Classes/WMFComponentHostingController.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3681d913b14711748b08473d71a8eb0c34cf50bdc3fb93993921c43a929206ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift:51-55 | WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/WMFEditorToolbarNavigatorButton.swift:47-51 \u2014 before extracting anything, compare \u0060WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/WMFEditorToolbarNavigatorButton.swift\u0060 as WHOLE FILES: 85% 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. 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. 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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Base/WMFEditorToolbarButton.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f8e265c2f796907f92946dedeab12f0460eacd8c65e665d8bbe1ff1f09f0d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Saved/All Articles/WMFSavedAllArticlesView.swift:85-90 | WMFComponents/Sources/WMFComponents/Components/Saved/Reading Lists/WMFReadingListsView.swift:74-79 \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":"WMFComponents/Sources/WMFComponents/Components/Saved/All Articles/WMFSavedAllArticlesView.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb116af733513b9eec536851103bfe7ec3b2eea8cecc3d98b3af8115e51f61e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Saved/All Articles/WMFSavedAllArticlesViewModel.swift:73-81 | WMFComponents/Sources/WMFComponents/Components/Saved/Reading Lists/WMFReadingListsViewModel.swift:68-76 \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":"WMFComponents/Sources/WMFComponents/Components/Saved/All Articles/WMFSavedAllArticlesViewModel.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a61604b957e5416486e01288c5e68b442a160f8752407ec83fe4a1b99e73ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Shared/Feature Announcement/WMFFeatureAnnouncementView.swift:54-59 | WMFComponents/Sources/WMFComponents/Components/Temp Accounts/WMFTempAccountsSheetView.swift:21-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Shared/Feature Announcement/WMFFeatureAnnouncementView.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a7b16cca9c1f756b17ad9742731415bbabeb7e03c5e2db70f6dd50f7329f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewAnnouncementHostingController.swift:66-74 | WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewHostingController.swift:134-142 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewAnnouncementHostingController.swift:66\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":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewAnnouncementHostingController.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fc241671eea667bbac715e7ac9908776f4ec882b1bc3e26934e9ef3f6ea1a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverInterestsDataController.swift:289-295 | WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverReadingListDataController\u002BSeeds.swift:108-114 \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":"WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverInterestsDataController.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"86420d89779b94793f030d4295b6edc6dffc6c48aa579ed566526a4cccf5fa53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift:9-14 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFCategoriesDataController.swift:13-20 | WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageTopicsDataController.swift:13-18 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Home/WMFPageInterestDataController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cc659974de780ef95c50aa167fe09a4f829c6070298e99abae3ef7d9066e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewDonateCountSlideDataController.swift:24-29 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewEditCountSlideDataController.swift:23-28 \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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewDonateCountSlideDataController.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc31c63dd027df9c7bbed7218d357a6173526baa9a89e5efe29e89402ca235f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewSaveCountSlideDataController.swift:38-48 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewEditCountSlideDataController.swift:43-53 \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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewSaveCountSlideDataController.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5c26b65f95d70d20ed931569c446b4dc6d5518742d06e0304191fe20ba9a95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewViewCountSlideDataController.swift:60-66 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift:182-189 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewDaysVisitedSlideDataController.swift:74-81 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLongestReadSlideDataController.swift:179-186 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewMostViewedArticlesSlideDataController.swift:71-77 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewRabbitHolesSlideDataController.swift:151-158 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewReadingStreakSlideDataController.swift:119-126 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewTopArticlesSlideDataController.swift:136-143 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewTopTopicsSlideDataController.swift:236-243 \u2014 before extracting anything, compare \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift\u0060 and \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLongestReadSlideDataController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewViewCountSlideDataController.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"10291bdbfcb87bc653f6367876eb92a948b1345eb56f51a3d8fb08f162f902ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift:75-79 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLongestReadSlideDataController.swift:86-90 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewRabbitHolesSlideDataController.swift:64-68 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewTopTopicsSlideDataController.swift:101-105 \u2014 before extracting anything, compare \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift\u0060 and \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLongestReadSlideDataController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"932458540693485032313039aa7cd89c3a92213d39d7afa51230f50a22b85bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewReadCountSlideDataController.swift:25-30 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewTopArticlesSlideDataController.swift:84-89 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewTopArticlesSlideDataController.swift:92\u0060 calls \u0060WMFPageViewsDataController\u0060 and \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewReadCountSlideDataController.swift:34\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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewReadCountSlideDataController.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"acce503f19f5e557169df6c35a141cd8f6087ed7d652562f641ab11c3fc12337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Widgets/Widgets/LockscreenSearchWidget.swift:43-48 | Widgets/Widgets/SearchWidget.swift:45-50 \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":"Widgets/Widgets/LockscreenSearchWidget.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a7e7b639b99ab3e6cf3c9b9e71f80966b019136455e079759c14fc44f37e59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Wikipedia/Code/ActivityTabViewController.swift:746-753 | Wikipedia/Code/InsertMediaSettingsViewController.swift:372-379 \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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"04aed8a9f19cb4e883626cb38a83399a50fca52f406b8557582bb1afbd619c13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Wikipedia/Code/ActivityTabViewController.swift:840-849 | Wikipedia/Code/SearchViewController.swift:675-680 \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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d57332b59eb79e85ef2c8e354844b85e7f517f05bd3517631dc818bd8baa2e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Wikipedia/Code/Advanced Settings/InsertMediaAdvancedSettingsViewController.swift:114-123 | Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift:72-81 | Wikipedia/Code/Advanced Settings/InsertMediaImageSizeSettingsViewController.swift:112-121 \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":"Wikipedia/Code/Advanced Settings/InsertMediaAdvancedSettingsViewController.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd73416207fbce9293219516a5e2146c991f25e3ffbe06e9356308ae888543c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Wikipedia/Code/Advanced Settings/InsertMediaCustomImageSizeSettingTableViewCell.swift:10-17 | Wikipedia/Code/InsertMediaSettingsTextTableViewCell.swift:25-32 \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":"Wikipedia/Code/Advanced Settings/InsertMediaCustomImageSizeSettingTableViewCell.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c323f1d4ec7ca83f1f5d74b7a7f7ceb8c553ffec52d719b578d5128dfade03a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift:110-119 | Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift:129-138 \u2014 before extracting anything, compare \u0060Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift\u0060 and \u0060Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 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":"Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"818badf3762cbf77e01b3a2211ed02d41478f6b6ebba68ca0a5cef0242daecc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift:121-125 | Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift:140-144 \u2014 before extracting anything, compare \u0060Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift\u0060 and \u0060Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 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":"Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"821857842d264a89eb08c9605c5dc462eb97964cade543e2b57560a3efc42ad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Wikipedia/Code/AppearanceSettingsViewController.swift:374-382 | Wikipedia/Code/Temp Accounts/TempAccountsSettingsViewController.swift:90-98 \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":"Wikipedia/Code/AppearanceSettingsViewController.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece7eb8bee11d3ad10edda7504d4af06b00d996e9fc854fdf886602bcbd17a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Wikipedia/Code/ArticleViewController\u002BArticlePreviewing.swift:19-25 | Wikipedia/Code/ColumnarCollectionViewController.swift:546-552 \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":"Wikipedia/Code/ArticleViewController\u002BArticlePreviewing.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e642cb78e9d6fd8f62d9c57c4e51d3bf5cfa9fd8399ee94232e91d4832df92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Wikipedia/Code/ArticleViewController\u002BEditing.swift:358-362 | Wikipedia/Code/TalkPageViewController.swift:1442-1446 \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":"Wikipedia/Code/ArticleViewController\u002BEditing.swift"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a30ce85e7906274f0c2b846b6cd3eacb7369a471ef822feb8e641144088596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): Wikipedia/Code/ArticleViewController\u002BEditing.swift:364-370 | Wikipedia/Code/DescriptionEditViewController.swift:40-46 | Wikipedia/Code/TempAccountSheetCoordinator.swift:38-44 | Wikipedia/Code/TempAccountSheetCoordinator.swift:45-51 | Wikipedia/Code/TempAccountSheetCoordinator.swift:53-59 \u2014 there are 5 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 5 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":"Wikipedia/Code/ArticleViewController\u002BEditing.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd05925580db2af1f745f9c8a2ac288137c8476fa48cc3d0dc2d72a9fd770f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Wikipedia/Code/ArticleViewController.swift:125-139 | Wikipedia/Code/PlacesViewController.swift:410-424 \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. 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":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c0fd99210af731ff8518b91202e91cdcc03aa51ad34c0c095da9f0185b7bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Wikipedia/Code/ArticleViewController.swift:1811-1815 | Wikipedia/Code/ExploreViewController.swift:1938-1942 | Wikipedia/Code/HomeViewController.swift:527-531 | Wikipedia/Code/PlacesViewController.swift:2563-2567 \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":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94db033c8a10c0386372f4b22e3d508bffc669c67b64f08e370b78932172b94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Wikipedia/Code/BaseExploreFeedSettingsViewController.swift:309-317 | Wikipedia/Code/Temp Accounts/TempAccountsSettingsViewController.swift:144-152 \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":"Wikipedia/Code/BaseExploreFeedSettingsViewController.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf34772b61c2fc0944b4224fab62af0e328383c136600992b9f6c6ba2d0a5ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Wikipedia/Code/ColumnarCollectionViewController.swift:229-237 | Wikipedia/Code/InsertMediaSearchResultsCollectionViewController.swift:184-192 \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":"Wikipedia/Code/ColumnarCollectionViewController.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8de52e49bba6755c1e45c2d09b2f0dd4139184dced611272b8a0fdf83ebe6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Wikipedia/Code/DescriptionWelcomeInitialViewController.swift:7-13 | Wikipedia/Code/EmptyViewController.swift:30-39 \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":"Wikipedia/Code/DescriptionWelcomeInitialViewController.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df5c2728cb1e29378862bf6b01d0909bb97ef72e771adf71bb3ab034395d469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Wikipedia/Code/DescriptionWelcomePageViewController.swift:172-177 | Wikipedia/Code/WMFReferencePageViewController.swift:145-150 \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":"Wikipedia/Code/DescriptionWelcomePageViewController.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b266f3ed744acab6161964c7f773a5298c5e8760adec625a77a4a7480af2f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Wikipedia/Code/DescriptionWelcomePageViewController.swift:179-184 | Wikipedia/Code/WMFReferencePageViewController.swift:152-157 \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":"Wikipedia/Code/DescriptionWelcomePageViewController.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad2fa62876584cd9c911547e2b6661600b9ce0e3ee3a7cc5cca38606a4b37ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Wikipedia/Code/EraseSavedArticlesView.swift:12-18 | Wikipedia/Code/InsertMediaImageInfoView.swift:19-25 | Wikipedia/Code/InsertMediaSettingsButtonView.swift:16-22 \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":"Wikipedia/Code/EraseSavedArticlesView.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9013d3589152e352cda0bab7a86eb376888e504c33bf0474edea8a682289f6bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Wikipedia/Code/NotificationsCenterViewController.swift:982-988 | Wikipedia/Code/TalkPageViewController.swift:535-541 \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 \u0060Wikipedia/Code/TalkPageViewController.swift:535\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NotificationsCenterViewController.swift"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3355bc7e0e88a42e674dc13803ceb28cc8034541d950bd357645666f3e14ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Wikipedia/Code/TalkPageCellCommentView.swift:176-182 | Wikipedia/Code/TalkPageCellTopicView.swift:440-446 \u2014 before extracting anything, compare \u0060Wikipedia/Code/TalkPageCellCommentView.swift\u0060 and \u0060Wikipedia/Code/TalkPageCellTopicView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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":"Wikipedia/Code/TalkPageCellCommentView.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"38be389d107f7d18f071d451765812c228f1be734f7cde8372dcfed004269334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Wikipedia/Code/TalkPageReplyComposeContentView.swift:349-359 | Wikipedia/Code/TalkPageTopicComposeViewController.swift:250-260 \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":"Wikipedia/Code/TalkPageReplyComposeContentView.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e9a4033848a161ea8ebba4a54bab419d0731eea9b66198cab1b091d6f6c1d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Wikipedia/Code/TalkPageTopicReplyOnboardingHostingController.swift:46-50 | Wikipedia/Code/VanishAccountWarningViewHostingViewController.swift:58-62 \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":"Wikipedia/Code/TalkPageTopicReplyOnboardingHostingController.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b225c430316f1f0c749221a711288fdcfa3833e800d38a96f6a4fca77b763d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Wikipedia/Code/TalkPageTopicReplyOnboardingView.swift:41-48 | Wikipedia/Code/VanishAccountWarningView.swift:41-48 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Wikipedia/Code/VanishAccountWarningView.swift:52\u0060 calls \u0060replacingOccurrences\u0060 and \u0060Wikipedia/Code/TalkPageTopicReplyOnboardingView.swift:50\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":"Wikipedia/Code/TalkPageTopicReplyOnboardingView.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e67baad97e8cfbc14c7ec0f1f5c9f2a5cdc21ba3b9b2cb1ff574b5d71bc8dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Wikipedia/Code/WMFAccountCreationViewController.swift:280-287 | Wikipedia/Code/WMFLoginViewController.swift:198-204 \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":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef61b1116021f25f91d75f91d6da6f2dd39bf655c9fae8a4e73d192537361c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Wikipedia/Code/WMFAccountCreationViewController.swift:328-334 | Wikipedia/Code/WMFLoginViewController.swift:162-168 \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":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b29d27cb4b9a31cbffca34b3ae773ea5eb4505dadfc468740b97906a7e208e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Wikipedia/Code/WMFAccountCreator.swift:10-17 | Wikipedia/Code/WMFAccountLoginLogoutFetcher.swift:10-17 \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":"Wikipedia/Code/WMFAccountCreator.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8f1e016d3420f500e9eb148901326bf0ec90c56de75d4fb569e363953df4f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsHostingController.swift:8-12 | WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSetupHostingController.swift:8-12 \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 \u0060viewModel\u0060 to \u0060WMFDiscoverSettingsViewModel\u0060 in one and \u0060WMFDiscoverSetupViewModel\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":"WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsHostingController.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bef1dfffde272f49a902e11ca7b7e75b69c607f43af5bc987572f783ff08ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsView.swift:302-307 | WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFInterestArticleGridView.swift:152-157 \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":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsView.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6842c2f4590fbab160aed3372eb92ed1175291eaa52f2be03fd3b60718b94da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift:153-168 | WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFDonationReminderDataController.swift:371-386 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a76e4ee0b935802f5bc67ae88f37ec97e41abfc50ad01b9f54c95e06caba875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift:197-203 | WMFData/Sources/WMFData/Data Controllers/Semantic Search/WMFSemanticSearchDataController.swift:218-224 \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":"WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed111054348dfbce77b17481d7079c27dfdd7cbaa16e2cf3c87dcc009289e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewMostReadCategoriesSlideDataController.swift:81-86 | WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewViewCountSlideDataController.swift:74-79 \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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewMostReadCategoriesSlideDataController.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb754f4e54099b61eb63407b775dbe7345f8825b8e5bea91c497dab7c39c5611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Widgets/Widgets/LockscreenSearchWidget.swift:29-34 | Widgets/Widgets/SearchWidget.swift:31-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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060configuration\u0060 to \u0060LockscreenSearchWidgetConfiguration = LockscreenSearchWidgetConfiguration()\u0060 in one and \u0060SearchWidgetConfiguration = SearchWidgetConfiguration()\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":"Widgets/Widgets/LockscreenSearchWidget.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a802d86176d86bb179ab29b122b51c00dae6aa9c4792e36364fcb349e37bc569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Widgets/Widgets/LockscreenSearchWidget.swift:65-69 | Widgets/Widgets/SearchWidget.swift:67-71 \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 \u0060completion\u0060 to \u0060@escaping (Timeline\u003CLockscreenSearchEntry\u003E) -\u003E Void\u0060 in one and \u0060@escaping (Timeline\u003CSearchEntry\u003E) -\u003E Void\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":"Widgets/Widgets/LockscreenSearchWidget.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13b46d4603b4ddcb4dc41d4b4708a214c546ff2074940b504ea10beaca27436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Widgets/Widgets/OnThisDayWidget.swift:58-62 | Widgets/Widgets/TopReadWidget.swift:156-160 \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 \u0060completion\u0060 to \u0060@escaping (OnThisDayEntry) -\u003E Void\u0060 in one and \u0060@escaping (TopReadEntry) -\u003E Void\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":"Widgets/Widgets/OnThisDayWidget.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8eb34d18984233991c8d266adc8056236042b71da8338ee1dd03b2f9258c4a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift:24-28 | Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift:23-27 \u2014 before extracting anything, compare \u0060Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift\u0060 and \u0060Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 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":"Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0852dfea0f2c6387dba8a24342544c4159a9d2c117930e6207a7b5b6a45d37e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift:55-59 | Wikipedia/Code/Advanced Settings/InsertMediaImageSizeSettingsViewController.swift:95-99 | Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift:55-59 \u2014 before extracting anything, compare \u0060Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift\u0060 and \u0060Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 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":"Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d17396138d37e028cf4b36cfce187c400a7851fb6f4895a0395bbd0f9cd1fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Wikipedia/Code/ArticleViewController.swift:985-991 | Wikipedia/Code/SinglePageWebViewController.swift:289-295 \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":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4590a5cff1a63889359d6208e31ed7635db6f8f8f63dc50472ba57e4570e743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Wikipedia/Code/DescriptionWelcomePanelViewController.swift:78-83 | Wikipedia/Code/WelcomePanelViewController.swift:42-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":"Wikipedia/Code/DescriptionWelcomePanelViewController.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adc50a1560267476159f543fb7a911c051150722298eed2c749fa74dbe49436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Wikipedia/Code/EditNoticesViewController.swift:21-25 | Wikipedia/Code/TalkPageCoffeeRollViewController.swift:24-28 \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 \u0060viewModel\u0060 to \u0060EditNoticesViewModel\u0060 in one and \u0060TalkPageCoffeeRollViewModel\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":"Wikipedia/Code/EditNoticesViewController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"09452662acdc7bf0f25380b8fd7ad1e6c1388085a6608f8081c67f923112f30e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Wikipedia/Code/InsertMediaSettingsImageView.swift:47-53 | Wikipedia/Code/InsertMediaSettingsTextTableViewCell.swift:64-70 \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":"Wikipedia/Code/InsertMediaSettingsImageView.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae50da7ae5362085172f4a5308b1e70826617c93712519d05557fdbd89ec22b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift:260-272 | Wikipedia/Code/NotificationsCenterDetailViewModel\u002BActionExtensions.swift:145-157 | Wikipedia/Code/NotificationsCenterDetailViewModel\u002BActionExtensions.swift:213-225 | Wikipedia/Code/NotificationsCenterDetailViewModel\u002BActionExtensions.swift:313-325 \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. 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":"Wikipedia/Code/NotificationsCenterCellViewModel\u002BSheetActionExtensions.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb627f15b9a3965b57a01a812d1768b96d37787a5d7fff64a3616e460eccf63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Wikipedia/Code/NotificationsCenterDetailViewController.swift:19-24 | Wikipedia/Code/TalkPageViewController.swift:162-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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060viewModel\u0060 to \u0060NotificationsCenterDetailViewModel\u0060 in one and \u0060TalkPageViewModel\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":"Wikipedia/Code/NotificationsCenterDetailViewController.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"db929b0d3ab0f9b9b26e84cf49a60a6636bb0a772805830ada92efb2cd41ef06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): WMF Framework/TimelineView.swift:274-278 | WMF Framework/TimelineView.swift:280-284 \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":"WMF Framework/TimelineView.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6758b2f31b310a440799933ce0f6f378482d817cabd21d0d066483c5e3cfcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift:73-85 | WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift:102-114 \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 \u0060WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift:73\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift:100\u0060 calls \u0060watchlistUserDidTapDiff\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift:72\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":"WMFComponents/Sources/WMFComponents/Components/Watchlist/WMFWatchlistViewController.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1ee08c00017f8456ef9cac4e198c343a18d6c56b131d123625604ad32e80b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Widgets/Widgets/RandomWidget.swift:16-22 | Widgets/Widgets/RandomWidget.swift:24-30 \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":"Widgets/Widgets/RandomWidget.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb854edb8a87071c786284a4ad6992b96feb8e037f291a200d0d19dd60487c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Wikipedia/Code/DiffListChangeCell.swift:139-143 | Wikipedia/Code/DiffListChangeCell.swift:168-172 \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":"Wikipedia/Code/DiffListChangeCell.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9656799e70811aa0c763659d329ce002c1aa938cad74245e48fd3e2e37be2ae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Wikipedia/Code/DiffListContextViewModel.swift:208-212 | Wikipedia/Code/DiffListUneditedViewModel.swift:63-67 \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":"Wikipedia/Code/DiffListContextViewModel.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"501e5f05c9a788806be4a751de20f0cf7382cde5b6823b4534454ccdb9adcdd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Wikipedia/Code/HomeFeedSettingsCoordinator.swift:84-88 | Wikipedia/Code/HomeFeedSettingsCoordinator.swift:169-173 \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":"Wikipedia/Code/HomeFeedSettingsCoordinator.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26ee72ed51b1409f4411644b92776218fc6a975e3d04fcef30db420953a97cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:8-20 | WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:22-33 | WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:35-46 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:73-87 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:108-117 \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":"WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d0b250c5a09a5b6fe12177a604ec80a9224cb4d8aaa6f13387e4887ccac081"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift:173-188 | WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift:197-212 | WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:108-123 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:153-168 \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":"WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"937c617b9b0e36e3f7e2c99bb49383d8acf7cb67870431f73f581c508d95c56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:7-16 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:18-27 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:59-71 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:97-106 \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":"WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11129e5f9677f7bde127618f65b62db600d5fc98a45342455e17e07a7704410"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): WMFData/Sources/WMFDataMocks/WMFMockURLSession.swift:46-52 | WMFData/Sources/WMFDataMocks/WMFMockURLSession.swift:60-66 | WMFData/Sources/WMFDataMocks/WMFMockURLSession.swift:87-93 \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":"WMFData/Sources/WMFDataMocks/WMFMockURLSession.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc32b5a8120f166a7dfd4f832f521f1bbce5c8daf573a6360b99258dd038b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): WMFTestKitchen/Sources/WMFTestKitchen/TestKitchenClient.swift:28-42 | WMFTestKitchen/Sources/WMFTestKitchen/TestKitchenClient.swift:47-60 \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":"WMFTestKitchen/Sources/WMFTestKitchen/TestKitchenClient.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6a12bd9c1867f2e6456ad69ba0ae7733e2c6b7c385cfbeac49f080cecfbb6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:125-127 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:170-172 \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":"WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a619c34b89bd803511a05800ab15d5e8051fe34b8d042cd7fefc3f83908f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift:44-65 | WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift:87-108 \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":"WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"346969aececbab245c831628c33017619cb092cc88fa3f00459b116a1016da49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:176-196 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:198-218 \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. 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":"WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2256cd626c7a13931351f07e7f2f843fab417fb320f0c35799a623055ee3a6ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift:175-188 | WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift:199-212 | WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:109-123 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:155-168 \u2014 before extracting anything, compare \u0060WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift\u0060 and \u0060WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bcc62cf22def1a769e0b7d74ee9b1491045dfbf621b453c57fce2399287825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift:158-171 | WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:92-106 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:138-151 \u2014 before extracting anything, compare \u0060WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift\u0060 and \u0060WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift\u0060 as WHOLE FILES: this scan already matched 3 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":"WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ccf05458401bfa2d0147b4a40f2501bbc116b3fab6e99ae4995374096c10eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 4): WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:12-17 | WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:25-30 | WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:38-43 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:75-82 \u2014 before extracting anything, compare \u0060WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift\u0060 and \u0060WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 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. 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":"WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b182de6bdfe281effbd266ffeb306db7f03e6f3428ce311fd2774e85988f6e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:7-14 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:18-25 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:59-66 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:97-103 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:7\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":"WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aabf3a49759652643e544967a40dcac7d76444597324d3c041afa95d2cb5527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift:149-156 | WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:83-90 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:129-136 \u2014 before extracting anything, compare \u0060WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift\u0060 and \u0060WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift\u0060 as WHOLE FILES: this scan already matched 3 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":"WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae9ca152a471013b0fc3b28d99e969e0db1ff089a1d00d83d1ef84e24ac7354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:12-17 | WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:25-30 | WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift:38-43 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:75-80 | WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift:110-114 \u2014 before extracting anything, compare \u0060WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift\u0060 and \u0060WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 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. 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":"WMFData/Sources/WMFDataMocks/WMFMockGrowthTasksService.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e23ba99b3c3731a47027f738b7b284849db209caad8028e45b82021f92809c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): WMFData/Sources/WMFDataMocks/WMFMockURLSession.swift:62-66 | WMFData/Sources/WMFDataMocks/WMFMockURLSession.swift:89-93 \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":"WMFData/Sources/WMFDataMocks/WMFMockURLSession.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfe60c96905e45929ea953f5c645813d2119d2c685339b1f68f3244a245616c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WMFNativeLocalizations: WMFNativeLocalizations: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"60435d2edb35209d23fc83d26a293b327297761cc1d87c0a7aa7614e0a09e392"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: WMFTestKitchen: WMFTestKitchen: abstractness 0.10, instability 0.00, distance 0.90 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"85dac971b83b889847d17959a94e699c70d09c69bff59a136a3251a800a2eec2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExploreViewController (LCOM4 55): ExploreViewController\u0027s methods fall into 55 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 55 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":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b7202a7bef0adc75afacb2b73cd9d6d74606221abc960ec1880d3a2d485ca7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UserDefaults (LCOM4 38): UserDefaults\u0027s methods fall into 38 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 38 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":"Wikipedia/Code/NSUserDefaults\u002BWMFApplicationDefaults.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"268dd30912631e142593808570c7b3a3b969938c8b239c955ba97f4227e0c941"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFAppViewController (LCOM4 26): WMFAppViewController\u0027s methods fall into 26 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 26 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":"Wikipedia/Code/WMFAppViewController.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"392218cd85b12a1a063261cfac25147dafec0e0585014c5b3b029ddb4908325c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UIViewController (LCOM4 25): UIViewController\u0027s methods fall into 25 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 25 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":"Wikipedia/Code/FundraisingAnnouncementPanel.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ecb047f220ccc861177ec7414139352459a605f48b2817792178adc6cf386e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArticleViewController (LCOM4 17): ArticleViewController\u0027s methods fall into 17 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 17 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":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb22677a10159901e2af3329b2c1ac829cc11693ac6b6e4c2480346e3c442025"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFDeveloperSettingsViewModel (LCOM4 13): WMFDeveloperSettingsViewModel\u0027s methods fall into 13 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 13 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":"WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsViewModel.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bfff522f1c13317f0588e3a3e7008f7d44c02be5f863cbf03b9706237a474c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EditorViewController (LCOM4 13): EditorViewController\u0027s methods fall into 13 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 13 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":"Wikipedia/Code/EditorViewController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ee029a60c16f69b807af852b6e4f8705c33c6360f41879c63d58d7f8a12a40"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OnThisDayViewController (LCOM4 13): OnThisDayViewController\u0027s methods fall into 13 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 13 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":"Wikipedia/Code/OnThisDayViewController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ff568a5e59132a75e02a65e8ecdef81b71c06515969f86a6b985ffc762497e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TalkPageViewController (LCOM4 13): TalkPageViewController\u0027s methods fall into 13 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 13 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":"Wikipedia/Code/TalkPageViewController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74e31e1b3fd4978031ebe4c7eff996205e6a83b807d00208803f8bdd812755a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UIView (LCOM4 13): UIView\u0027s methods fall into 13 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 13 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":"WMF Framework/UIStackView\u002BSubviewVerification.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7591834f3f7d1759b9167a7df1c1200a76cc560ec388a609083b2070158d7446"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Configuration (LCOM4 12): Configuration\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":"WMF Framework/Configuration.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42277af775eebbc35979b69e11ea0b90987f6a15da2a82940556ace05f04c22"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ColumnarCollectionViewController (LCOM4 12): ColumnarCollectionViewController\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":"Wikipedia/Code/ColumnarCollectionViewController.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e5ee4bf2f9a10404ecd8f44c9b3b9d135f93c44fc8fe21bc5835b46cb5bc8a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InsertMediaViewController (LCOM4 12): InsertMediaViewController\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":"Wikipedia/Code/InsertMediaViewController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8702d5928777256584379b98edf510d7eb908a64a8114eac980f756ed736399f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSearchResultsViewModel (LCOM4 11): WMFSearchResultsViewModel\u0027s methods fall into 11 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 11 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":"WMFComponents/Sources/WMFComponents/Components/Search/Results/WMFSearchResultsViewModel.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3b044abb7fa94d81dbb823b9f650f319d957d298d926cbe050f4b5c6ac13f8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFActivityTabDataController (LCOM4 11): WMFActivityTabDataController\u0027s methods fall into 11 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 11 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":"WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc963b872ca044e345d7a770728064a4c49577c739b5b2339125c930c9116efd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DiscoverSettingsCoordinator (LCOM4 11): DiscoverSettingsCoordinator\u0027s methods fall into 11 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 11 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":"Wikipedia/Code/DiscoverSettingsCoordinator.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55bd5a18f44e0a43db26f0736f6c9b2a8ae0abe742c7f30dad9f1c3ac125a96"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NewsViewController (LCOM4 11): NewsViewController\u0027s methods fall into 11 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 11 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":"Wikipedia/Code/NewsViewController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcf4619c4b1e24adb484157c5810491a5afcc7877f1e3beda326c8028b0cce6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFActivityTabViewController (LCOM4 10): WMFActivityTabViewController\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":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0174081d37d17036077cdc8edb32cf298d5d89abb581d508df04044f050d07"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArticleFetchedResultsViewController (LCOM4 10): ArticleFetchedResultsViewController\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":"Wikipedia/Code/ArticleFetchedResultsViewController.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a3277e94d4a3505244a374c895f77fa8fd5c7472af0322df2dc1063ba852d4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InsertMediaSettingsViewController (LCOM4 10): InsertMediaSettingsViewController\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":"Wikipedia/Code/InsertMediaSettingsViewController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea3eaa0076711601d88583534633a5cabab37a5a532b420f78500ff9b057c74"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReadingListsViewController (LCOM4 10): ReadingListsViewController\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":"Wikipedia/Code/ReadingListsViewController.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2154ff5bad1b39587822d09395c1b4b52842bc1bac32b728923e82c4d58897ed"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArticleURLListViewController (LCOM4 9): ArticleURLListViewController\u0027s methods fall into 9 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 9 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":"Wikipedia/Code/ArticleURLListViewController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a713a8df4c88e89990739e2aeaa0c53e6c51a61d96547c4c825459e92ecb8d10"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExploreCardViewController (LCOM4 9): ExploreCardViewController\u0027s methods fall into 9 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 9 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":"Wikipedia/Code/ExploreCardViewController.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd10e8757189346fcd71345c6bd878fc79afb62b421fbb87f6e9d104e81df53c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SavedAllArticlesCoordinator (LCOM4 9): SavedAllArticlesCoordinator\u0027s methods fall into 9 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 9 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":"Wikipedia/Code/SavedAllArticlesCoordinator.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce6adc90b75db4d4828d904b841e8a2a67ed2d83f9c59b6c929a00d019ae7f2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SearchViewController (LCOM4 9): SearchViewController\u0027s methods fall into 9 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 9 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":"Wikipedia/Code/SearchViewController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0518a84077997901292be8d21270705372f6dea1d700d199126599588068ad0d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: String (LCOM4 9): String\u0027s methods fall into 9 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 9 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":"WMF Framework/HasText.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ee8c981404497bec655bf9426ca6871285351aec14fdcce1e45d0d838e8999"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFComponentNavigationController (LCOM4 8): WMFComponentNavigationController\u0027s methods fall into 8 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 8 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":"WMFComponents/Sources/WMFComponents/Base/Component Base Classes/WMFComponentNavigationController.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"22776f58e0d090560cb154da57f30c56e0aee07505cdccae2f7396fdb6fbd1ed"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSourceEditorFormatterLink (LCOM4 8): WMFSourceEditorFormatterLink\u0027s methods fall into 8 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 8 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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/WMFSourceEditorFormatterLink.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac5d1b6d6f91274842f1de50e18e5715df4d804f977a4b1343cac0f8e626927"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArticleFetcher (LCOM4 8): ArticleFetcher\u0027s methods fall into 8 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 8 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":"Wikipedia/Code/ArticleFetcher.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1046968702e0cdf89db51355655e1e8b85dc6c81f343d1adc3d716fa598798"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EditPreviewViewController (LCOM4 8): EditPreviewViewController\u0027s methods fall into 8 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 8 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":"Wikipedia/Code/EditPreviewViewController.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"774e329f138472ecc4a982bb2e805f88dc444b90a44f131b8513b238c49967a3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TalkPageTopicComposeViewController (LCOM4 8): TalkPageTopicComposeViewController\u0027s methods fall into 8 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 8 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":"Wikipedia/Code/TalkPageTopicComposeViewController.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c083b3769f1a62a998937d3c8163152f104e5e36c47b5cb1eefb4661b61d7093"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ColumnarCollectionViewLayout (LCOM4 7): ColumnarCollectionViewLayout\u0027s methods fall into 7 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 7 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":"WMF Framework/ColumnarCollectionViewLayout.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9388a74b5d06fce8afe8a27044281f94647d46e4b7861d6990bd95f40b6ea45"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppearanceSettingsViewController (LCOM4 7): AppearanceSettingsViewController\u0027s methods fall into 7 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 7 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":"Wikipedia/Code/AppearanceSettingsViewController.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd08336544755c6f449ce97a4a99b2e9378a3a30cdccaad4bca0e11e0fb0d1d4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArticleLocationCollectionViewController (LCOM4 7): ArticleLocationCollectionViewController\u0027s methods fall into 7 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 7 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":"Wikipedia/Code/ArticleLocationCollectionViewController.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c87cc002037b42f4c46198e11caa2faa3bc1316f8572f1fa6ede93531fc061d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BaseExploreFeedSettingsViewController (LCOM4 7): BaseExploreFeedSettingsViewController\u0027s methods fall into 7 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 7 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":"Wikipedia/Code/BaseExploreFeedSettingsViewController.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"140142313e6cc6a54606f04449b54e960f06718d1cb1ce91d66fb420db9773c9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReadingListDetailViewController (LCOM4 7): ReadingListDetailViewController\u0027s methods fall into 7 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 7 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":"Wikipedia/Code/ReadingListDetailViewController.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff7d6c1037b630f7230b093ca09d4d85f348e0dd6369b1e2d8e64e72b16378c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReadingThemesControlsArticlePresenter (LCOM4 7): ReadingThemesControlsArticlePresenter\u0027s methods fall into 7 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 7 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":"Wikipedia/Code/ReadingThemesControlsProtocols.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d154693cf4924276d2b2c434cdc05d6bd98556f53252da1f331cecc42ee002eb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SinglePageWebViewController (LCOM4 7): SinglePageWebViewController\u0027s methods fall into 7 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 7 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":"Wikipedia/Code/SinglePageWebViewController.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"34570484b004c3fed37b85a598de4931a1212aab0ce1e6c10c787858b1cc8031"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TabsOverviewCoordinator (LCOM4 7): TabsOverviewCoordinator\u0027s methods fall into 7 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 7 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":"Wikipedia/Code/TabsOverviewCoordinator.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bf857ac8d1ac465b29288e283f224fc69fa843b857bb8738148a53ee3f1902"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UITextView (LCOM4 7): UITextView\u0027s methods fall into 7 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 7 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":"WMF Framework/HasText.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e4639657e4dae1d3f0925882651c1430142848b37949ae89e2ad27048b89ff"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NSManagedObjectContext (LCOM4 7): NSManagedObjectContext\u0027s methods fall into 7 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 7 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":"WMF Framework/NSManagedObjectContext\u002BHistory.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1049fada0564664a319fa767eafc69ca012eff048ba90c348378bb9a06a6ed0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFActivityTabViewModel (LCOM4 6): WMFActivityTabViewModel\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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabViewModel.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa5c56cac91be0c05b1cf205cfe6e8820dba502fb2c64b7a123009c65b17a4e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSourceEditorFormatterList (LCOM4 6): WMFSourceEditorFormatterList\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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/WMFSourceEditorFormatterList.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0feea4dac0fd7883aa7e16225bee5d7086bfff5f895779e575008e0f193ecc03"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSemanticSearchDataController (LCOM4 6): WMFSemanticSearchDataController\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":"WMFData/Sources/WMFData/Data Controllers/Semantic Search/WMFSemanticSearchDataController.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e782bf7d12769a963f984e8c6a7b62b6d29eb14084f2c906b76a0c90a8239f19"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSettingsDataController (LCOM4 6): WMFSettingsDataController\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":"WMFData/Sources/WMFData/Data Controllers/Settings/WMFSettingsDataController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"279147944f05db338a176194b5450993da74c165075268105761fb5865bc45c3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFMockBasicService (LCOM4 6): WMFMockBasicService\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":"WMFData/Sources/WMFDataMocks/WMFMockBasicService.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d217e707d47d24c3284c03b38a98c623e9cc817bbb070ea256ec97f0a5dc8732"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFMockWatchlistMediaWikiService (LCOM4 6): WMFMockWatchlistMediaWikiService\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":"WMFData/Sources/WMFDataMocks/WMFMockWatchlistMediaWikiService.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09ee7f43b934443562b0029db9b449d37ef33f722f57958dd391278e0efdec5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UserSession (LCOM4 6): UserSession\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":"WMF Framework/UserSession.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cd1468a41236d6e48e083e8e4c12749719f3af77041a463119965324a70bfb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppDelegate (LCOM4 6): AppDelegate\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":"Wikipedia/Code/AppDelegate.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed2d07f4e8fc7618c3bce08085c4777b13a2394183d7e3364cc354c003bc43a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArticleCollectionViewController (LCOM4 6): ArticleCollectionViewController\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":"Wikipedia/Code/ArticleCollectionViewController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad5d5852164bdaaec2f79b5da2b642359dc7dbaad827a2dfc2bbd738135dfe9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArticleWebMessagingController (LCOM4 6): ArticleWebMessagingController\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":"Wikipedia/Code/ArticleWebMessagingController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7fb754752c3db3d35959567355c4b048ea27a2361fe2ed5a8627674b3f2329"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExploreFeedSettingsViewController (LCOM4 6): ExploreFeedSettingsViewController\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":"Wikipedia/Code/ExploreFeedSettingsViewController.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcecad6df8c9086c47f209563a3f1097e175b1bbe0f19f2f1f6029bcec5e7580"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PlacesViewController (LCOM4 6): PlacesViewController\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":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c13e51b22cd135fb56f08faf858bc5a74ffc1b6ab721629af5260268cd2782"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReadingListEntryCollectionViewController (LCOM4 6): ReadingListEntryCollectionViewController\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":"Wikipedia/Code/ReadingListEntryCollectionViewController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"73927c79a64231beefef3a1f02633c153f770c9af50d43fc14c55e4838b5ddad"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SceneDelegate (LCOM4 6): SceneDelegate\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":"Wikipedia/Code/SceneDelegate.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a6dbcda76ace8d3b1fbdeb2f77f1a03b7c94ace3869dd29999bb59a3b36b8f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFAnalyticsInspectorViewModel (LCOM4 5): WMFAnalyticsInspectorViewModel\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":"WMFComponents/Sources/WMFComponents/Components/Analytics Inspector/WMFAnalyticsInspectorViewModel.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cebf62a791887249cca080d353df8fa2d01ae829e278401e46d3cc379634d09"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFArticleTabsViewModel (LCOM4 5): WMFArticleTabsViewModel\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":"WMFComponents/Sources/WMFComponents/Components/Article Tabs/WMFArticleTabsViewModel.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc21aa8df2db82057f43bed113ae7fec4d5c35dbdfeaa11fd8407bbaa6b6720"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFDiscoverReadingListViewModel (LCOM4 5): WMFDiscoverReadingListViewModel\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":"WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverReadingListViewModel.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf61c58bc134e64cf3faa173bf231d4ad2fca5be56155310c4f53c1f6ea7c15"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFHistoryViewModel (LCOM4 5): WMFHistoryViewModel\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":"WMFComponents/Sources/WMFComponents/Components/History/WMFHistoryViewModel.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c5087ecc3869779a3afaaa4e9d86de7f03b785d87f4878f265ee8106106552"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFCreateReadingListViewModel (LCOM4 5): WMFCreateReadingListViewModel\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":"WMFComponents/Sources/WMFComponents/Components/Saved/Create Reading List/WMFCreateReadingListViewModel.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f772c3bbdcdccdebba4dcc2174dd0604f347e3c293721b66bd054ff4cea87775"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFWatchlistDataController (LCOM4 5): WMFWatchlistDataController\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":"WMFData/Sources/WMFData/Data Controllers/Watchlist/WMFWatchlistDataController.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"65eb8e417ce71439258193c11a9cb593bf1646a0a5e52479b75275d10bdf80a4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFCaptchaViewController (LCOM4 5): WMFCaptchaViewController\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":"WMF Framework/WMFCaptchaViewController.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fc7ad2ca381ec35aa12beef30991babe60877005e5ffefefc0c09075321e3e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RemoteNotificationsController (LCOM4 5): RemoteNotificationsController\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":"WMF Framework/Remote Notifications/RemoteNotificationsController.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9125607cb1a56914424ccc0d1cc1ecd3e7a4157e664ca59970443d28811d0979"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CollectionViewCell (LCOM4 5): CollectionViewCell\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":"Wikipedia/Code/CollectionViewCell.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae149b5a60327db903bd810d0b0832a34a463e09898ad8841cead6fc55bb8757"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DescriptionHelpViewController (LCOM4 5): DescriptionHelpViewController\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":"Wikipedia/Code/DescriptionHelpViewController.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb975c72ef44de1bf1436fb7b16b95e692fa86a9f30eb8773cc35f2104fcc85a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DiscoverSetupCoordinator (LCOM4 5): DiscoverSetupCoordinator\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":"Wikipedia/Code/DiscoverSetupCoordinator.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbd8f3c92f731956e511a9d6f4dac0618836ca37afc16f073f43040f4da72f8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EditSaveViewController (LCOM4 5): EditSaveViewController\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":"Wikipedia/Code/EditSaveViewController.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0ad7083d7f30b27735e97fb73b66ddb562dbcc7f513a49d2a13718c3f09451"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NotificationsCenterDetailViewController (LCOM4 5): NotificationsCenterDetailViewController\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":"Wikipedia/Code/NotificationsCenterDetailViewController.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1f18dcd2dd6972ec8d4b4cacdc5a23dca164fd713f4a09ca2c3541dd58e330"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NotificationsCenterViewController (LCOM4 5): NotificationsCenterViewController\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":"Wikipedia/Code/NotificationsCenterViewController.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60d0155bcaec62d8b6580b38d40c5322afbcad74511f1bc84c3774462162efe"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NotificationsCenterViewModel (LCOM4 5): NotificationsCenterViewModel\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":"Wikipedia/Code/NotificationsCenterViewModel.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cb606616397936ea52f81508fcd59a35181396b3c6c50eec650fe2f25c4485"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PageHistoryViewController (LCOM4 5): PageHistoryViewController\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":"Wikipedia/Code/PageHistoryViewController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c38175b5b23ec85633a4b2fdbd11ad81951d2bea6d95db42e97ce22af0e474"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SavedCoordinator (LCOM4 5): SavedCoordinator\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":"Wikipedia/Code/SavedCoordinator.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8290512ebf87e4b5ddd674030cee6fe6e03278f371149a122b8b16f3396596"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TalkPageCellViewModel (LCOM4 5): TalkPageCellViewModel\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":"Wikipedia/Code/TalkPageCellViewModel.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"248cdd70c5b6d81e30f9ddb3e07d18fc0ec690bd0ed6f39ef306c7ae1e9b37d8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ThemeableTextView (LCOM4 5): ThemeableTextView\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":"Wikipedia/Code/ThemeableTextView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf30d075a9fcf405b272044d542d8cc408a142b94508baee16330feea746b3a5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UIScrollView (LCOM4 5): UIScrollView\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":"WMF Framework/UIScrollView\u002BLimits.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd31613b6cd95b46894b65b2c7d4cd919b9415e8a63cb1317351abf4c768c4a2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFAnalyticsInspectorViewController (LCOM4 4): WMFAnalyticsInspectorViewController\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":"WMFComponents/Sources/WMFComponents/Components/Analytics Inspector/WMFAnalyticsInspectorViewController.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fba96b1ab226de4a59d771325adb8945fd4d1eb78d9cfc0a3b0b4a16cf0851"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFFindInPageViewModel (LCOM4 4): WMFFindInPageViewModel\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":"WMFComponents/Sources/WMFComponents/Components/Shared/WMFFindInPageView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65042dce05be9c743aa1a1cb54a564f16e2f710aaacaae6d1cf81e2f87b9db4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSourceEditorFormatterBoldItalics (LCOM4 4): WMFSourceEditorFormatterBoldItalics\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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/WMFSourceEditorFormatterBoldItalics.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"878b873369075cdb4af6249332fcf6ac9d107d31014835e3ef00738e755b4dde"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSourceEditorFormatterComment (LCOM4 4): WMFSourceEditorFormatterComment\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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/WMFSourceEditorFormatterComment.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc14f0714f5d666e6275110ff4ae19334b4011da14d9fa2cd6a1f64d066bc79"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSourceEditorFormatterReference (LCOM4 4): WMFSourceEditorFormatterReference\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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/WMFSourceEditorFormatterReference.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"04789714d50574b6814354f119a07a3da721d333a87c71cb44ea9fc796d9aa05"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSourceEditorFormatterStrikethrough (LCOM4 4): WMFSourceEditorFormatterStrikethrough\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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/WMFSourceEditorFormatterStrikethrough.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5556665cf592f59ce9e88b0790b6d611813ebcc8c2f1f9edd411f0753786b8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSourceEditorFormatterSubscript (LCOM4 4): WMFSourceEditorFormatterSubscript\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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/WMFSourceEditorFormatterSubscript.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47b3838947c7dfd9d708c26787a0bdde0c604cf6d933d4539cb8b464c1d67e1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSourceEditorFormatterSuperscript (LCOM4 4): WMFSourceEditorFormatterSuperscript\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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/WMFSourceEditorFormatterSuperscript.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6727aaa8ff4e0533dbf75c6ba869d51e8b8c1b163441ae3ad908e01fc50eb722"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSourceEditorFormatterTemplate (LCOM4 4): WMFSourceEditorFormatterTemplate\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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/WMFSourceEditorFormatterTemplate.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a5c86b16acdf09e7e8fa7df890d1842f9bbf0999336df6f14591e0a837a637"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSourceEditorFormatterUnderline (LCOM4 4): WMFSourceEditorFormatterUnderline\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":"WMFComponents/Sources/WMFComponents/Components/Editors/Source Editor/WMFSourceEditorFormatterUnderline.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"27efe4b717af3f7be8af094db68e462cf6ee697c39ccbb51f004954f724f5b61"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFWhichCameFirstResultsViewModel (LCOM4 4): WMFWhichCameFirstResultsViewModel\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":"WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Results/WMFWhichCameFirstResultsViewModel.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc5f4cbf2279b8ab884bb86e090bb437efa5a30b8a23b50cba88748758d31f9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFForYouInterestsStore (LCOM4 4): WMFForYouInterestsStore\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":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFInterestsStore.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b606d531210930a26e3562c49cd896e22f93a3954325a495896e97d50a6e08"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFCoreDataStore (LCOM4 4): WMFCoreDataStore\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":"WMFData/Sources/WMFData/Store/WMFCoreDataStore.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a82b5a2cb7f59f2f4fc342e0903965bd0d87767cf89a2362e0d03c3b1598f5a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFDeveloperSettingsDataController (LCOM4 4): WMFDeveloperSettingsDataController\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":"WMFData/Sources/WMFData/Data Controllers/Developer Settings/WMFDeveloperSettingsDataController.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"83af9b578e120a9d0d9241b429bc70285ec76257c5e45b95cc00a1a4b4d43f7d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFDiscoverDataController (LCOM4 4): WMFDiscoverDataController\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":"WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverDataController.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9ac87a831dad95cbc449d5e5559fc9b3fda7ea38e8f6a8648e4684a03a3f53"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFHistoryDataController (LCOM4 4): WMFHistoryDataController\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":"WMFData/Sources/WMFData/Data Controllers/History /WMFHistoryDataController.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb68ce4e6f5a626515dcbb590c950aae6cb78db692c393c32a5d6601bab64f70"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFLegacyReadingListsDataController (LCOM4 4): WMFLegacyReadingListsDataController\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":"WMFData/Sources/WMFData/Data Controllers/Legacy Reading Lists/WMFLegacyReadingListsDataController.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a415d38ae09a563837ea672900299b988f5f376476f1afaadb6196d9ea47ea"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFSavedArticlesDataController (LCOM4 4): WMFSavedArticlesDataController\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":"WMFData/Sources/WMFData/Data Controllers/Saved Articles/WMFSavedArticlesDataController.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a83c464539591b81f718239dac0082f3fb86f78a435c0206631c17012d9dc4e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFYearInReviewDataController (LCOM4 4): WMFYearInReviewDataController\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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f5a9358e53016382bdc6ee6fa0921a0d60cad0088aad7c6c1e337497f5d34d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFHangingBasicService (LCOM4 4): WMFHangingBasicService\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":"WMFData/Sources/WMFDataTestSupport/WMFHangingBasicService.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"af094d6eb01eaf5eb70a83f27a7a4f4650d2c9bc0741e93245263ae61dd6111c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Funnel (LCOM4 4): Funnel\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":"WMFTestKitchen/Sources/WMFTestKitchen/Instrument/Funnel.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5168f792fde5d181afcea891b231c866b3b106909698cf59d988d99e850d3492"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TestKitchenAdapter (LCOM4 4): TestKitchenAdapter\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":"WMF Framework/TestKitchenAdapter.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a304caa2a23b9cffa6a3b86a12d5dbbb503a96aa66c6123ad8a8df73e01013b1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WidgetController (LCOM4 4): WidgetController\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":"WMF Framework/Widget/WidgetController.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af7c47061754e888e98f4c59d531a2911765803b039c660ea82b9ea74325f9e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArticleCacheDBWriter (LCOM4 4): ArticleCacheDBWriter\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":"Wikipedia/Code/ArticleCacheDBWriter.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"660825f87e8ac19234de2dc35a2775dadd0bb0f3fa29e061eaf1860996feb53d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArticleFullWidthImageCollectionViewCell (LCOM4 4): ArticleFullWidthImageCollectionViewCell\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":"Wikipedia/Code/ArticleFullWidthImageCollectionViewCell.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c415acbe7f43695f073d1ba5a68c2af352c2b85384ffa6c5e02f000ad1b27816"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DiscoverReadingListCoordinator (LCOM4 4): DiscoverReadingListCoordinator\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":"Wikipedia/Code/DiscoverReadingListCoordinator.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"148231a130ae5463b277f259bac997194a44c64e1a50bdedf19d6e36bb3cf128"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HelpViewController (LCOM4 4): HelpViewController\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":"Wikipedia/Code/HelpViewController.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"66259872a096e5190332c328aa96cd73099723e351bf5e452ba956d3a601f5d4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LibrariesUsedViewController (LCOM4 4): LibrariesUsedViewController\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":"Wikipedia/Code/LibrariesUsed.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5513c1c8a3e5188f3dc3e8a44abb510eeaf1702d8fe2c0dc1a1afcdacd34e0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PageIssuesTableViewController (LCOM4 4): PageIssuesTableViewController\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":"Wikipedia/Code/PageIssuesTableViewController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf0785c21dd782a7281d4aaac6608113dca7c6eb5b260a7b0ab5f061fd8eb22"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReadingListsAlertController (LCOM4 4): ReadingListsAlertController\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":"Wikipedia/Code/ReadingListsAlertController.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1a5205e16dfe47e1bb417c1fa22f0db77fba1e8ad6e35de99c9e48bc609d65"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReadingThemesControlsViewController (LCOM4 4): ReadingThemesControlsViewController\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":"Wikipedia/Code/ReadingThemesControlsViewController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"506cfdbaf1e86106f7a1fe07e1f195460389ae03b66d98690f7ca7faad73914d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SavedArticlesCollectionViewCell (LCOM4 4): SavedArticlesCollectionViewCell\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":"Wikipedia/Code/SavedArticlesCollectionViewCell.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d415b0695da9620beefcc0269e448dcc727bed20a220c00a138416697bffc2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SubSettingsViewController (LCOM4 4): SubSettingsViewController\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":"Wikipedia/Code/SubSettingsViewController.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dd774c5bdeb2240fccc644c170eb063354fdcc3bdc3d5142adf2a0b539c5b0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TempAccountExpiryViewController (LCOM4 4): TempAccountExpiryViewController\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":"Wikipedia/Code/TempAccountExpiryViewController.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"991ae1bead5a294f91da230cf5044bfa72525f2d7bb6fe4a8d2f9a986043873b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WMFScrollViewController (LCOM4 4): WMFScrollViewController\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":"Wikipedia/Code/WMFScrollViewController.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec49bc0512f57497459ad064b948c5708f93c798d7d6148d76396f161311dd93"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InsertMediaImagePositionSettingsViewController (LCOM4 4): InsertMediaImagePositionSettingsViewController\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":"Wikipedia/Code/Advanced Settings/InsertMediaImagePositionSettingsViewController.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"62af28d05e39f68f5faeeff35506076968da07bd6348ab4fce4825865d0c4c4c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InsertMediaImageTypeSettingsViewController (LCOM4 4): InsertMediaImageTypeSettingsViewController\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":"Wikipedia/Code/Advanced Settings/InsertMediaImageTypeSettingsViewController.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2efef8eee643e60e99a848644c6880cfe8564a6c2d536be9ff3bc33ef79be4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TempAccountsSettingsViewController (LCOM4 4): TempAccountsSettingsViewController\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":"Wikipedia/Code/Temp Accounts/TempAccountsSettingsViewController.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a54a5d1d7976d8a766d1a53b73ce484fdf94bf36e9cca7ebd116ab3f255f908"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: URL (LCOM4 4): URL\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":"Widgets/Widgets/URL\u002BWidgetSource.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00d782917b23aed428a17b780cae74176606bd71eb1baa0767344fd20ef5fa7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: WMFTestKitchen/Sources/WMFTestKitchen/Config/SourceConfig.swift: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Config/SourceConfig.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13df6ce6bcbc7b1082acd7a2e22c049634bc3258a11b7d0ea622db61dcd93665"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: WMFTestKitchen/Sources/WMFTestKitchen/Context/AgentData.swift: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/AgentData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a144294d55a9c9627c0224ce80f6f57a8280bba44961d38d62f3f3d9a94c0a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: WMFTestKitchen/Sources/WMFTestKitchen/Context/PageData.swift: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/PageData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb201ccc6620410519e63c351dc06617ef40abfe376abf4e7d24fac202998f1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: WMFTestKitchen/Sources/WMFTestKitchen/Context/PerformerData.swift: 0.0% line coverage (0/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/PerformerData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"830b94b625505506ee5622871833e91fb20825e850bfbd6c656ebbe6d8ba0e77"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: WMFTestKitchen/Sources/WMFTestKitchen/ContextController.swift: 3.9% line coverage (2/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/ContextController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c2e2cf1ca3791bcfd285cc4f76a39e91c994ce7a64b82eac33193c5cb5b53d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: WMFTestKitchen/Sources/WMFTestKitchen/Error\u002BExtension.swift: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Error\u002BExtension.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adec7e46a260fdff2c272fc72cab6764c2825f14a9c7376807bf94fe93bde34c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: WMFTestKitchen/Sources/WMFTestKitchen/Instrument/Funnel.swift: 0.0% line coverage (0/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Instrument/Funnel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa448d6c84076a9942c060f4bcc071bcd213691e5bca572c1538bf844526a27"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: WMFTestKitchen/Sources/WMFTestKitchen/Instrument/InstrumentImpl.swift: 0.0% line coverage (0/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Instrument/InstrumentImpl.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c1203bea540e23fd2b11510c7c8076d5a5d08cf22d6f4403815ccab1509fec"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testArticleNonLeadImageCanBeTapped: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c33df013738c240b8d7a7aebfe828e5ca1af6884d3380dcfaf2c3521b3c7e0b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testArticleLinkLongPressShowsPreviewAndMenuItems: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f1c73983a907157edadc7c9590ac359d8c5411147c2e06f79e486424f76275"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testQuickFactsArticleLinkLongPressShowsPreviewAndMenuItems: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c610a2ae3dcad4f737802ab8a23702ae2564aa1261614a80dab1b1b56087465d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testArticleTableItemsCanBeTapped: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba4d4be845141ec74f55e3d507705929bebb7af0575f31d2dc9f91422716b5e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testBohemiaLeadImageOpensImageGalleryAndCanShare: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleImageGalleryUITests.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"de16da257a9694cc8510e0f2632edc12d4eddba4045dbd7b54bd0c0066eb9518"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testHostingItemPrefersTheVerticalBarOnIPhoneDuo: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Tests/WMFComponentsTests/WMFBarButtonHostingViewTests.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b87148c1efde657518d542dfac7af457f5486cec2e248af1a61331b2980b30"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testFirstLaunchShowsOnboardingSmoke: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/AppOnboardingUITests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08dd7a437d03b154284439c1bf87fce010fe09479e521087949835589b6dde9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testOnboardingScreenshots: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/AppOnboardingUITests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"00892a295939dde78cf142d532504bf735f24e5f845f13c40a4123ffee9f046e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testAdvanceThroughAllStepsCompletesOnboarding: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/AppOnboardingUITests.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4f6f4fbe41afcb39aadfbc78d577efe9cb06a8b04ed48c37586611f7ec271e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSkipFromPersonalizationCompletesOnboarding: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/AppOnboardingUITests.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e40a7e94107d4b91547707c864dcfc46751dcbdba48eed7a4400d23a5167b5a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testLearnMoreLinksPresentDestinations: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/AppOnboardingUITests.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7255248cb4b5d46aee552fbda14d04dd1449f6d5bbac2116d48bd5d2577a40"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testAdditionalLanguageCanBeAddedDuringOnboarding: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/AppOnboardingUITests.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a05f8933d8eb323b95c080400ce83236edca5c386e342a083e9bb363c07ec25"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testLaunchLocaleSeedsPreferredWikipediaLanguage: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/AppOnboardingUITests.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eada1c2de86cfd4e85504295cce202ef205c3b41d69906d7e5442ba0204028a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleBackButtonReturnsToHome: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b88c48ce892b8fa85a2a970cf18af4344684f89a24dfab69915388d63007b9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleHomeButtonReturnsToHome: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0561e24f80acf33276a1aaa33644dd3a6ed3490d82e8c3bc04a44fbb51a74844"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleSearchButtonOpensSearch: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"611ae0f777c30a082d0b4a02ef4c053c5a0dc93aecc80c5d33cf7cce474c888d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleTableOfContentsButtonOpensContents: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"46418e99e1090f8685ad5d44a4a04907cd55a1761fa8e4a078fe50a199fd2672"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleLanguageControlSwitchesArticleLanguage: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3163af496217c13a22218e8ee028dcb481d8538aad627268e936fb02b9184595"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleSaveControlTogglesSavedState: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5b7f7868fa6c501f67ffe670d71a9b28cf5f2a763a49adedec61c10e197958"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleFindInArticleSearchesAndCloses: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2597246cba6573aab1f0f3ca6baebbb10d7e42acf045498a3f0da91f794175ac"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleThemeControlAdjustsReadingTheme: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3426f6aceb4a0e48ee49a3573a4eef2f0554c71f1ce053627ffb0697ea1f94e6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleTableOfContentsDismissesWhenTappingOutside: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"171b213439db2c0131d66c40245cc16300df52d0783086e3e9c1038319f192f3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleTableOfContentsSectionSelectionWorks: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36e442d6a1289ccfc8901a05b1a57cc2e0ed33e0817e832360c1ecbb983c323"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleTableOfContentsWorksAfterRotation: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec07af35d58f2c8458244db752e06bdfe97ea6f237141c21f70aa25f65b83af"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleOverflowMenuItemsAreAvailable: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"191683b08992f0ff6f7487b1f75bb0c7b00ec2d062d796ab72baf55d8769d45e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleOverflowWatchCanBeTapped: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f6d0c3f2f65d34ba128e2470b7ddeefcee64315f6e06b5517484ca33342301"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleOverflowTalkPageCanBeTapped: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc6cde8639aebb2328d9c4e1efb4e77d15194b167b63782f7cc7bccaa8860ee"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleOverflowEditCanBeTapped: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcded165b88f68af108f020c2f9398bd2090c41669bf5e2bf001ea490d6d6915"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleOverflowBackReturnsToPreviousArticle: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ae4c5ed47310d93ddb1b1c6af9d0c85c2f8e4a66b33ab468be509c230cf594"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleOverflowRevisionHistoryCanBeTapped: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d9cb896405d0d76f6523b8ef9891692034543e41a1b274094f219ad1f76628"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testProtectedArticleEditIconCanBeTapped: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfd36d216c6674740bc17ce29ef75119f9feb306518f340dbfe93f2e7997409"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testUnprotectedArticleEditIconCanBeTapped: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d053403e4bbd9f331f883a1e49cf6ee4b46b992800be646edb76d74a0f3d62a2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleFooterAndLicenseLinksCanBeTapped: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9a94ea187ae1fa8ec0e9c911bfdb9c6c5a8ed3bda8c2eddef6cfc5e5f3598b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArticleWorksAfterRotation: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ArticleControlsUITests.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b7ddc4f77cd6b2e758c263dfa4ddb5ff46fcc8fd8514df5432497f3cb91560"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testHome: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/HomeUITests.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8361008cd1423d3fcccf37343c428e679c3237105fbaa63a7d405be4baef5e40"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testHomeTopTabsButtonOpensArticleTabs: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/HomeUITests.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dafb11cf5f58d5d191a85a4528e19eb5b2b5ce4921ff8d7bc6c8f3edcc09412"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testHomeTopProfileButtonOpensProfile: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/HomeUITests.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"437e2672ec9c19676f5c752febdf17b58fc06c09aae0a08c6ddd69203396060b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testHomeBottomTabsCanBeTapped: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/HomeUITests.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea56526bcd519a3684a021c905d71c47e1bcc22e9762ade28a39d681aacf24e6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testHomeBottomTabsExposeAccessibilityIdentifiers: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/HomeUITests.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae781570f781af9466873fedc1cfd4331cab0c8e561ca90d8d9b1ffe516fdd7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testHomeSearchShowsResult: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/HomeUITests.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a350dc4ac819f50449928e4fc7872439e513f264423b9dce52dcb52a076e23d2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testHomeSearchResultStaysVisibleAfterRotation: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/HomeUITests.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f47f9a8af313f63633cecf8d6eff6b38a18274fb2a784279cb0fd6c31186c04"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testHomeSearchResultOpensArticle: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/HomeUITests.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17f205b44ce80cff265629315e38b88d8dfaba28ee669222a38a123ecd740b8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testHomeRecentSearchesCanBeCleared: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/HomeUITests.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2b6a82cac4e3a20b378d714d50fd11c2b2697d977a99efa36d1fa96f487f35"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testOnboardingInterestsShowsHeaderAndArticleGrid: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/InterestsUITests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c75a5c997518cf600586bae3e3794566ea45827420578bcee63db7938fb45e1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testOnboardingInterestsTappingACardSelectsIt: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/InterestsUITests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"55191d02a73893f3c7a121c92f487318583aab0fdc2aa77cce8336810c15bdd5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testOnboardingInterestsTappingASelectedCardDeselectsIt: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/InterestsUITests.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9e61faabe3d6cd5e25add0906486d30e1ad672ca7f7c2dfbe8a9aae863e401"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testOnboardingInterestsSelectionCountTracksEveryCard: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/InterestsUITests.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"79017ad2e1dcf02c00dbdce6b5305a873a205b7f87aaed399a8d3b1b3c03907b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testOnboardingInterestsDeselectAllClearsSelections: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/InterestsUITests.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2511653335ef3f77059e3b88ae77b87c17729ae0da837a2afd61d2216a8aa886"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testOnboardingInterestsSearchAddsSelectedArticleAtTop: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/InterestsUITests.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bfd8607cd294f9fde6e942f9525105c64dd1678fcaa842b9bc2b56e9606b62"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSettingsOpensInterestsScreen: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/InterestsUITests.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c821586c2a8430f38e0760629a64ae606f44669ce83bb4e876c2fdfd8028ad3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSettingsInterestsSelectionIsKeptWhenReopened: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/InterestsUITests.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"85033914f4486d2c3809897d485c56eb7a12b1835d475ab83a7c8b1b14df1a65"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSettingsInterestsDeselectAllClearsSelections: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/InterestsUITests.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0d97a1d904b91053623f6e19b88dd4acfdcbbcf3fa6742705bc35730026770"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testPermanentUsernameCookieWithoutCredentialsShowsLoggedOutProfile: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ProfileTemporaryAccountUITests.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7cab39d717049550f2e60fdde3c0cea169c1c81e2bb9c39a6e1febe234bc96"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testTemporaryAccountCookieShowsTemporaryAccountProfile: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/ProfileTemporaryAccountUITests.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6e32837e1354cc45feb91da942270b9868dec7289104116a27166a5ed36933"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesShowsSeededArticles: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1bf6c2f891a057e19a73fc9d5611c62405dfa58adf847a64d0dc0f5be09ad4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesShowsEmptyStateWhenNothingIsSaved: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"acde52b89408e1952fad45b635228d6ad55015f3e921e8382c3fdd65591d9458"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesSearchFiltersRows: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ef0006632a0f20443862ae0517c7b06bf1d6b3dc0105f084d9499296f5120d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesSortsByRecentlyAdded: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"367f64e6b56367ac21d73837def0bf053fdb74f5f9d711a53b4892989e39a3e3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesSortsByLocalizedTitle: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54fbd7967e1e5cfee88a73555864bcfd820b6c1aea6ef0448a2bb8955a1894c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesSortSurvivesRelaunch: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f441ded3af485bbb2429c1d3a4b3fc6c2b7b107e4b1eb0c8a11fe7ad59fc216c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesEditModeUnsavesArticleNotInAnyList: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7628a987285df15664a668c9b8fc9bf9e544bc2bd1ba489262849b0386243158"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesEditModeAsksBeforeUnsavingArticleInLists: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6ec198c74b5f310b62f47dec49d0bb8d632dfe331a5cff9bef93b25a569b00"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesEditModeCancelKeepsArticles: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba3861467a90fb6c6506d3d3ab69891ae62cbbff72aa90af9a1b4304e5a81ab"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesEditModeAddsArticleToList: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"045221efc7d1bad8855ca28a500bb634716dd13a81f69b5ff4cb20ff7fb4cbcd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesSwipeUnsavesArticle: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"30aea288a1b82c200eaac5970a5545c8bcf109b0125e23ef5974f38650d2be33"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesRowOpensArticle: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"033abe8f551bfbcfe9c1926c0fdc5aafb389c8fb77f5aa6e59e814ed70aebeff"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesReadingListTagOpensList: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"974f11ab386e86648be0973886203d09b05e70640ff0f0f74d9fc6976bfbcc39"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedAllArticlesLongPressShowsContextMenu: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8a84cc0f00fcb05832d5cc308aa2e7c8f56332bb3624c2ee150d17c3b093a4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedProfileButtonOpensProfile: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63b250a93ca444ed047a849c47f7d40eb0424f558c45c7acd10e300b28ebf86"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedTabsButtonOpensArticleTabs: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad2e5b1905c8d66c285a3752740be6a9cbf4956c608038b1f810e10058cee21"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testDiscoverAnnouncementShowsOnBothSegments: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4535c01f84a4fdc420199cad5e0a5fb7a773710f498eeddef52c7572252cd5c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testDiscoverAnnouncementShowsAboveTheEmptyStates: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5de6ea760a8f7cd692c4ab6fb1ebd238034d32e9ff6a45ff1afa3d39ec7ba1b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testDiscoverAnnouncementNoThanksHidesItOnBothSegmentsAndAfterRelaunch: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"387fb3bfc648994a3895a4094839376f75e60904d64f0c824529f33eb4e80fd3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testDiscoverAnnouncementGetStartedOpensSetupAndKeepsTheCard: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef7c0f4e1905b8324eaf8c1f518f97f2c731eb5837fdcc75a619c63b27d85bf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testDiscoverAnnouncementStaysHiddenWithoutTheFeature: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae751f54241ffb671027f9ee6f1f9b35d6c0df8275ec1dd7da6ac18a9217ec2c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedReadingListsShowsSeededLists: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16c367c0a87e67b5abbebd0f01f814d353b10778344903e85a8e197f083c41c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedReadingListsEmptyStateCreatesList: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a52e52219710ba8abf27734f19ca9c56107231f976d99bfc25383d65d667ba"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedReadingListsSearchFiltersLists: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"097adcbf619287f6b6cb489689e3dbc09edd1fd508f511d3b5be331117279ff4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedReadingListsSortsByRecentlyAdded: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d229da4ee3674aeea62ed32c81b926dca9900c6b102500f6b0502504b94345e9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedReadingListsSortsByLocalizedTitle: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc41f339c28cd0a9f4edc3f8dfd0ffc37b66f3ce99cfa601b4bd4e8f5cb7d9f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedReadingListsSortSurvivesRelaunch: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa847cf324d8e6aacf501a4a2d8f80c637e1dfa9fffacb3eac7bbff43e131bc8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedReadingListsCellOpensDetail: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"096683a9177a9ee19959daeda41bdebf2aa499c5d66627e32e5ee309f1b89cf2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedReadingListsSwipeDeletesListAfterConfirmation: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c7e8fa445a587de0c5305375c0b70632ffaff2c546e0d00cbe93c245797e0c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedReadingListsEditModeDeletesEmptyListWithoutConfirmation: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ac24ffc54e272f2bcc0dfb5dd579a47a868b39c019e7200b5ca74f656f5b7a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSavedReadingListsEditModeAsksBeforeDeletingListWithArticles: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99b6a88f36347c20c22cbdcb269d9ee472691246412c326fa727abac9d76bcb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testReadingListDetailRenamesList: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"98480ae063b97e89a7a1ce627a1330a978626c00f20ce074ae9fe85e29565c58"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testReadingListDetailSearchFiltersArticles: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52343d5cc4b8bdb41480898b03aa43693724a2e610a6b0db9220a0363aeac8a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testReadingListDetailSortsByRecentlyAdded: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ae06c9a2cea73d18511873e975e086a6ddf2810d2e2f4dbdf7bfa13cbcded6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testReadingListDetailSortsByLocalizedTitle: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"70215ed99d4efe68404ba72ca350ab6628fe89f81edbca233eaf1e49c8de514c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testReadingListDetailEditModeRemovesArticle: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf42aefe67f5e51565a9eaf39ca6e4dd5d433cb932c545ede13bac3ce85d295c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testReadingListDetailEditModeMovesArticleToAnotherList: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1a09a79947d181e2142c1fadae71f5b8341ef84d550dee1f586d7155f6d837"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testReadingListDetailEditModeAddsArticleToAnotherList: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"515657b4f7dbad6f7f75ac1f33e68aa67d32bf217694cb3041a242aaf99b1037"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testReadingListDetailCreateNewListFromAddSheetAddsArticle: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafecfefb7e65f9168d5283ad69a18dfc801428329c3360b2fd47950f186f81a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testReadingListDetailArticleCellOpensArticle: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff77fc16ae1ad4e95eed6c74a8a05e17739ab680921b3fa3df987fa9a9f0f46"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testReadingListDetailShowsEmptyStateForEmptyList: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ebd5f26d46ec2dd36cfff372922f283a79aa9c8ec995ec0b0536509631c209"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testCreateReadingListButtonIsDisabledUntilNameIsTyped: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5e02879428a983e29c124d6afadf62824d3aa20344fdfe4c7d774acd07ecf2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testCreateReadingListRejectsDuplicateName: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa75d89af3b6486c311674425b057e63d92cffaa1c5bff1e11ddabc4ff1ae3d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testCreateReadingListButtonStaysDisabledForWhitespaceName: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"134fa5700c17966da7ca906bfbbdb6be729edb69e0ce8a7c2e91ac2e9d89d7df"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testCreateReadingListCloseDoesNotCreateList: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b135b7ebffd4f747ba916ff34fb37680ccdfefdb952ef8a531b197034d779d0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testCreateReadingListShowsDescriptionInDetail: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e82dd4c87aca13914ced0b76b3a04a946b6bbc2002453aec568a78191a1056b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testCreateReadingListFromAllArticlesEditModeAddsArticle: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"85299a58d3d35e55ce0979d1cabddbee7e21fd48367aeac6081e1d6315e6e50a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testCreateReadingListFromMoveSheetMovesArticle: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd8aa291f94c116c903926b630a54f0cb7bdae4b6f299f674e35c5dcabe5ed6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testCreateReadingListFromSharedLinkImportsArticles: No conventional assertion call was detected, and 97 of 98 tests in \u0060WikipediaUITests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUITests/SavedUITests.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4f65424777e4f098771be886e7b4e0f3f352f81a9f9935d2eb9d3fc2c3ea6a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUndoOnSettingsMakesTheListWhenItIsOutOfDate: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUnitTests/Code/DiscoverSettingsCoordinatorTests.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"723492306f93bfe20bf01e69abdc92c35fd340c2cd9ef022ee01e95c2d76b540"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBackFromTheDiscoverSettingsMakesTheList: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUnitTests/Code/DiscoverSettingsCoordinatorTests.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c04d4ed4731df0f344059c4b9e9d4473e6aba871aa1287b15c2315b3f045c7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDismissalWithAPushedScreenOnTopCallsDidDismissOnce: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUnitTests/Code/WMFComponentNavigationControllerTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd6694a5b3f37a631a378ee644c2e0453593afb9a05b0e5d1a29f9f349ad918"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDiscoverSettingsViewModelIsReleased: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Tests/WMFComponentsTests/WMFSettingsViewModelsReleaseTests.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"267299ec2d0f7473e40603f3d392a4a998feb5cc3379d35757f169e4f45fc524"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: successDoesNotCallHTTPErrorLogger: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Tests/WMFDataTests/WMFBasicServiceHTTPErrorLoggerTests.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ee65453f4a26bc7be0e6c67f530f3df9cf5fce506b0951776784c2e8c0b7cf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: donateSubmitPayment: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Tests/WMFDataTests/WMFDonateDataControllerTests.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b1cb2653184b7b2f856f4ab293c28942c225e00988f6c7988c75cc63b2863f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchFeedSucceeds: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Tests/WMFDataTests/WMFFeedDataControllerTests.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9afa6f805e458ae63a79431478b28a4d14a4887378dc6bbc8b04f50d612360"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchCommunitySucceeds: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Tests/WMFDataTests/WMFHomeDataControllerTests.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"4058f13db848e6f58b83ba826f37c9ceba0847f0bcc85d0dc898837524929b4d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fetchImageInfoReturnsUnexpectedResponseWhenNoPages: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Tests/WMFDataTests/WMFImageDataControllerTests.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a25b2564b464307fe08b5c99c14140d1c6916d8205ca59ce1813c24f4a975d1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fetchImageInfoFailsWhenMediaWikiServiceUnavailable: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Tests/WMFDataTests/WMFImageDataControllerTests.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fced804040b3bce14c6c4fff884a5e65df57fcdb3b6784a74e5be5f810f479"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fetchThrowsUnexpectedResponseWhenDataIsNil: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Tests/WMFDataTests/WMFUserImpactDataControllerTests.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f8915d03319d0d5bd7efa72670864368a5a2dee863864c359d57fe757bd412"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fetchWrapsServiceFailureAsServiceError: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Tests/WMFDataTests/WMFUserImpactDataControllerTests.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"857ef1b44bcc705e9cd2f015c53d235e202015f31320a82745c79391af8caba1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: postWatchArticleExpiryNever: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Tests/WMFDataTests/WMFWatchlistDataControllerTests.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef9df0569de299efd54c6a78c4470c4445637f9c20c6a25c3a1c0f1c23d087a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: postWatchArticleExpiryDate: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Tests/WMFDataTests/WMFWatchlistDataControllerTests.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a203b7c18e26a994aa7f8f98249bc7392061e237e71f47b7ddce1b5e98f0a6e3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: postUnwatchArticle: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Tests/WMFDataTests/WMFWatchlistDataControllerTests.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"16105c6b0a53e3016fb6ba2347a38ebf7813d8595b9b2b2682f681da69ea51ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift: WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift changed 59 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in WMFYearInReviewDataController.fullSlideCount at line 243. 7 of those changes were fix/bug commits, and the other 52 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:36:49 -06:00\u0027 --until=\u00272026-11-13 10:36:49 -06:00\u0027 --full-history --no-merges -- WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d002f40c33428ecaf204999c534c228c5d9542ae0d4b3f92c18ebc48cc83b1cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Wikipedia/Code/WMFAppViewController.swift: Wikipedia/Code/WMFAppViewController.swift changed 62 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in WMFAppViewController.processUserActivity at line 1335. 9 of those changes were fix/bug commits, and the other 53 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:36:49 -06:00\u0027 --until=\u00272026-11-13 10:36:49 -06:00\u0027 --full-history --no-merges -- Wikipedia/Code/WMFAppViewController.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":"Wikipedia/Code/WMFAppViewController.swift"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd15bb8996c6e4b5b96464fd32e30b26a336deac23fcb05e80df28e55c10f74"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Wikipedia/Code/DonateCoordinator.swift: Wikipedia/Code/DonateCoordinator.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in DonateCoordinator.presentActionSheet at line 219. 1 of those changes was a fix/bug commit, and the other 15 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:36:49 -06:00\u0027 --until=\u00272026-11-13 10:36:49 -06:00\u0027 --full-history --no-merges -- Wikipedia/Code/DonateCoordinator.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":"Wikipedia/Code/DonateCoordinator.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"491996ec39db1c93de58ee94511cdff93c242d8bdfede2e1c9e31c6ec8992698"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Wikipedia/Code/HomeCoordinator.swift: Wikipedia/Code/HomeCoordinator.swift changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in HomeCoordinator.makeHomeViewController at line 53. 3 of those changes were fix/bug commits, and the other 16 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:36:49 -06:00\u0027 --until=\u00272026-11-13 10:36:49 -06:00\u0027 --full-history --no-merges -- Wikipedia/Code/HomeCoordinator.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":"Wikipedia/Code/HomeCoordinator.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c83abbd2e01697cfcce8406f95cb1535056dbea130f48a3a5fc115a21b915c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Wikipedia/Code/AppOnboardingCoordinator.swift: Wikipedia/Code/AppOnboardingCoordinator.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in AppOnboardingCoordinator.start at line 33. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:36:49 -06:00\u0027 --until=\u00272026-11-13 10:36:49 -06:00\u0027 --full-history --no-merges -- Wikipedia/Code/AppOnboardingCoordinator.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":"Wikipedia/Code/AppOnboardingCoordinator.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35a879f2b966481f54cf12a122bc45e2e07b005607c772cf4b3def2940dd342"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: WMFData/Sources/WMFData/Data Controllers/Experiments/WMFExperimentsDataController.swift: WMFData/Sources/WMFData/Data Controllers/Experiments/WMFExperimentsDataController.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in WMFExperimentsDataController.determineBucketForExperiment at line 126. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:36:49 -06:00\u0027 --until=\u00272026-11-13 10:36:49 -06:00\u0027 --full-history --no-merges -- WMFData/Sources/WMFData/Data Controllers/Experiments/WMFExperimentsDataController.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":"WMFData/Sources/WMFData/Data Controllers/Experiments/WMFExperimentsDataController.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0146feaafca2e4795f7513786f664e4e316e1844ec2a1bdb5d95c7d0ab89707"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift: WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in WMFActivityTabView.loggedInList at line 80. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:36:49 -06:00\u0027 --until=\u00272026-11-13 10:36:49 -06:00\u0027 --full-history --no-merges -- WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.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":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d7c01da393e7cb1c748a25e71418db985c9938ef46d8173e93bcc4a87773e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Wikipedia/Code/WMFAuthenticationManager.swift: Wikipedia/Code/WMFAuthenticationManager.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in WMFAuthenticationManager.loginWithSavedCredentials at line 370. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:36:49 -06:00\u0027 --until=\u00272026-11-13 10:36:49 -06:00\u0027 --full-history --no-merges -- Wikipedia/Code/WMFAuthenticationManager.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":"Wikipedia/Code/WMFAuthenticationManager.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebf547d0ab5279a268999d52eb2b6823da68cd2892c92437efa5ab3669a38b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: WMFComponents/Sources/WMFComponents/Extensions/Navigation Bar/WMFNavigationBarConfiguring.swift: WMFComponents/Sources/WMFComponents/Extensions/Navigation Bar/WMFNavigationBarConfiguring.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in WMFNavigationBarConfiguring.configureNavigationBar at line 122. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:36:49 -06:00\u0027 --until=\u00272026-11-13 10:36:49 -06:00\u0027 --full-history --no-merges -- WMFComponents/Sources/WMFComponents/Extensions/Navigation Bar/WMFNavigationBarConfiguring.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":"WMFComponents/Sources/WMFComponents/Extensions/Navigation Bar/WMFNavigationBarConfiguring.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5803aad9d6106b11e464370aaf12bac938cb561fa2a061e36189929cd937d46d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: WMF Framework/Widget/WidgetController.swift: WMF Framework/Widget/WidgetController.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in WidgetController.fetchTopReadContent at line 370. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:36:49 -06:00\u0027 --until=\u00272026-11-13 10:36:49 -06:00\u0027 --full-history --no-merges -- WMF Framework/Widget/WidgetController.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":"WMF Framework/Widget/WidgetController.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b74cce0b2866a155464706c563a51e45a5bfe5b98949dfc7eac201519a3def4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Wikipedia/Code/SavedArticlesFetcher.swift: Wikipedia/Code/SavedArticlesFetcher.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in SavedArticlesFetcher._update at line 221. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:36:49 -06:00\u0027 --until=\u00272026-11-13 10:36:49 -06:00\u0027 --full-history --no-merges -- Wikipedia/Code/SavedArticlesFetcher.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":"Wikipedia/Code/SavedArticlesFetcher.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc088430911c40dff57e761ab5e94a23f72e903a918467c399adc74c0406390b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 89 significant file(s) lose their only recent owner: Wikipedia/Code/YearInReviewSlideViewModelFactory.swift, Wikipedia/Code/WhichCameFirstCoordinator.swift, WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewView.swift, WMF Framework/ExploreCardCollectionViewCell.swift, Widgets/Widgets/OnThisDayView.swift, WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewViewModel.swift, Wikipedia/Code/EvergreenAccountCreationCoordinator.swift, WMFComponents/Sources/WMFComponents/Components/Shared/Rive/WMFRiveAnimationViewModel.swift (\u002B81 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"740d4e1d1ef5a4a6da83d149c4de4ecefc2e84ccdc22e061e0adcdbc33aca468"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 27 significant file(s) lose their only recent owner: WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFDonationReminderDataController.swift, Wikipedia/Code/TableOfContentsAnimator.swift, WMFComponents/Sources/WMFComponents/Components/Search/Results/WMFSearchResultsViewModel.swift, WMFComponents/Sources/WMFComponents/Components/Search/Semantic Search Results/Card/WMFSemanticSearchResultViewModel.swift, WMFComponents/Sources/WMFComponents/Components/Donation Reminder/WMFDonationReminderSetupView.swift, Wikipedia/Code/NotificationsCenterCommonViewModel\u002BLinkExtensions.swift, WMFComponents/Sources/WMFComponents/Components/Search/Results/WMFSearchResultRow.swift, WMFData/Sources/WMFData/Data Controllers/Semantic Search/WMFSemanticSearchDataController\u002BResults.swift (\u002B19 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c5e15e410764a4c6a5975f5cbe687c3cfda53ea5c83193dfb280e3a7b3fa9b2c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 25 significant file(s) lose their only recent owner: WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift, Wikipedia/Code/FindAndReplaceKeyboardBar.swift, Wikipedia/Code/InsertMediaViewController.swift, WMF Framework/LocationManager.swift, WMFData/Sources/WMFData/Data Controllers/Local Notifications/WMFLocalNotificationDataController.swift, Wikipedia/Code/UIViewController\u002BFeatureComponentFactory.swift, Wikipedia/Code/EditLinkViewController.swift, Wikipedia/Code/DetailTransition.swift (\u002B17 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"20cc4de6a1d796a15d6279553a73ec2067569e6ee2203404ead1591037f10863"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 4 significant file(s) lose their only recent owner: Wikipedia/Code/PageContentService\u002BUITestAccessibilityScript.swift, Wikipedia/Code/TestNetworkFixtures/TestNetworkFixtureStore.swift, Wikipedia/Code/TestNetworkFixtures/TestNetworkFixtureHTTPClient.swift, Wikipedia/Code/TestNetworkFixtures/TestNetworkFixtureURLProtocol.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"842ad7c0d40f78f2276c0389b55a9d1f752f1b7e1936ad280e2168707933ffce"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (147 single-owned of 772 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 772 of the 1323 production source files in this repository met that bar). They are anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: scripts/update-qqq.php, Wikipedia/Code/WikipediaLookup.swift."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The 2026 instrumentation plan does not name the edit slides yet, so they log their raw \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WikipediaUnitTests/Code/YearInReviewSlideViewModelFactoryTests.swift"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eef932af37886ff59430106ee24c49eb7167c707518d8e5a9867eefe1ecc338"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Will probably need some special logging here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ActivityTabViewController.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c108b9bc9c83aca0b30b2f57d095daebb973516f0f9b6427ebbf8daff6f13383"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor background task refresh and notification token registration logic out of WMFAppViewController. Then we can then move tab bar instantiation into SceneDelegate. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/AppDelegate.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33defbb2e28145ca32625ea338e9fe6763ff908bb1b8d1d7970ed17e6e8dc8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: fix logging source, custom tab config? .appendArticleAndAssignCurrentTabAndCleanoutFutureArticles \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"148022076f6e8d6f9995747b04b7ecb4d3cd73ec0882361eced0eb4be550cbef"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Sometimes the \u0060scroll_to_anchor\u0060 message is not triggered from the web view over the JS bridge, even after prepareForScrollToAnchor successfully goes through. This means the completion block above is queued to scrollToAnchorCompletions but never run. We are trying to scroll again here once more after a slight delay in hopes of triggering \u0060scroll_to_anchor\u0060 again. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleViewController.swift"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"194898c0163f1eb295706839ccd13a856e41a833f1ceeaac98cf801614513a53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: we may want to switch to get article source if we want to be more specific: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2ef6b24885815f19f9736020d5a60a10f09bb1403ef11131cf4dc90f24fc87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: we may want to switch to get article source if we want to be more specific: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e66d9d3302c327e62bbfc59c6ae202699891776e59f1570e32177c9766e8ccd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: confirm with analytics \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"603c298d03e64f18f1b5b0a3f5d60359fcecd682260a7f9e7dc21e59d4f3ce5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Confirm the logging ID for Home with data before release. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/HomeViewController.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ab62ff2da0cf6a74e759ec971254aa684346b1180858f961b3e0dd8f5f03f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: localize if this prototype becomes a real experiment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/LocalNotificationCoordinator.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ad68f17af88ad3fb34e206310b6ee577df17b7d764e44917a485985d01190f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make sure all icons have the same sizes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/PageHistoryCollectionViewCell.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c6791f110fef65f857c62e31c0a8080fbbec2d61b4239632a344cfc80146a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make non-optional? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/PlaceSearchService.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaf0544e5e63fd6ce300d7f9b444c242a4b103534f2a3ebdfdaf0c723adf84f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remember last setting? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/PlacesViewController.swift"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3e51374859e55e4bbd8a73ab3267d4cd965f7501533100bc6fb28555cc1f03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: share localizations \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ProfileCoordinator.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0069af4154fba2912995c65aa7cd64208bf0828f76056f0441c6c569af4ed627"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Clean up these DB inconsistencies in the DatabaseHousekeeper \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/SavedArticlesFetcher.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b534652c139f02eb7f85d942f68c5c80db3d53e4a902ea4ca06132874e2381f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Allow if NOT temp accounts pilot wiki \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TalkPageReplyComposeController.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"10793da57ae5de87fe849e991dd127296d029f80109cfa550c79db0667aea67a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Allow if NOT temp accounts pilot wiki \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TalkPageTopicComposeViewController.swift"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dda1d07e230423d0488f6dfe50a3b26b5c15a54efb94c0b95829b468744323"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFContentGroup\u002BDetailViewControllers.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64a435d2c55562a8929801b7859228b36288d7d2a3ceb7fc387ca893778aef0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFContentGroup\u002BDetailViewControllers.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c46cfe353c523e2c13548a7b1fad8d35ddde55748f206221aab81b98cd5fa3d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: pass in article source Explore \u003E Nearby List \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFContentGroup\u002BDetailViewControllers.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef06ba2ea3384170113e34da0feaa6ad0bba089eb54b5f5d1bf169768d047e1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: add when data ticket is available \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/YearInReviewCoordinator.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"077651da6cc5f5520d6fe58213bc4e37d6e951680e16e5507d27e175bb4952cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: The plan has no page names for the edit slides yet, so \u0060edits\u0060, \u0060editsEmpty\u0060, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/YearInReviewSlideViewModelFactory.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbeef3e6470dab293ec603f07b4d4d9a7a7e4d665909562e343e8873486a465"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Apply shadow just to final content \u2013 not children views as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Widgets/Widgets/TopReadWidget.swift"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"f448d30fe4b429f35b18c5d86d6a908e4b140142c5327204e280b698c925f274"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Delete this when we remove web editor code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFLocalizations/Sources/WMFNativeLocalizations/CommonStrings.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"23746b1638fe763f93b20c5626862a64cc8e201a3054fe1e00f72c853b19710e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Delete this when we remove web editor code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFLocalizations/Sources/WMFNativeLocalizations/CommonStrings.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2e954b388144ba1297bc52b01c044cbe0c939ee7b5be2c73d4628bd1e7e82b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Once the Wikipedia app target has been migrated to Swift 6 and its launch-time \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Environment/WMFDataEnvironment.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b007769b84e925ac709b56516860bff7e1bfdec328dee37d2067f18671f00d19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 2026 \u2014 if there is a 2026 app icon, this needs its own key alongside \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f3699b5503e22db84e6f829f6fc01e45555e493cb9bc07410819237d864a6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: each append loads and rewrites the whole log file. This is fine for prototype testing, but if this becomes a real experiment, remove the log or move it to Core Data. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Local Notifications/WMFLocalNotificationDataController.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97de4d65f4595881f61a1dd17a654f06feb321b5350f8383eb6a805e260d483"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider smarter prefix amounts, depending on screen size. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Extensions/Navigation Bar/WMFNavigationBarConfiguring.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"827a2f97641161b6732df748fc407967380012c06d695c0d50884f0c26d25c8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Error state \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsViewModel.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cf4ee6447a3abe406de30c3b69aca5edd174c88e70cca8a517606887c0fd95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Error state \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsViewModel.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bc482142b4516e847b6f3ea583341878d261041d3101a7e41b61a0492f5e2f"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Forces liquid glass bar button items to re-render with correct appearance. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Base/Component Base Classes/WMFComponentNavigationController.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"999ded23d8cc60cfa40235bdd324dca3bfec0785304584fda9f5653812c4d70e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Settings hook, logout don\u0027t sync hook, etc. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/CacheController.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b21d55d9494766cef4f4ee700003970c46d2841f25f560237aa7574e0f92d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: less of a sledgehammer here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/CacheTaskTracking.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4abc2681487f7242896d4cc0f44a61261f3155c5898bfd8ed92f2fe3b27580"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Standardize on returning CancellationKey or URLSessionTask \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Fetcher.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9cee0ed4b4fbbbbf7c967f894ad76338caa08c3e3ee7e35a5eb47a1591783f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Centralize cancellation and remove other cancellation implementations (ReadingListsAPI) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Fetcher.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cdf59f16b277ae4a4b26cfc25a482ad2949ff65b328dd79795534c2d807c42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Think about utilizing a request buildler instead of so many separate functions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Fetcher.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67dc453c7a8326047dfaaaef485ffe5bc85c489d1c108c92c3149f09543a74f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Utilize Result type where possible (Swift only) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Fetcher.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67a997b9af62aee4ea38f18325e1c4ccaf47f94dc7e041e94a38cd0a7f62aea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: could use DRY gatekeeper logic with superclass. this will likely get refactored out so holding off. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ImageCacheController.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc570c0e9c0b403c5dccf1c3d6ec8583525ae4e3d00b15fba745fe5e1ac39a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove these helpers after \u0060WMFNearbyContentSource\u0060 is refactored to Swift and \u0060LocationManager\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/LocationManagerProtocol.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"412e268074c8fe77287ba5633e3cb036bd69e83b98aba6fe37ab43a4d85dd372"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix to work across languages, not just EN. Fetch special page aliases per site and add to a set of local json files. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Router.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dadea174d25d499ed887a466074d67970606f47a451ad72cdcebfdb8a764ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: push history \u0027slice\u0027 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Router.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebfe7564cf51a51db3de639657c2a2c42ec104af1e4c6e9a3e2f840748a29a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This would be better as a generated mapping file from translatewiki\u0027s project translations (for example: https://translatewiki.net/wiki/Special:ExportTranslations?group=ext-wikimediaprojectnames\u0026language=he\u0026format=export-to-file)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Remote Notifications/Model/WikimediaProject\u002BRemoteNotifications.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6432b4c76122c9571d0bd0d365e5c3fefa5c175f6e322c77351318600c19f058"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is a temporary workaround to remove duplicated languages, but eventually a proper data migration for the user might need to occur to switch from the old language code to the new. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtilityAPI.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fc1a7bb3c386d82de4cbc42dc87093b377ed8600a96b415201de29688ca438"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060Wikipedia.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf1e422db07ce589302168cc6e1d3b3368cc2c8530b9f3adc5c5aa0c2887a3b"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060httpUrlResponse\u0060 spells \u0060Url\u0060 where 551 names in the project spell it \u0060URL\u0060: 551 of 557 names in project repository spell the token \u0060URL\u0060 (551 of 557; unit: names in project repository containing \u0060URL\u0060). Peers: WikipediaLanguageCommandLineUtility.getOutputFileURL (Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtility.swift:38); WMFTodayContinueReadingWidgetViewController.articleURL (ContinueReadingWidget/WMFTodayContinueReadingWidgetViewController.swift:23); CacheDBWritingSyncSuccessResult.addURLRequests (WMF Framework/ArticleCacheDBWriter\u002BSyncResources.swift:13); ArticleCacheResourceDBWriting.cacheURLs(mustHaveURLRequests) (WMF Framework/ArticleCacheResourceDBWriting.swift:81); ArticleCacheResourceDBWriting.cacheURLs(niceToHaveURLRequests) (WMF Framework/ArticleCacheResourceDBWriting.swift:81). Rename to \u0060httpURLResponse\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/CacheFetching.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebe269bc5854745b2aae53a674cb0d3049d4acdc37a4e8ddb736c5fba744004"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060httpUrlResponse\u0060 spells \u0060Url\u0060 where 551 names in the project spell it \u0060URL\u0060: 551 of 557 names in project repository spell the token \u0060URL\u0060 (551 of 557; unit: names in project repository containing \u0060URL\u0060). Peers: WikipediaLanguageCommandLineUtility.getOutputFileURL (Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtility.swift:38); WMFTodayContinueReadingWidgetViewController.articleURL (ContinueReadingWidget/WMFTodayContinueReadingWidgetViewController.swift:23); CacheDBWritingSyncSuccessResult.addURLRequests (WMF Framework/ArticleCacheDBWriter\u002BSyncResources.swift:13); ArticleCacheResourceDBWriting.cacheURLs(mustHaveURLRequests) (WMF Framework/ArticleCacheResourceDBWriting.swift:81); ArticleCacheResourceDBWriting.cacheURLs(niceToHaveURLRequests) (WMF Framework/ArticleCacheResourceDBWriting.swift:81). Rename to \u0060httpURLResponse\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/CacheFileWriterHelper.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5572cf9f641dc7e585e314b5a27b7188ea5ca71eeceebeb3ebe2ad6d97caf6de"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060httpUrlResponse\u0060 spells \u0060Url\u0060 where 551 names in the project spell it \u0060URL\u0060: 551 of 557 names in project repository spell the token \u0060URL\u0060 (551 of 557; unit: names in project repository containing \u0060URL\u0060). Peers: WikipediaLanguageCommandLineUtility.getOutputFileURL (Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtility.swift:38); WMFTodayContinueReadingWidgetViewController.articleURL (ContinueReadingWidget/WMFTodayContinueReadingWidgetViewController.swift:23); CacheDBWritingSyncSuccessResult.addURLRequests (WMF Framework/ArticleCacheDBWriter\u002BSyncResources.swift:13); ArticleCacheResourceDBWriting.cacheURLs(mustHaveURLRequests) (WMF Framework/ArticleCacheResourceDBWriting.swift:81); ArticleCacheResourceDBWriting.cacheURLs(niceToHaveURLRequests) (WMF Framework/ArticleCacheResourceDBWriting.swift:81). Rename to \u0060httpURLResponse\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/PermanentlyPersistableURLCache.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d61841c8e0fe97c1cae0463c0aef7b015d3f216158956b0a6e82b3e86c7dc4"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060learnMoreUrl\u0060 spells \u0060Url\u0060 where 551 names in the project spell it \u0060URL\u0060: 551 of 557 names in project repository spell the token \u0060URL\u0060 (551 of 557; unit: names in project repository containing \u0060URL\u0060). Peers: WikipediaLanguageCommandLineUtility.getOutputFileURL (Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtility.swift:38); WMFTodayContinueReadingWidgetViewController.articleURL (ContinueReadingWidget/WMFTodayContinueReadingWidgetViewController.swift:23); CacheDBWritingSyncSuccessResult.addURLRequests (WMF Framework/ArticleCacheDBWriter\u002BSyncResources.swift:13); ArticleCacheResourceDBWriting.cacheURLs(mustHaveURLRequests) (WMF Framework/ArticleCacheResourceDBWriting.swift:81); ArticleCacheResourceDBWriting.cacheURLs(niceToHaveURLRequests) (WMF Framework/ArticleCacheResourceDBWriting.swift:81). Rename to \u0060learnMoreURL\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/InsertMediaSettingsViewController.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd2ab46ae1c0347af09e5a7e5ccae2634b33f04309ae163b7a7dfdf82f77ed3"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060pageLoadMeasurementUrlString\u0060 spells \u0060Url\u0060 where 551 names in the project spell it \u0060URL\u0060: 551 of 557 names in project repository spell the token \u0060URL\u0060 (551 of 557; unit: names in project repository containing \u0060URL\u0060). Peers: WikipediaLanguageCommandLineUtility.getOutputFileURL (Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtility.swift:38); WMFTodayContinueReadingWidgetViewController.articleURL (ContinueReadingWidget/WMFTodayContinueReadingWidgetViewController.swift:23); CacheDBWritingSyncSuccessResult.addURLRequests (WMF Framework/ArticleCacheDBWriter\u002BSyncResources.swift:13); ArticleCacheResourceDBWriting.cacheURLs(mustHaveURLRequests) (WMF Framework/ArticleCacheResourceDBWriting.swift:81); ArticleCacheResourceDBWriting.cacheURLs(niceToHaveURLRequests) (WMF Framework/ArticleCacheResourceDBWriting.swift:81). Rename to \u0060pageLoadMeasurementURLString\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/SchemeHandler/SchemeHandler.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6184dd77411124c1b9c2b7d6350eaafece56ed85c3bdb29bb632dd646af291f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060httpUrlResponse\u0060 spells \u0060Url\u0060 where 551 names in the project spell it \u0060URL\u0060: 551 of 557 names in project repository spell the token \u0060URL\u0060 (551 of 557; unit: names in project repository containing \u0060URL\u0060). Peers: WikipediaLanguageCommandLineUtility.getOutputFileURL (Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtility.swift:38); WMFTodayContinueReadingWidgetViewController.articleURL (ContinueReadingWidget/WMFTodayContinueReadingWidgetViewController.swift:23); CacheDBWritingSyncSuccessResult.addURLRequests (WMF Framework/ArticleCacheDBWriter\u002BSyncResources.swift:13); ArticleCacheResourceDBWriting.cacheURLs(mustHaveURLRequests) (WMF Framework/ArticleCacheResourceDBWriting.swift:81); ArticleCacheResourceDBWriting.cacheURLs(niceToHaveURLRequests) (WMF Framework/ArticleCacheResourceDBWriting.swift:81). Rename to \u0060httpURLResponse\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/Session.swift"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"548714c355ddf3b91d60bede96c5166d952a69ddf135e9232040edb6a20f6ecf"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 3 of 5 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (110502 LoC, 1468 module-visible types across 30 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","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":"3c39688b0337a50b137d8bfa37949a5a90934f26e1cc0abddf1a5d937bdbfcaf"},"properties":{"commitSha":"d5da47860f311783c8f2729b8975ca431f985c41"}},{"ruleId":"D28","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":"1c1506b017c746738e1704d0f4b4ca75e1910d80cf340da384bf18e8980d112e"},"properties":{"commitSha":"d5da47860f311783c8f2729b8975ca431f985c41"}},{"ruleId":"D28","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":"68693b39d6aaa32c1701f17ee9626ab84f78e88dee2918c11ec7140ff52fd1a6"},"properties":{"commitSha":"3ad4f437b565de69bdad09e624b17f4676dc52ba"}},{"ruleId":"D28","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":"54c985992e8e0333da99fd357b8f2f0dd63d1cf1247eb25ddde7e4ae825d7c7d"},"properties":{"commitSha":"65dcedf69c056cbdb25bc940eaad28d2c587aebc"}},{"ruleId":"D28","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":"3e69fbd5406e25261955eaeceb673e798b4faaf195d931b8135fc9662a636d01"},"properties":{"commitSha":"cefce71b95bd4341a4eeed04bd795a48b4e89645"}},{"ruleId":"D28","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":"409fdc98688b0c474bbac24440d3795a0388181a0555b43155005a907ef976a0"},"properties":{"commitSha":"17a24b92296a66ca0b0c32fbf14c43a17ae7e7a8"}},{"ruleId":"D28","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":"6559280bb02741fdc264c246b2e3bc2b96d34aeb38f8bfd0715337e2d0fc90d1"},"properties":{"commitSha":"17a24b92296a66ca0b0c32fbf14c43a17ae7e7a8"}},{"ruleId":"D28","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":"eaf408d38f6ce861f007c3ae51997103523bdf4dfb10b21aae56cbea7dd6054f"},"properties":{"commitSha":"346aae47b5628b98a59e9ba2b68722b51487d48f"}},{"ruleId":"D28","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":"1e86b84176165f304fdaaf2307998611ba0767abfe9cd0251d32dafe4b39c9d6"},"properties":{"commitSha":"c60e8e70a6cc8fa6faf591d542b6048104fd99d4"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"d8107303423ed5025f63e0fdc76cf8ea6c62473b99ea22611fc3c75615da7c09"},"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":"0c3ac9b5a8cd8a3c3623106171dbde010fd485ac5bd59b2fb67d8ed83cb02e07"},"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":"47fa07f4a3a97d22efc57d90fbadece4060b6aa2b6700e3d4f6d9d023caf7bbe"},"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":"a79870ad39ba65acdbb0592aadfbc9bd40c1b7214641d983d60115b03c617f15"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"e4e21d1baa42c3f9a7fb27a37e0bbaf66c25ff0d84e3712093ab97249e0e193c"},"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":"c164e34ca93624bcac9f61b678c27eb2300ec777dc2d5990e01bdfa6f0ec9efa"},"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":"6292b3751576fdeafc8264dcc609864effca5dcf3c9236bfc057cfaa6f862ba2"},"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":"b75f19f3c8e0645cf7ae56465d925a9cf4d8388c63f2ca4bbb752f44e7388a3d"},"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":"8de50c2f014865193cc95095e87d4793ce138dfc6989f19d811102d30d6d24b3"},"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":"c64c9fd4c5f9e933f5b700ddce10471567b6cd740443bea7d9d571d16cd656c6"},"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":"6b0a85ce85b3ed80e11df3cbd22d1f7709d8d9badfadf3decf91b3ee2a6f5ebf"},"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":"1f41b63c22d548edd59a81a400e25e7eceb10b8507fc982a87dd8f9c92996889"},"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":"eb696d9aa4c834556136575b8c83ba1f9393ac345dd352a19dd7c5940b71d05b"},"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":"dec0f0c2a06843a267f962620294346e84bc748832e257116f1f87a04ed9fb44"},"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":"66b9b6d45ef6013fa35341db19cc73e749edc62673a1a2034e0c47f8d3474cac"},"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":"d819ae265d1ef8fb8ab28465d8d7b992712e77363ebe811153e41182b95ce321"},"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":"7d1c2d2fc56a02c5f32805e910b2180c01ec7b6b44946a773b41ff67d971f027"},"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":"edf31ed49fc65c8e8b2aecac05cc1acbcf8507a082a6bee2407097fb172ca46e"},"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":"e07e6b9fd142cda2658a94dfb8f569dca30ffaa4f4f3771466e2a78962c7e68e"},"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":"d71525cece87feffc4dc187cbb2cd2a48fc3865731fe0538344e7f14a1ad4ea8"},"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":"29b230db1ccdfff9a0b36d4402fff8c85e614e800ab052c2adbb650290d462c3"},"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":"8b6a978e5d634bf3cdaa3acbc5d15c284080fb29890f2fd852535c2d096c7321"},"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":"5775f153f238fd2d06f0e28c968d1e5a1795f8710f1690e288893cf1a4937ce5"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"8568a898fc76f5c803ce0e8df3e82dd3a096fe4e7334fc9856af76c4fe795df6"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b3edc2a31b3dea413a39d1eeba3e132e8f8f68318cdd72b753bf61fcf476a60"},"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":"310d3f316df22f03c03b9a8284e5ac089111d9d41f620fcbfd510fdcd0f90583"},"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":"438c418736e4d095a81bec8f13a1a1ebee753937b7a7af12e723e7c232e92865"},"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":"83685d0d4296b0587a93f0430a88a06184dacd16ce2d0b884120d9edb61c5a5c"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"166d545b62d9a2dcabc45163cae0e73e30adbd25af822bbc38585a0ad9704f38"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae35fb4a108a684a06f3912360c3b5746d73eb1fb5b00dc4202d656f622cf828"},"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":"487d4f66bf65551043a2878e487419da49095a4cbd14e4a4c14074aea3df3d36"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"75ef88d025ed7f987277842a2dd8bdf6f7d904be34f29b88ba89109c792d11b4"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ed19bbfc95fef8caf704542dcf89b16558aa71b77efc8f7f9f58f0bc644c83b"},"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":"c1d2cacd1f691785136490fd7fd2e73768d2bde172e6e73747fc114aec13da7d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2cf104539d9362e2b9071e28e19ec7080956109d79ea04b64cc954597e33967"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"f2d604105981ee96ca9ad3f62583fa77ffcbcf3c681d1512e00965dfe2f6d4b3"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46cc2664bf13d0d1e9a33a1178e8b8879c5d274c366d0b41b037bb6a6af13d89"},"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":"610311a3982adc10da0dade19abc1fd36569d2a3ac3aae5db33635f5c6a2729d"},"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":"719d888274a226dbf457e71c272e9630fc4e504af01aced46545dadcb6969e7c"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"155e441a36d26630af33a98d7f686d53ef0262c0310168aa0466f0929dc6bdd8"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d1d43c1fec11e5e5ab9e22afda43635e767b74c8cac7adefae33ea918e98a56b"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-943","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5622e27ad4b6f3f4da8478ace765f3b79220f5be80b105cff390952ff2222343"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-943","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"7757d133c8b0db6be124e537d2daba18bcb485448f7a67306ce51cd9d440bf32"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b412932d375cf870297635325daa90b7f9b1be1604c5af380769fe75839a525"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7771ed10c2e41347fa4f91c6b849f9fcb22de34d9f63ae5b6f3f4c68106434ea"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2f0db9edb5c8c8f0bc5fc6be5adcbf8cacab33d884469e5767cc52ffd15619c"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98f90daeb3d2fa0314a7b1ef228b2495eca1e6b79ad5b1a3cbe03b1345e29de8"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NotificationsCenterCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5322255f98606035d3f06821a9527f0c7e98d2fd2a46a156437c1e069e94af"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 46 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: Widgets/Widgets/OnThisDayWidget.swift, Wikipedia/Code/PageHistoryCollectionViewCell.swift, WMF Framework/ColumnarCollectionViewLayout.swift, WMF Framework/ColumnarCollectionViewLayoutInfo.swift, WMF Framework/UIView\u002BSemanticContent.swift, Wikipedia/Code/ArticleTableOfContentsDisplayController.swift, WMF Framework/CollectionViewCellActionsView.swift, WMF Framework/Event Platform/StorageManager.swift (and 38 more) (47 orphaned of 775 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 775 of the 1323 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Widgets/Widgets/OnThisDayWidget.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea092a02886d7edbb5831faaa655f0e0415fa448abf580c3866cd171be4dfd0c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/PageHistoryCollectionViewCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a8e757268aaed05cd3c36c4fe31a0999306b4312206a1b5698591d0a65a7dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ColumnarCollectionViewLayout.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c8b9313afde74cb2dd6a529c025c43f9380faf43d5dabe011e82644c39d658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ColumnarCollectionViewLayoutInfo.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa1790b4b0947dd368874fe15c30f3d96022c6729150dd56f8c05a2c1b13ef0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/UIView\u002BSemanticContent.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75155ce04a0a5ff7ae56b059c56c264b32fcd1275bd092002c13ad5d29deead"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleTableOfContentsDisplayController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee88c5f4c92f2e0a70c012ad335392a99281042e2e6ee7e0f3ecd5eaefc38319"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/CollectionViewCellActionsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47eff46f3a4855576232c2a4a450d8446f8d3d842a0a4e5f8831fb2b4f5af52"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Event Platform/StorageManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"958e7fd82aafc8c1fe44982b4cba7d24fdd9a52ff74b12b2aea3845f3a441530"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/PlaceSearchService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5e943c9219d6c730bfb371386beb22689a8de8c5ac033e91bb2851f611341c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Widgets/Views/Sparkline.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a048e42be74f318062f7b457cf41ee425b77c48e642a1367a144b0ea0fac949"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ShareViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dd73f195bd46f0d8f848657c574b80c47abb1ea17c8476fd57a4c19950797e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/SaveButtonsController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ac7da51b6b1c5b5a989dcdd073f9f4e41bc2cd5a4bfd5b7bb9e4bf97aa49af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFKeychainCredentials.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b24fb9cc039483f2c81d8c58cd2dbefafa64f54d21619a56a00efbdf1ec5b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NotificationsCenterDetailHeaderCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"826ae1d2d1776eb9f33bb2f3f311a20ab8ce096d2a85aa4ad38d3b443021a90b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Event Platform/SamplingController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdbb97150e7e0d6b714242baf972bc19c613894b38c0abd009dcc865be4c9de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/PlaceSearch.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a626112818869123d72fb08301311db2894f28f26742567c883b14fd5aab2de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate_dice_roll_html.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1593614b3ba005d98cd9cf556a58756d7a33a6c1963c90eac4082d86a999b4f5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/MediaListGalleryViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c437d0e2e4dfe10095463499cfd49d408154e32983921b3897d78053fb8c9fd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ReferenceBackLinksViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83547e8877e38d323e67423ca30da34c4a9a95788caee6401a269817d7c2f0d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ActionHandlerScript.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48cbce4ee71ffb4aad3942d87508bcd915e422174ab9143a7b8b7be13416319"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/BatchEditSelectView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36771a668cf97a40f84a6d68f631cadd228bd24e5e99bdf8de7aa63e0b350612"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/PageHistoryComparisonSelectionViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b3ece0c81ae06198e44765d6852fec339217fcb7bc1c19f4ebfe72f84b1cd3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/VanishAccountWarningView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59f1a8d144b1700e2fa962373112a1f0d941a6d4774b68b57524b6931bc1ee8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ReadingList\u002BCoreDataProperties.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe8c9c7309f34471dabd6a272d4bf63732093400ae2d2b886d146f75f24f4e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/PermanentCacheController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf2989753ef4b6d1224c0b789b21ac21e7370b8c6e99ba3ff845054ef856691"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/HasText.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c475b4747e17e0d8393414330843b8b812aae23b40ed30b600305ac31d3be670"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/LoadingAnimationViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3b84697db3d81f470da67aecf6b0fcf5b4be80b76765492c8bab0e69e62c3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ReadingList\u002BCoreDataClass.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"158e353d65512007e7015ce727e30e09292db16384acf94f9da46017dabd5ab8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NotificationsCenterDetailActionCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddabf95364db5ce7db0866ce188fba9f429d787f5d438c0c209cf68248cb787"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFItemSourceExcludingActivityTypes.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b8dbe090647e99e7ee6fa8385c38586840dc26f3a9150487e652ba7132a057"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleViewController\u002BTableOfContents.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9f12764686bb548c7070a1594c7f5b25c05c4d5b415ce3a1835c2dd56e39b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NSNumberFormatter\u002BWMFExtras.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f89e66b81e0b450b926152b0179c25317ba8b52d61a87ef2c4721ce477db4f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NotificationsCenterCellStyle.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec44259ea26c8878d3c91f02e7b4483efc9d5e74f44bbb459cc6a0376c0bdda5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/SplashScreenViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"363c6d9a6cfe19ffb0c7c8ba7b6709293315a397f823f5fbee07324dac195c91"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleViewController\u002BSharing.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1390bdaee91220fd12ba248822fc6072bfc9ea3f1b111d8110ac015625aede"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ColumnarCollectionViewControllerLayoutCache.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c630fbc6986482daec73c981b8c884d3b7280342839d930d460fe2463d0b7017"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/PageContentService\u002BUITestAccessibilityConfiguration.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6124e1d0237c4e8b74949834fb455fc9573be167357aa2da312f6436cc2f7d66"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFScrollViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64536d9d8859b0d8706515b44222dfa278353142f6774b9d8766a60a3efb362c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TestNetworkFixtures/TestNetworkFixture.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a68d5327bec1892b5fd9198e15a34566f9acfbda54bcb2ec45f7a9ef86d0218"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/UIScrollView\u002BLimits.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cb122a6206cf4a5face3360137dbafe4fd9a06f07b1e4e3fd1d9e747bbcc69"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ReferenceBackLinksViewControllerDelegate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3623d2c03ea8e12d02fc3e2a2d706899b4866f11bbed3d5dbb9f5e663142644"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/WMFArticle\u002BErrors.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"585a362a39f968627456b41295adfbe7d7605579221bce2e3c2d695dce46d5e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/MediaList.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2968af2c917b4737d173361f51b7518103ca07ffe8d2a6561fb3ff07991937d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/Cards/WMFWhichCameFirstCardViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff91e44b3dd987ae754bd511d0518c9cd42e6e8e5754d28677bbb8ac9273817"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleSummaryController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae59972175ca2dbc3041c84e9236684c86070eab05c66b6e881768d23e6d109"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NotificationsCenterDetailContentCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4c5b9a5b87ea456e2eca192e3eb1fc4905f7c8dd1b18149b1bea1bc754c8a7"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: WMFDeveloperSettingsView.swift \u2194 WMFDeveloperSettingsDataController.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsView.swift\u0060 (context WMFComponents) and \u0060WMFData/Sources/WMFData/Data Controllers/Developer Settings/WMFDeveloperSettingsDataController.swift\u0060 (context WMFData) sit in DIFFERENT parts of the tree yet change together 68% of the time (32 of the 47 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 32 shared commits counted here, the most recent 3 are \u0060d76923ba\u0060 Adding remote config for discover - percentage coming from config as \u2026; \u006091d9f81f\u0060 Add the Discover data controller, experiment and developer settings; \u0060cf19ac4b\u0060 Decide the Year in Review experience from the slides with data \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d414b9d3ffc65a03161659d00f7c8fd3b56fea90f6559c16d5d7f913327a4d"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: WMFYearInReviewSlideView.swift \u2194 YearInReviewSlideViewModelFactory.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewSlideView.swift\u0060 (context WMFComponents) and \u0060Wikipedia/Code/YearInReviewSlideViewModelFactory.swift\u0060 (context Wikipedia) sit in DIFFERENT parts of the tree yet change together 64% of the time (16 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u006052c39cd6\u0060 Show the YiR rabbit hole answer with a VoiceOver double tap; \u0060285e00f7\u0060 Move the YiR pager one slide for each VoiceOver three-finger scroll; \u006043ae1ee6\u0060 Remove WMFRiveTextFit \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewSlideView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9464673faf17751d996b354d5e32ced8866d4429b7d08ff6596f03035dd8c94d"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: WMFTempAccountsSheetView.swift \u2194 EditorViewController.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Temp Accounts/WMFTempAccountsSheetView.swift\u0060 (context WMFComponents) and \u0060Wikipedia/Code/EditorViewController.swift\u0060 (context Wikipedia) sit in DIFFERENT parts of the tree yet change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060549364a3\u0060 Sheet buttons, profile view model fix; \u00607a5ff8a7\u0060 Move editor presentation logic, remove unused variable; \u006042fd1af8\u0060 PR fixes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Temp Accounts/WMFTempAccountsSheetView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8842db3238bf580208933fd316ea1ecbe4bca8ec4c7bc12de315336149f47c1"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: WMFDonateViewController.swift \u2194 SinglePageWebViewController.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Donate Form/WMFDonateViewController.swift\u0060 (context WMFComponents) and \u0060Wikipedia/Code/SinglePageWebViewController.swift\u0060 (context Wikipedia) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00600fe227e5\u0060 Fix iPad contributions bar configuration; \u00600562adf0\u0060 Progress with reworking cancel and done buttons; \u0060ca67d258\u0060 Updates the cancel action to use cancel text, keep it on the leading \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Donate Form/WMFDonateViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d3de72c2782c1757edafe80988750d257ed543eb059a2ca0a9c13ee2f40d17"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: WMFDeveloperSettingsViewModel.swift \u2194 WMFMockDeveloperSettingsDataController.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsViewModel.swift\u0060 (context WMFComponents) and \u0060WMFData/Sources/WMFDataMocks/WMFMockDeveloperSettingsDataController.swift\u0060 (context WMFData) sit in DIFFERENT parts of the tree yet change together 58% of the time (22 of the 38 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 22 shared commits counted here, the most recent 3 are \u0060cf19ac4b\u0060 Decide the Year in Review experience from the slides with data; \u0060b37d1391\u0060 Create YiR dev settings section; \u00607e1cd722\u0060 Spacing \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cd5a1e13e30ff2a01b18eb887fc34149ea0fba4903a6a368fd5cc2dfbadeb6"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: WMFDeveloperSettingsView.swift \u2194 WMFUserDefaultsKey.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsView.swift\u0060 (context WMFComponents) and \u0060WMFData/Sources/WMFData/Store/WMFUserDefaultsKey.swift\u0060 (context WMFData) sit in DIFFERENT parts of the tree yet change together 55% of the time (26 of the 47 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 26 shared commits counted here, the most recent 3 are \u006091d9f81f\u0060 Add the Discover data controller, experiment and developer settings; \u0060c9ce202d\u0060 Remove games dev settings; \u0060bab87769\u0060 Add the semantic search experiment and its developer settings \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Developer Settings/WMFDeveloperSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2008a0b45ff73830a9d53aa31b9278395104ea92e53b3adec5121ae3458385"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: WMFRiveView.swift \u2194 YearInReviewSlideViewModelFactory.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Shared/Rive/WMFRiveView.swift\u0060 (context WMFComponents) and \u0060Wikipedia/Code/YearInReviewSlideViewModelFactory.swift\u0060 (context Wikipedia) sit in DIFFERENT parts of the tree yet change together 55% of the time (11 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u006043ae1ee6\u0060 Remove WMFRiveTextFit; \u0060970baab9\u0060 Remove WMFRiveTextFit; \u00606dcf78cf\u0060 Move to the YiR rabbit hole reveal as soon as the reader taps a card \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Shared/Rive/WMFRiveView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3982c05a2c9885b0924b9b6694a2a03fa419beb9c209a87d60a32d4ac3abb47b"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: TimelineViewModel.swift \u2194 UserContributionsDataController.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/TimelineViewModel.swift\u0060 (context WMFComponents) and \u0060WMFData/Sources/WMFData/Data Controllers/Shared/UserContributionsDataController.swift\u0060 (context WMFData) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060b2e32bed\u0060 PR Clean ups; \u00601470f7ca\u0060 Clean up (at that commit the file was still \u0060WMFData/Sources/WMFData/Data Controllers/Activity Tab/UserContributionsDataController.swift\u0060); \u006003c78cd6\u0060 Deep link diff (at that commit the file was still \u0060WMFData/Sources/WMFData/Data Controllers/Activity Tab/UserContributionsDataController.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/TimelineViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"172659e631feda4d6cf3b0db35fe33491ff88ef50ff7d3e76c832ebbdc73009f"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: WMFImageRecommendationsDataController.swift \u2194 ExploreViewController.swift: \u0060WMFData/Sources/WMFData/Data Controllers/Image Recommendations/WMFImageRecommendationsDataController.swift\u0060 (context WMFData) and \u0060Wikipedia/Code/ExploreViewController.swift\u0060 (context Wikipedia) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00609ef97dd2\u0060 Bug fix; \u006098998d26\u0060 Fixes; \u00602f2d15d0\u0060 Renaming, moving \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Image Recommendations/WMFImageRecommendationsDataController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19f282351b9c6df74001007e7ecc45230c2fb70547d4a00242c7b0c36ec6e2d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ArticleViewController\u002BArticlePreviewing.swift \u2192 ColumnarCollectionViewController.swift, ExploreCardViewController.swift, TabsOverviewCoordinator.swift: \u0060Wikipedia/Code/ArticleViewController\u002BArticlePreviewing.swift\u0060 changes together with 3 other files \u2014 \u0060Wikipedia/Code/ColumnarCollectionViewController.swift\u0060, \u0060Wikipedia/Code/ExploreCardViewController.swift\u0060, \u0060Wikipedia/Code/TabsOverviewCoordinator.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleViewController\u002BArticlePreviewing.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17eac2a97b63ed7b82eaada4e10817cd0979ad3b287a0d6fa726efb5853e6149"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WMFCommunityFeedView.swift \u2194 WMFHomeViewModel.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Home/WMFCommunityFeedView.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Home/WMFHomeViewModel.swift\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00605321204f\u0060 Allow scrolling to top when tapping the tab button or W button, add a\u2026; \u0060708aac2d\u0060 Hide community card implementation; \u006035333002\u0060 Hide community module implementation \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Home/WMFCommunityFeedView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65a47ccf797aa9d060313e4f0a6f4e932f2c62718e511e0ba956071e14bb075"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WMFRiveAnimationViewModel.swift \u2194 WMFYearInReviewSlideViewModel.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Shared/Rive/WMFRiveAnimationViewModel.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewSlideViewModel.swift\u0060 change together 63% of the time (12 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u006043ae1ee6\u0060 Remove WMFRiveTextFit; \u0060970baab9\u0060 Remove WMFRiveTextFit; \u00606dcf78cf\u0060 Move to the YiR rabbit hole reveal as soon as the reader taps a card \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Shared/Rive/WMFRiveAnimationViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57753e573f3c960b90ecefcbba47a99a9ac4c4d597f58c44454b80d8d9ac369a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ExploreViewController.swift \u2194 WMFDailyGameContentSource.swift: \u0060Wikipedia/Code/ExploreViewController.swift\u0060 and \u0060Wikipedia/Code/WMFDailyGameContentSource.swift\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060a718542c\u0060 Add localized strings, cleanup date formatters; \u006093dd5f4c\u0060 Add back in description label spacing \u002B try to improve session clearing; \u00601626c7bb\u0060 More rework - persist game state in Explore persistence \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ExploreViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4efeb82ce21181960daf04e503fac6724c0a1ed86b04816682b7f6ea108c45e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: InsertLinkViewController.swift \u2192 ArticleViewController.swift, EditLinkViewController.swift, ExploreViewController.swift, SearchViewController.swift: \u0060Wikipedia/Code/InsertLinkViewController.swift\u0060 changes together with 4 other files \u2014 \u0060Wikipedia/Code/ArticleViewController.swift\u0060, \u0060Wikipedia/Code/EditLinkViewController.swift\u0060, \u0060Wikipedia/Code/ExploreViewController.swift\u0060, \u0060Wikipedia/Code/SearchViewController.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/InsertLinkViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da36154ef6c4001b8343d206119e0169f29a0ba9cc111a28673d9d4d0222a95"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WMFUserDefaultsKey.swift \u2194 WMFMockDeveloperSettingsDataController.swift: \u0060WMFData/Sources/WMFData/Store/WMFUserDefaultsKey.swift\u0060 and \u0060WMFData/Sources/WMFDataMocks/WMFMockDeveloperSettingsDataController.swift\u0060 change together 58% of the time (22 of the 38 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 22 shared commits counted here, the most recent 3 are \u0060a4da54a5\u0060 Split YiR eligibility into a data state and a slides experience; \u0060ad82e504\u0060 Start dev settings; \u006010687bcc\u0060 Combine dev settings \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Store/WMFUserDefaultsKey.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a414e6ca6253116e614dff423c45bb9d9f7625b66efad135ff92a1fcc2008f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WMFRiveAnimationViewModel.swift \u2194 WMFYearInReviewSlideView.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Shared/Rive/WMFRiveAnimationViewModel.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewSlideView.swift\u0060 change together 56% of the time (14 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u006043ae1ee6\u0060 Remove WMFRiveTextFit; \u0060970baab9\u0060 Remove WMFRiveTextFit; \u0060f642cbc2\u0060 Show the YiR no-image design until the thumbnail is bound \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Shared/Rive/WMFRiveAnimationViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f830578512ed0eb3ae993738f68012ad718f3b92c26098d8d1838d732cc7702"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TimelineViewModel.swift \u2194 WMFActivityTabView.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/TimelineViewModel.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift\u0060 change together 55% of the time (11 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00601470f7ca\u0060 Clean up; \u006003c78cd6\u0060 Deep link diff; \u00603ce2fc5e\u0060 UserContributions fetch edits \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Activity Tab/View Models/TimelineViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63feaf8af64fca572678e6daaa036fa1693f70ad49ce26d37e0c156468255ff6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WMFArticleTabsDataController.swift \u2194 WMFCategoriesDataController.swift: \u0060WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift\u0060 and \u0060WMFData/Sources/WMFData/Data Controllers/Shared/WMFCategoriesDataController.swift\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006085b3ba4a\u0060 Swift 6 (WMFData): replace legacy NSMergePolicy global vars; \u00609a38212a\u0060 Fix iOS 17\u002B deprecations and Sendable warnings; \u0060eda77d8a\u0060 Cleanup WMFProject identifiers \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Article Tabs/WMFArticleTabsDataController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f803d7491c0b69cae9c3406f27e90d093595a632a43c4eb9d0e35df7312419f8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: NavigationStateController.swift \u2194 TabsOverviewCoordinator.swift: \u0060Wikipedia/Code/NavigationStateController.swift\u0060 and \u0060Wikipedia/Code/TabsOverviewCoordinator.swift\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006064682f6e\u0060 Remove most warnings; \u0060b842cfd1\u0060 Move text view delegate to tabs coordinator; \u0060aee58be7\u0060 Add link delegate to tabsOverviewCoordinator dor did you know \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NavigationStateController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfb4198cc66b86096cff9cfa0b1eb379276c610af9ad41ee206321420eda70c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WMFSavedAllArticlesViewModel.swift \u2194 WMFPageRowSaved.swift: \u0060WMFComponents/Sources/WMFComponents/Components/Saved/All Articles/WMFSavedAllArticlesViewModel.swift\u0060 and \u0060WMFComponents/Sources/WMFComponents/Components/Shared/Page/WMFPageRowSaved.swift\u0060 change together 50% of the time (14 of the 28 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060e8a7ed6d\u0060 Remove Async from the name of the saved page row; \u0060ddb60789\u0060 Trim the reading lists sheet and the Saved tab view models (at that commit the file was still \u0060WMFComponents/Sources/WMFComponents/Components/Shared/Page/WMFAsyncPageRowSaved.swift\u0060); \u00609ca84168\u0060 Add missing Saved All Articles events (at that commit the file was still \u0060WMFComponents/Sources/WMFComponents/Components/Shared/Page/WMFAsyncPageRowSaved.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Saved/All Articles/WMFSavedAllArticlesViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52414466d022223dbf9dd576047fc29e5cc610aa92f582916c77062a1de52b28"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RandomArticleCoordinator.swift \u2194 TabsOverviewCoordinator.swift: \u0060Wikipedia/Code/RandomArticleCoordinator.swift\u0060 and \u0060Wikipedia/Code/TabsOverviewCoordinator.swift\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060152a810e\u0060 Move did you know provider to coordinator; \u0060b842cfd1\u0060 Move text view delegate to tabs coordinator; \u0060f640b632\u0060 Add did you know provider closure call to expore feed, history, artic\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/RandomArticleCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a61086ed31f67e5ebd6ec2ef877a820099b7b7d133ac23f2e385bd50e0adf2d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: UserContributionsDataController.swift \u2194 WMFYearInReviewDonateCountSlideDataController.swift: \u0060WMFData/Sources/WMFData/Data Controllers/Shared/UserContributionsDataController.swift\u0060 and \u0060WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewDonateCountSlideDataController.swift\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060340dfa4e\u0060 Delete unused fetchusercontribs, create ArticleEdit, map to TimelineItem; \u0060b2e32bed\u0060 PR Clean ups; \u00601470f7ca\u0060 Clean up (at that commit the file was still \u0060WMFData/Sources/WMFData/Data Controllers/Activity Tab/UserContributionsDataController.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/UserContributionsDataController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3866b5ddad91bba4e46e91c67838f1621f04caabf60a123a91c93b61a7d7af26"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ccd0ed4f30c940fe1b5f494ea88ff2085895b769c2341b23a8759d25ae58e84"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95d632dd9161314925d5b359c1ad72a73cb8eea610935864ba825a029c3da78e"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"610ffebbbc030115fb1b70f46246503b04529f1af1dd7bd24198d03c5147ec14"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be4b6a06063499390ce21a6c7ddbe14d2564f66acf4862139636d88b2bf4c9ab"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa195d7898747519d9df07ad4c931d176b5b9c652ff2e3f9642cdf2fb5961deb"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7aaaec7a2766f641444884ce7214fab0e02379a2710f386d5e9be5e06b04644e"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35dd224d74b886ed7d6f535ec7e943efbd170866210f977e1d5be43119d28699"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da53c838ca4e2e1656748dd643c3f08ea674ac1c021e37576a2cec2c9d58c990"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7fd15ecd8ed3e982d666478626f43071322b053d8b677922c787582afe09c1d1"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d53fb13ee8e3aaa71c3a83a794129bc4faf7a6f1d6a132a941c60af703f6be6"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49dd6de78a5931037bbedd336ce8406b11c613c4134585e54c7946d711657263"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/assets/about.html"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea81f3de6bf492034f75f03f3e914631d6a4d40dab854d098bc51bedeaae8d3"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/assets/about.html"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"418ef03717e7cb9b1359fb6eb07acb2713953c70ccbb0ed0d5691a3624781262"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFRandomDiceButton.html"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbe3a9554af8e71493d0123f02be9b8be02a0f7acefb7765aaec4fad79e6e58"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFRandomDiceButton.html"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f63989c02e1096a39df8aa7598a9deb8879abe4fb246a00c9ccb6f4c11539d"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFRandomDiceButton.html"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c7b9bce41564f78b707ac1a709d9180a33be106496d11d85af55aa28560ff8"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/assets/about.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"48598d9d664d6505c84352909883e45bba0dde9c50d86658ad7d8ec6f19df0f7"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/assets/about.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"404d4f4f2285ff38f05a884a37bca38912def9c67b811cdd3f582184d045c8a6"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/assets/about.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e9d096a89e81d47c5e56374511974eba8e4884274f915565f88828d5585baf"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/assets/about.html"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e7104927aa73a4dc8a093c43f890ba00e502856700afa00d361eae3c16efa4"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/assets/about.html"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5786a68d4241f3a4992d69d3de392a1fef0f4f157c7f7340391948077814e5"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: WMFComponents \u2192 WMFDataMocks: \u0060WMFComponents\u0060 (production) references the test project \u0060WMFDataMocks\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"24a41f48efedfb9eaa1ccf092b11d2c76f78d8243ad839ab5025848bf96ecb18"}},{"ruleId":"AX9","level":"error","message":{"text":"Query writes persistent state on the read path: WMFDiscoverReadingListDataController.fetchAndPersistList: \u0060WMFDiscoverReadingListDataController.fetchAndPersistList\u0060 is a read-named query yet it performs a durable write on the read path (a persist to a store/client). A query must stay side-effect-free so reads are safe to retry, cache, and route to a read replica; move the write into a command."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverReadingListDataController.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5cb03ce9656f8ae6f578b8d4549241c321ecb1906d6aecb38e99f15f86d1c2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: LanguageItem.id: \u0060LanguageItem.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/App Onboarding/WMFAppOnboardingViewModel.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b64f21ffb7a060821fe9a9fa6f5982ba246b3e6dd1b87075d164595b645f2c2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TriggerOption.id: \u0060TriggerOption.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Donation Reminder/WMFDonationReminderSetupViewModel.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2842d0aedbeded9fb817a700cc7333449c36fa1b0c55ebe29d66786d15a57b8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: VisiblePage.id: \u0060VisiblePage.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Home/WMFForYouView.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4f38af3a76ebc680284f23247ca725ef0d6d1e0bf9eadaa2d9cf8c97a9c415"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TopReadItem.projectID: \u0060TopReadItem.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Home/WMFHomeCommunityViewModel.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebc116887d12dab12978c942883974715109a126225c3789d850c4dc784c415"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OnThisDayItem.projectID: \u0060OnThisDayItem.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Home/WMFHomeCommunityViewModel.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"422e1cdb577f689d9ad7b8217b758618604f143ad587f422737098f245fee0b8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProfileListItem.id: \u0060ProfileListItem.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19e854ffadc0d5d4af39af76f914d0f370d1a409d8ddd9a3b79916fc9c2d9e4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ProfileSection.id: \u0060ProfileSection.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Profile/WMFProfileViewModel.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"49096904b96f06ccf2dfd9ab5b1d8c0813d82d14e880ccdca403b81bfd58ee80"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SettingsItem.id: \u0060SettingsItem.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewModel.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52d5b9b4a13839dbed979384ab4bdef47f11723b37358738f275a665b979d85"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SettingsSection.id: \u0060SettingsSection.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Settings/WMFSettingsViewModel.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab3747dfa9ad5c0e2b63ce0797c681c05e149dc6fa210acc54cd5c47eda129d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Card.id: \u0060Card.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewEndViewModel.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc1e4c6687beedb6a6d7dddb3e8bbaedb81d24e5bc32a2755e1f0d45fd58db1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFYearInReviewPageRequest.pageID: \u0060WMFYearInReviewPageRequest.pageID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewView.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d551f4d508ab1477bcb1ea77a6e761f7bc4f9c7699b64c01eed06c5a8f1a3d6c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFYearInReviewPageObserver.dragLockPageID: \u0060WMFYearInReviewPageObserver.dragLockPageID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewView.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3b6bb80c6fa9113dd3fdab88f3d925989fc9a13192fc5a3fb5d6e5baaa9ffd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ObserverView.dragLockPageID: \u0060ObserverView.dragLockPageID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewView.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"154d4d4efcbcec714d1a9b80ff7e6a43e42423a01620ff4eb6d40878f583d06a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ObserverView.lastSlideID: \u0060ObserverView.lastSlideID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Year in Review/WMFYearInReviewView.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4190f980f2792b52cd7b637de72737595a68f31e10876f0c19e0501542f01a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Article.id: \u0060Article.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Saved/Create Reading List/WMFCreateReadingListViewModel.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c82a93b3ea27de188e2c89b8522440b95b436d9d0f3ff6c2034091194026a7c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RecentSearchTerm.id: \u0060RecentSearchTerm.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Search/Recently Searched/WMFRecentlySearchedViewModel.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc26d5ff1a0e4f1c8edcb9065513de28fb9057638eea5a10faa697c01dd2f77a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SearchResult.id: \u0060SearchResult.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Search/Results/WMFSearchResultsViewModel.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"625ebe62d6936cc369997ef8c1fac247672a0ab115dd1f02e7899431526b4c57"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MenuItem.id: \u0060MenuItem.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Shared/Buttons/WMFSmallMenuButton.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c8ab9b560f5c9294e7fdcdbf6af2aa0226112e3a862df02f53c5c64e6eaae3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Slide.id: \u0060Slide.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Shared/Slideshow/WMFSlideshowViewModel.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"753033959e030dd5ba3c2f18a02ebafd0061a8b3ba1ed334281d3ae7468dc686"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Tip1.id: \u0060Tip1.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"753643bdc4a08e94702a06c6c88af15e08e5ffe342f7f017c5a92b8b0dff7918"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Tip2.id: \u0060Tip2.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c152c360161592e951e58afdcdde9fbdd62ddd7820f4aa90dbdb2de3b66490"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Tip3.id: \u0060Tip3.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewController.swift"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddf431408ff30790d4032e4012582f9ac1c11e5c64c51762a1e723a2dd13cc6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFImageRecommendationData.pageId: \u0060WMFImageRecommendationData.pageId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Suggested Edits/Image Recommendations/WMFImageRecommendationsViewModel.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc0f64074db03876763fc29df41979007c81b18b3a8fa30d981c196cde0a80d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFOnThisDayCardEvent.id: \u0060WMFOnThisDayCardEvent.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/Cards/WMFWhichCameFirstCardViewModel.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"35387f29090130a032e0f4ff07f65baa4e3fb0293cba5ada651e110720c01131"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SearchRow.id: \u0060SearchRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsViewModel.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fa1e2b0c816b1ee5144514067e841000dc8a25ec05387866f5f91b146f98bc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFActivityTabDataController.sharedGroupID: \u0060WMFActivityTabDataController.sharedGroupID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c480a91f41bfac632d1883efcefca039ba1688ccac40862a1d41f379730272e4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TimelineItem.id: \u0060TimelineItem.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"430809c4023c3290cb99a37ab6b1f46f355f75999a387c6d384c2696dd455ed6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TimelineItem.projectID: \u0060TimelineItem.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb745ef54c3e34ccf159a35a44c45e699c11e85ff31c4de807ff08ec4c8f265b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TimelineItem.namespaceID: \u0060TimelineItem.namespaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d2816a9707c7069e5fd1b7613256ce32fcef2e50f457b41ccdae7a4e013264"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TimelineItem.revisionID: \u0060TimelineItem.revisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22b5cef44a2c006ad043e7418da74c4b0180e37ab7a266d0acafbf918609f70"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TimelineItem.parentRevisionID: \u0060TimelineItem.parentRevisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"534d1c98bd47d8ca74b637575d809f30976b5ff5283cf374a2d4d9951d472c4b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFInspectedAnalyticsEvent.id: \u0060WMFInspectedAnalyticsEvent.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Developer Settings/WMFAnalyticsEventInspectorDataController.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb305663fd4fa1ac6fad4bff6da68ad6ca666cede167fb6f54956f0ac1b6e6e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFDonationReminderDataController.experimentCampaignID: \u0060WMFDonationReminderDataController.experimentCampaignID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFDonationReminderDataController.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d01b43a3c8ad432ff8523daeba2efea90b88a6be040ec24adc937a156482a49"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FundraisingCampaignConfig.id: \u0060FundraisingCampaignConfig.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFFundraisingCampaignDataController.swift"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"67657df7f365bca88b3cff1c6d87cdd1c93055c47ff35dfa079ad2c1006c1d12"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Asset.id: \u0060Asset.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFFundraisingCampaignDataController.swift"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4d70f5e3b1af9016a3cc409ba3ca7927bfb30a7e5f6388c037c30274eed237"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFFundraisingCampaignPromptState.campaignID: \u0060WMFFundraisingCampaignPromptState.campaignID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Donor Experience/WMFFundraisingCampaignDataController.swift"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5f4b09db02ce07912aba3dc0fe1dc60e2e069282e0486bf9181a3c1a4d2b75"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: HistoryRecord.id: \u0060HistoryRecord.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/History /WMFHistoryDataController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"728d2feeb95eae30b49ed0999c260f227bcdf5e195c3a63bce107d86a29f71b9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: HistoryItem.id: \u0060HistoryItem.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/History /WMFHistoryDataController.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"901fd62fb565cb81bdc12b962d269ab8c334d95d6161fc6e9baee8a822d848ab"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TopicWaiter.id: \u0060TopicWaiter.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9915a7bda16bbdc45f39c0ef1e7878155569b466e0aa18f6aa87230dafe9e7c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFSavedArticle.id: \u0060WMFSavedArticle.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Legacy Reading Lists/WMFLegacyReadingListsModels.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89f628bccf6559ecc57f0a69cf5bdae6ad8c92e1c992c03394914230f49b4aa"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFReadingList.id: \u0060WMFReadingList.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Legacy Reading Lists/WMFLegacyReadingListsModels.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ea9346fba1856e74b2d7f3c652c4fa2b0310e09eeb449541f5d004ec35bd59"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFPageRevision.revisionID: \u0060WMFPageRevision.revisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Page History/WMFPageHistoryDataController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db3cca660aa139ef55bed8b8d415cfde6b76a1c543ec8c23de00e47e22350e8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFPageRevision.parentID: \u0060WMFPageRevision.parentID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Page History/WMFPageHistoryDataController.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd2a5b693d8c5ce354b3dcde794f07ff36c45b3ff41d2f6098a26a9563c85b6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFReadingChallengeCompletionDataController.legacySharedGroupID: \u0060WMFReadingChallengeCompletionDataController.legacySharedGroupID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Reading Challenge/WMFReadingChallengeCompletionDataController.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a469a3bfb195df2006d855f4cd2ec42d2359cbe104721b2c6089de8fd1f359d8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SavedArticleSnapshot.projectID: \u0060SavedArticleSnapshot.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Saved Articles/WMFSavedArticlesDataController.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea888f7b55761d540219028fe6248b02efd484d294e712abe3572574cfca6cd3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFSemanticSearchResult.pageID: \u0060WMFSemanticSearchResult.pageID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Semantic Search/WMFSemanticSearchResult.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04fe5ccc2e6c7be9608c91440fb89f184b1ba57996ae749e06647d4b0942543"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFSemanticSearchResults.searchID: \u0060WMFSemanticSearchResults.searchID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Semantic Search/WMFSemanticSearchResult.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1690877167fd2bf26af267ebcc747de5162284b285b1ac6f842073a62ecc92e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ArticleEdit.id: \u0060ArticleEdit.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/UserContributionsDataController.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9eb446fe7c68d95b8aa2e5ba791ccbdcce57b58e21a580eaf93c0771e66b55"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ArticleEdit.projectID: \u0060ArticleEdit.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/UserContributionsDataController.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ca1effd4299527bbb8ff3d826c7a15f16816d19fc15aad63f0ea79c5494393"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ArticleEdit.pageID: \u0060ArticleEdit.pageID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/UserContributionsDataController.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab45ba9be96455d46bc82f1faf17138af9128de94e9aae5726e9111b3db472dc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ArticleEdit.revisionID: \u0060ArticleEdit.revisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/UserContributionsDataController.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff439bc2ddd52c2f306702a7732569f03cffd5859a762afd2a971039a07728d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ArticleEdit.parentRevisionID: \u0060ArticleEdit.parentRevisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/UserContributionsDataController.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddbfc65ac26b5eda12ad74f75e7f15e0393c7970eb7c674d5b33be194cb0c8c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: UserInfo.id: \u0060UserInfo.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleDataController.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee52fb2c5f1a2ad61805429c2f9713352043de7449a06b9d21f93012cfc8e1bf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GlobalUserInfo.id: \u0060GlobalUserInfo.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleDataController.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ede3e90e4f672eb914c87862bdf9a0235dd0119b2185dd2c0c350e92921ec9d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFArticleUserInfo.userID: \u0060WMFArticleUserInfo.userID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleDataController.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3713d460ead366d81a77d5460e22e03e48b2882f1b2042d0c28eb0fded46618f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFArticleUserInfo.globalUserID: \u0060WMFArticleUserInfo.globalUserID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleDataController.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"367f6b07f304f3e12da2e3e305e9e0265340ca2df0097992b9e49fe62097bde9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFArticleSearchResponse.searchID: \u0060WMFArticleSearchResponse.searchID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71fddcab65fc18788bfc0b70e660d31b1c92ca999031b2f71b6799166a35bc8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFArticleSearchResult.pageID: \u0060WMFArticleSearchResult.pageID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2c9413148fb7f095e277adaaeeec301adc1eb54a976451b403e589c8766150"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFArticleSearchResult.revisionID: \u0060WMFArticleSearchResult.revisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFArticleSearchDataController.swift"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"7972b53b35a3b1a7d18690656992b9b326a7098604574c12db9b301f2c423dab"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFGlobalEditorMetricsDataController.globalUserID: \u0060WMFGlobalEditorMetricsDataController.globalUserID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFGlobalEditorMetricsDataController.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ae7657370f572723eb9533544a543ddbc99eab374eb07c1ba1d49a5fc51a43"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFPage.namespaceID: \u0060WMFPage.namespaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e9b7c9ebecd030d93513222dd5665901f728c6cb84aa84d63034f867c34dc2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFPage.projectID: \u0060WMFPage.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb4e6768192e4fb94db1a2d37ad56f5792f43b075c755133572740afe50f415"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFPageViewCount.id: \u0060WMFPageViewCount.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFPageViewsDataController.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a9cb0723dad4f2bf777509ad0102a3d335ee4a60c584c99d9033f1b8e24710"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Page.pageID: \u0060Page.pageID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Shared/WMFShareReadingListDataController.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"02506461fb08d4fb3979973a0780fbd223cefbd76b340ce23a64c9400692b23d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Article.projectID: \u0060Article.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b7de44b3e2aa06fb043f9437944a0b41ccfebb2186d5e6de7ea8b67a62df90"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewUserInfo.userID: \u0060YearInReviewUserInfo.userID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewUserInfo.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb31ce1ddda0cf5bb1589a171f3f47f353a125b166b475acbb9adfb484651c8c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewUserInfo.globalUserID: \u0060YearInReviewUserInfo.globalUserID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewUserInfo.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3ffa84ad44d4d8ffa65ef01ce3cc57d3400f276683400a66e43b13d6cde2d0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFDiscoverRecommendedPage.id: \u0060WMFDiscoverRecommendedPage.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Discover/WMFDiscoverRecommendedPage.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab238fb61664e3289423102246f672e6d2846157d8ffced7089afd31bed3307"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFFundraisingCampaignConfig.id: \u0060WMFFundraisingCampaignConfig.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Donor Experience/WMFFundraisingCampaignConfig.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9325084c52faa18155f50a739ded81f140ce5e48412069645c8f2a5d51cc7555"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFAsset.id: \u0060WMFAsset.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Donor Experience/WMFFundraisingCampaignConfig.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"854deeddc8b21eb1d2e758e62bd0bb2124d6ca95bfb931ba19a27bddc991202c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFAsset.assetID: \u0060WMFAsset.assetID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Donor Experience/WMFFundraisingCampaignConfig.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"667b047e5ef61ad872042100e59b23d3b7927dd80ec565cbdad17e229cf32db5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Response.orderID: \u0060Response.orderID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Donor Experience/WMFPaymentSubmissionResponse.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65a3f384e589b8ab850591d2c6c08f7ca3801958a894c06917df6875428bdcc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GlobalUserInfo.id: \u0060GlobalUserInfo.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/GlobalUserInfo/GlobalUserInfoResponse.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c581a8bce6bf7301401ab531ed145b1014398959f97560ffe36d2aba79ffe35"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFFeedNamespace.id: \u0060WMFFeedNamespace.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Home/WMFFeedResponse.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"62549101546fd6b9de296c023426566a6ae16b8db27f2053266681281b6614d9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFFeedImageNew.wbEntityId: \u0060WMFFeedImageNew.wbEntityId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Home/WMFFeedResponse.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1cea4966b25953fbaebced02a08855142f63005244c6dbec5e05772feb8c56"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Revision.revID: \u0060Revision.revID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Image Recommendations/WMFImageRecommendation.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7e3a109ea857c8c3dfed56f5858cfccb7e78d19d6f34647b2e08334ec9e378"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GrowthImageSuggestionData.datasetId: \u0060GrowthImageSuggestionData.datasetId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Image Recommendations/WMFImageRecommendationAPIResponse.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"839dbb77378afe640e5fdd31272928b188393ab325fd7293d0c582b4b72d4c41"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFLanguage.id: \u0060WMFLanguage.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Shared/WMFLanguage.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c605dac536116e89d7b675c72250832e4e866d2236aa26581d0638732a052d6f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TopViewedArticle.id: \u0060TopViewedArticle.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Shared/WMFUserImpactData.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01b1c3e59d9dd2252ad273eb051ceee009866c38d1c2b6aa0828643fdd31fc3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFWhichCameFirstQuestion.id: \u0060WMFWhichCameFirstQuestion.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Shared/WMFWhichCameFirstGameState.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4b94b8955429b93a9ced6aa7e42d678df1f816592370e2366c23d0a16ef750"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFUndoOrRollbackResult.newRevisionID: \u0060WMFUndoOrRollbackResult.newRevisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Watchlist/WMFUndoOrRollbackResult.swift"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a335c4909dad390a5350640ca762050cc9ad3f8c33ecf3c4daf64a64bfc986d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFUndoOrRollbackResult.oldRevisionID: \u0060WMFUndoOrRollbackResult.oldRevisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Watchlist/WMFUndoOrRollbackResult.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ed13e09a9c9438a896ced5b5ce72f6eedb74b504c4c23799e66a1ee3581d7b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Item.revisionID: \u0060Item.revisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Watchlist/WMFWatchlist.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b7dd46b1601af9ab3d8ec5b9af804cdf350ae28404bb9f02804f2a69fe2282"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Item.oldRevisionID: \u0060Item.oldRevisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Models/Watchlist/WMFWatchlist.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"14706f31ff0fbf3874ee8bb01bb6ba7db6abd73c69c89ded162d764be02e3313"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewDonateCountSlideDataController.globalUserID: \u0060YearInReviewDonateCountSlideDataController.globalUserID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewDonateCountSlideDataController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc77375e7874b6e68be4876f60c0b07a8dd2135c5cfaf16fa19c57422871144"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewSlideDataControllerFactory.userID: \u0060YearInReviewSlideDataControllerFactory.userID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewSlideDataControllerFactory.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5def2b31a113ff402e096967dcd42fa06872461e513105bee16ba3d59b9f4d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewSlideDataControllerFactory.globalUserID: \u0060YearInReviewSlideDataControllerFactory.globalUserID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewSlideDataControllerFactory.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"83823c38f7f9d1cb777426a1ad849450b23f56abf8c646b6b9d8c931e1586ecb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewSlideDataControllerDependencies.userID: \u0060YearInReviewSlideDataControllerDependencies.userID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewSlideDataControllerProtocol.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce40ef6010e2bbcc9348460e50dcca279a4806e48701ef06f5f8a864278854c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewSlideDataControllerDependencies.globalUserID: \u0060YearInReviewSlideDataControllerDependencies.globalUserID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewSlideDataControllerProtocol.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b311364ea8ec63f816c40a46c0255ae05c1b96ee201c482691d2c201a0443c2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewViewCountSlideDataController.globalUserID: \u0060YearInReviewViewCountSlideDataController.globalUserID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/WMFYearInReviewViewCountSlideDataController.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"746e460de5a1300616f867fa8cc2f96b84aa967e272d9f85acf47a902b6984e6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Article.projectID: \u0060Article.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2912d515e9afc060f624fccfd739417b113260665c01181199d3f67d5c90a0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewEditCountSlideDataController.globalUserID: \u0060YearInReviewEditCountSlideDataController.globalUserID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewEditCountSlideDataController.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8661d2a39cba12c6e293612c742dd7895f8569c9efa027d5aec784c4c4be9ac7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Article.projectID: \u0060Article.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLongestReadSlideDataController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9b59941443343874f22b3faf7488438355016f157325b055541271a0526c74"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Article.projectID: \u0060Article.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewMostViewedArticlesSlideDataController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea2ac26bebc4986836054ff601c05222cc8a398296136af9ca50401618f975f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewMostViewedArticlesSlideDataController.userID: \u0060YearInReviewMostViewedArticlesSlideDataController.userID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewMostViewedArticlesSlideDataController.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9b7cd11b6fe5d9e6d998cf4dd27ee31044e38d6d3a1be528f6c26301c3d729"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Article.projectID: \u0060Article.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewRabbitHolesSlideDataController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f510ad51107f11fb95e08f30f16049f672932b776f9b8b6cd3ed6beabdb3fb35"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewReadCountSlideDataController.articleNamespaceID: \u0060YearInReviewReadCountSlideDataController.articleNamespaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewReadCountSlideDataController.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5093beaa1018d68e738d09948c7fc115b73fee775492573062e2f7c3f57bb689"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Article.projectID: \u0060Article.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewTopArticlesSlideDataController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce536de14d8da71140facd70fe3adea6e94bdc949a9642a06b4d9b78a1a5281c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewTopReadArticleSlideDataController.articleNamespaceID: \u0060YearInReviewTopReadArticleSlideDataController.articleNamespaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewTopArticlesSlideDataController.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3584a75b9ad4bacb3b6365f221754c62cb9977a6a951808b9a42fd38f085f656"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Article.projectID: \u0060Article.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewTopTopicsSlideDataController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbc3a680d143c7c77d2b88a078dec75239e6bc62009176bd5ed003e66fdd32a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TopicCount.topicID: \u0060TopicCount.topicID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewTopTopicsSlideDataController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a902fc5fd645521352155097df37f03bb86be01830f9dc5b3d3b982e1351c614"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewTopTopicsSlideDataController.articleNamespaceID: \u0060YearInReviewTopTopicsSlideDataController.articleNamespaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewTopTopicsSlideDataController.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcfebb25171ad8929567d09f61369ede11ddf32df5e5cc12a52ae6e42544320"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AgentData.appInstallId: \u0060AgentData.appInstallId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/AgentData.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"406986918d0da7aaea1ad8a116338d2b126b8a63060a3b7e8c27d5eb4e4367f7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ContextValue.agentAppInstallId: \u0060ContextValue.agentAppInstallId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/ContextValue.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5b727bb3ca4a5d673de199ab92bb507228057edbdea03d91d2bdb6b9ec1acb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ContextValue.performerId: \u0060ContextValue.performerId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/ContextValue.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"92560032e8599142a3ad865cca20c013121cfa6734bff1f91cccb2b2fde3a8d6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ContextValue.performerSessionId: \u0060ContextValue.performerSessionId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/ContextValue.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"95795d41724fdf2fd2f3d6b7e65cdaabf8dbd09be6d9f30b53d2c8dd9203a608"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ContextValue.performerPageviewId: \u0060ContextValue.performerPageviewId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/ContextValue.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7e22b2b9e616e747eb808bcd1cfd73f9bfd0f242b0f67eea834d973fe657bb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ExperimentData.subjectId: \u0060ExperimentData.subjectId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/ExperimentData.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"307d4eba81aa239abb6773067c360bf6b182ac67d13f312fce0242e02d94ad7b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: InteractionData.elementId: \u0060InteractionData.elementId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/InteractionData.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"177528431706fc22f35ee904dec0f1a74d99d5054f45a462f202e939c7f040a3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PageData.id: \u0060PageData.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/PageData.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d96a26d1a767263399814780fdf084d52b8fc4c2b6fb97ef3583b6fec5c0a4b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PageData.namespaceId: \u0060PageData.namespaceId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/PageData.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be2974493fbb2f06fb0b320478ccfa00547b9ac5644aea7e4bfc816e52ae747"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PageData.revisionId: \u0060PageData.revisionId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/PageData.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4fad3a0c7366eef88e88fd9b50b060808e2a9c8709c40fab7e5250bea4501a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PerformerData.id: \u0060PerformerData.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/PerformerData.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ac3b6729e4e2c41dd2841d660dff57d9129bde459e31400b4710dd16edc0ce"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PerformerData.sessionId: \u0060PerformerData.sessionId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/PerformerData.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cda06bd2af798ebf44cffa09c602be2540a46cf314c2f99ed79f8e857ffeab"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PerformerData.pageviewId: \u0060PerformerData.pageviewId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Context/PerformerData.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"05350994ac2d927447095f24c252d8c259edf8f59b3660702cc6d0ce534ced40"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Event.elementId: \u0060Event.elementId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Event/Event.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65b548dc02395fb8a15abc9d640adb2fb246584ef51c9eb433d95f1c51797ee"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ArticleSummary.id: \u0060ArticleSummary.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ArticleSummary.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f57bc02eb3a0bbbf78c42f89b59395d1fd6ccba384b433b3c524a07c379c59"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ArticleSummary.wikidataID: \u0060ArticleSummary.wikidataID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ArticleSummary.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a4c01fbf5237c9fe5dbb9c5861050c3b5eb8c87d0eab717b6b488d518b54db"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Namespace.id: \u0060Namespace.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ArticleSummary.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00e340a0bd50118eebc033b1dcc9bed03acebe95eb87214678021de6b55eba7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MWKSearchResult.articleID: \u0060MWKSearchResult.articleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/MWKSearchResult.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0f0e9df06712a62a24be15c8642687f0ab620a623e1cc465ff38ddf1de3f73"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MWKSearchResult.revID: \u0060MWKSearchResult.revID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/MWKSearchResult.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9febf238ce69344f0d7db8e6c4ef48ca0f5d024fa21ba317eb30f5e1baa3b3c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: BlockInfo.blockID: \u0060BlockInfo.blockID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/MediaWikiApiErrors.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cea159cf176b909f4cd683a4c7d65d3e8fad8dcb13857034478a2f75d619855"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: APIReadingList.id: \u0060APIReadingList.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ReadingListsAPIController.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5861792563da026b466a861ed20ee9c9486c5385e262b7185afba73c2a32f3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: APIReadingListEntry.id: \u0060APIReadingListEntry.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ReadingListsAPIController.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9782c81309c9fc2e003e4bae923e94afd1192d950a241341ce0be7955387e9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: APIReadingListEntry.listId: \u0060APIReadingListEntry.listId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/ReadingListsAPIController.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b506a522081eaddf401c068100042614717731f25c4a9b4392d81ac6219a2e5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RelatedPage.pageId: \u0060RelatedPage.pageId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/RelatedResponse.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"36375d16e76d73f80fe7eb4d2662631b34e405d683f4a788e8c84aa40ea07dc7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RelatedPage.lastRevId: \u0060RelatedPage.lastRevId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/RelatedResponse.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4db4114c9ecd1c67d0d7c71151cbbc0a71c79f82ed3e175368752d1b21df9ce"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: UserSession.sessionID: \u0060UserSession.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/UserSession.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc189d9737e67bec10efc5a06deb90ed354d7a78b62c80391e3a197493e1e8da"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PageIDs.projectID: \u0060PageIDs.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/WMFArticle\u002BMigration.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96f5bc77a50817c9572f3aa29c4c26befadfc64254cf210e5f3b6d2cfe07465"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClassicInfo.captchaID: \u0060ClassicInfo.captchaID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/WMFCaptcha.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fb63d1c0fd0c96139b8c739d84ed9424bde80b54d26e7df7edcc3d96a6bbec"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Namespace.id: \u0060Namespace.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtilityAPI.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"382d940c9799caafce055160cc69e5000b6060de4fda248c9dc8ee32ee280fae"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NamespaceAlias.id: \u0060NamespaceAlias.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command Line Tools/Update Languages/WikipediaLanguageCommandLineUtilityAPI.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"feaadebc21a588005246c3c41578af0c3fe43d1793b6bab1cca50d76508c5bad"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: EventPlatformClient.sessionID: \u0060EventPlatformClient.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Event Platform/EventPlatformClient.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d826825e7c0b4639a6d864133409da6f94bc03b81390322855956e3443e993"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Meta.id: \u0060Meta.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Event Platform/EventPlatformClient.swift"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f993981fbba1be22607c60f6cd1d3dacaf568b51f3e8c7147169a2ee646feb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: EventBody.appInstallID: \u0060EventBody.appInstallID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Event Platform/EventPlatformClient.swift"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93b9d2ff827ea50f2b7aad050cc6c4e29d362102c12017eecc31f47666b94cf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: EventBody.appSessionID: \u0060EventBody.appSessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Event Platform/EventPlatformClient.swift"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"956841e3390aa3bfb6637f2792cf3576de91c2ca2e8223c3dcfb7d36c98efa24"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Notifications.continueId: \u0060Notifications.continueId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Remote Notifications/RemoteNotificationsAPIController.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ff11a3cb3ceda78cdd7a05dc693e1ccfc072413eb1c0142f9a389c9cba51b0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Notification.id: \u0060Notification.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Remote Notifications/RemoteNotificationsAPIController.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ed851d6c0f773358d18d5cc485398ef9940093922ab7500e740aab8ee3613f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Notification.revisionID: \u0060Notification.revisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Remote Notifications/RemoteNotificationsAPIController.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc2a0672277c6740ba05b57949b0abfba1bbe04e38b21dfda62762325f10cc4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Agent.id: \u0060Agent.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Remote Notifications/RemoteNotificationsAPIController.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3e64ace5064b54d589cbb85b7edb0dde663052c23b06526463d87e1a419153"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: LicenseImage.id: \u0060LicenseImage.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Widgets/Widgets/PictureOfTheDayWidget.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b68416dd827f4796bb6274b7093a3b11ab7d7130c4d8bb3e5a78c2f1e3b3b7d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RankedElement.id: \u0060RankedElement.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Widgets/Widgets/TopReadWidget.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b622d401e3e466d731f9e0f8b67c74202ba7986c525df8cd5abe79f81345ed2f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Event.wikiID: \u0060Event.wikiID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ActivityTabFunnel.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e79c83e27e3cf790ee132f34ce75f10c377e09d4d3acf3174b01d9ea1d0b211"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Event.pageID: \u0060Event.pageID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleLinkInteractionFunnel.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c75a7c6bfdc322196fdb95af6a519a90f977ca2e229bcab7af091ec56a6847"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Event.wikiID: \u0060Event.wikiID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleLinkInteractionFunnel.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0727bf07b35c1eeb4667d48d2c2fbf1480a5186c9998ec7173f9627cbc1847"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Event.wikiID: \u0060Event.wikiID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleTabsFunnel.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99780b8aebdb2674fae1933955fd11e15cdebbb99dd28d62e8c9ef18f4af823"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ReferenceBackLink.id: \u0060ReferenceBackLink.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ArticleWebMessagingController.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ad02a51bfa1ca3e7a1a709bbe603831ca151e061dc9cbb9604bf16b61db07a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DiffMoveInfo.id: \u0060DiffMoveInfo.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DiffNetworkModels.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d92ee9a05d83b26a824e48599d97b2a4755d14858bc29c5d2d365933558cb9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DiffMoveInfo.linkId: \u0060DiffMoveInfo.linkId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DiffNetworkModels.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d082537347e9911caa2a613cdaa5833a17e709377cb97e1b0d8eb23a834fbe08"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TransformMoveInfo.id: \u0060TransformMoveInfo.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DiffTransformer.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"019f00d30a99ea8519f8497e15bb1896df3b197678a53a55fd6bf20a3d8ef718"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TransformMoveInfo.linkId: \u0060TransformMoveInfo.linkId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DiffTransformer.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dcbc1623118ce3df20c84c2b288d5845f568d93f2b4d6eb5079cf8aebad8aa"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Event.wikiID: \u0060Event.wikiID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/DonateFunnel.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c293a83d5674e6622a63e07412056c58c71589f0a489defa5b72ff892e64b290"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Event.wikiID: \u0060Event.wikiID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/EditInteractionFunnel.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6f48e2ab0bbca31d543161bb55049e07254f59dd78d5dfc3b7af33e57ca7ce"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: EditorChanges.newRevisionID: \u0060EditorChanges.newRevisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/EditSaveViewController.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"202bba9b0458df7731cdc5bf050bddfbdbb5270bf84166ec8d2db1ab9cc32fe9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Event.wikiID: \u0060Event.wikiID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/ImageRecommendationsFunnel.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cff0ac828e821fac6957363beed4ab291fa48e86ee4cd5358770765e12cfdd5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MediaListItem.sectionID: \u0060MediaListItem.sectionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/MediaList.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d430c736c5a72c94c4458196b7b643afe259c592ba0c23c5fbad6a95b5d289"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Session.xWMFUUID: \u0060Session.xWMFUUID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/Session.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c639ca24f157f40d9ab7205157893112f5083249113203d191eb9832f74cf12d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YiRLearnMoreConfig.slideLoggingID: \u0060YiRLearnMoreConfig.slideLoggingID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/SinglePageWebViewController.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51884d24c517ccd81c6b1aec20764c08682d6fadaedf8c683cb2cbc9752d414"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TableOfContentsItem.id: \u0060TableOfContentsItem.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TableOfContentsItem.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7e3fe23ef497061011570015f05a7d1177dccf4ff28b8986efc79f9775fec8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TableOfContentsItem.rootItemId: \u0060TableOfContentsItem.rootItemId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TableOfContentsItem.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc26339b775b0128c50813193e37ce6a9cbdae808b95eca298f3b8f6045baf3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Page.pageID: \u0060Page.pageID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TalkPageArchivesFetcher.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e959463f4aa403a882fe85d3fd373d9e6b40e13bb88be492fb081b07cca75ad7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TalkPageArchivesItem.pageID: \u0060TalkPageArchivesItem.pageID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TalkPageArchivesItem.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e061e47b2a64f00e85158e284226bd1b1d41b86beedb85a81ac780e7b99c92"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TalkPageArchivesItem.id: \u0060TalkPageArchivesItem.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TalkPageArchivesItem.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"befa374d1df8e9798260c8616a3413aee3c02fe79fc190f26c29c845fdb82c8d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TalkPageItem.id: \u0060TalkPageItem.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/TalkPageFetcher.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3d0c13d130031b5d4c42f6a354689241e73563bc7be193d499a2b102bffc91"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: VisualEditorReturnJourney.revisionID: \u0060VisualEditorReturnJourney.revisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/VisualEditorReturnJourney.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b39f94e3f9c039be238437e63446b7751b62dda6844d3fd95e097baafbf0d7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SelectedTextEditInfo.sectionID: \u0060SelectedTextEditInfo.sectionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WKWebView\u002BEditSelectionJavascript.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cb54fb8ef5a0c4db969daa506edd186d11cc0eca41aee44922458084157a8a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: User.userId: \u0060User.userId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAccountCreator.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"94770a8cf1ab45c3af34ec5fef8d4697b1cec66d9d3c6068c063080f824ed4d8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFSearchResults.prefixSearchID: \u0060WMFSearchResults.prefixSearchID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFSearchResults.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbdc6dbfd8e167461bff846ee6484c310be7d928b7cec6ce644438754a815ef"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WMFSearchResults.fullTextSearchID: \u0060WMFSearchResults.fullTextSearchID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFSearchResults.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1453df0e6ff8be4fb2b4bdf1aa2ff3521f791a015f03e50cb114a05727ba0463"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ActionData.revisionID: \u0060ActionData.revisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WatchlistFunnel.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a759b6fb766e424963a006fe96024b2210638b8bcbd7500d383a45ea70048d6c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Event.wikiID: \u0060Event.wikiID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WatchlistFunnel.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e9a64794193033a862bccc563ab17e5fd500065c244e658d799fe2f4631f03"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Response.revisionID: \u0060Response.revisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WikitextFetcher.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c129df80fbc0b7ddf517193628e15324f8b29d95164133b2cab9f5ca1adddabb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewSlideViewModelFactory.contributorSlideID: \u0060YearInReviewSlideViewModelFactory.contributorSlideID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/YearInReviewSlideViewModelFactory.swift"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4169a1a26b087e760eee340a60366ac34d01fd367722660e21a77bdeaad1e2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: YearInReviewSlideViewModelFactory.nonContributorSlideID: \u0060YearInReviewSlideViewModelFactory.nonContributorSlideID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/YearInReviewSlideViewModelFactory.swift"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b72df6b7eaf06d7dfd90c12646c6359360856de0078c569f107f9eb23a3465e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: IdentifierGroup.id: \u0060IdentifierGroup.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Remote Notifications/Model/RemoteNotification\u002BCoreDataClass.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f050b8625b875a41bf3c58968cf925e1a9d93e132709fc43bc02a2497c1d9f1f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RemoteNotificationsImportOperation.initialContinueId: \u0060RemoteNotificationsImportOperation.initialContinueId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Remote Notifications/Operations/RemoteNotificationsImportOperation.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"97795646f0ca46ff3a09bd67bd85fe13e2b03f959db734acc259fa81e2395ff0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RemoteNotificationsImportOperation.continueId: \u0060RemoteNotificationsImportOperation.continueId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Remote Notifications/Operations/RemoteNotificationsImportOperation.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e499625814d40e2e8f7f62d0755471bcfc122630f79b5ebc6501e92b7bffd4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RemoteNotificationsPagingOperation.initialContinueId: \u0060RemoteNotificationsPagingOperation.initialContinueId\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Remote Notifications/Operations/RemoteNotificationsPagingOperation.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8992e71996bf445c44ab923b89a13e36f71f92f7ebe1e8d23c870282c8d8f19f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ArticleDescriptionPublishResult.newRevisionID: \u0060ArticleDescriptionPublishResult.newRevisionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/Controllers/ArticleDescriptionControlling.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdeab6e7166faedd3be99165b489bb41d31735fb3f595768ffe87149fd51cde1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ShortDescriptionController.sectionID: \u0060ShortDescriptionController.sectionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/Controllers/ShortDescriptionController.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"45db9947bc0617142a53495852e40745e4f101f678b4eda3d75e347864173a17"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WikidataDescriptionController.wikiDataID: \u0060WikidataDescriptionController.wikiDataID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/Controllers/WikidataDescriptionController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43feb51adb78713032a020be9b2e30ce4016e2f69d634a9d2204a7207fcfc34"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: InsertMediaSearchResult: \u0060InsertMediaSearchResult\u0060 is a data-only reference entity whose behaviour is DELEGATED to a foreign utility (static methods that take it as their first parameter and hold its logic) \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/InsertMediaSearchResultsCollectionViewController.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6239fca6ca7a20214cae45c0537c3650407e3fb1fc48209a75775148209e7c9"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: URLRequest: \u0060URLRequest\u0060 is a data-only reference entity whose behaviour is DELEGATED to a foreign utility (static methods that take it as their first parameter and hold its logic) \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/PermanentlyPersistableURLCache.swift"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f19e4abf301dad83e2417effea3f57d00e4cc3920aed4b5c88a879e4688fe6e"}},{"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":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060WMFTestKitchen~WMFTestKitchen\u0060 is marked as implementation by its own namespace, folder or name: \u0060InstrumentImpl\u0060 (WMFTestKitchen/Sources/WMFTestKitchen/Instrument/InstrumentImpl.swift:3, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFTestKitchen/Sources/WMFTestKitchen/Instrument/InstrumentImpl.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfb1bd2f94e344098984f9125a13390bc11c8f7ba8e632b857e5d3fb5a8a2dd"}},{"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 21 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/post_phab.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060sleep\u0060 is async and calls sleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/App Onboarding/WMFAppOnboardingViewModel.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e077841a015f8255ccd00469a2c690a0c157cd97b2a95dbff345bc675bb845"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!selectionState.isBulletSingleList \u0026\u0026 !selectionState.isBulletMultipleList\u0060 appears character-identically in 2 files \u2014 WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Accessory Views/Expanding/WMFEditorToolbarExpandingView.swift, WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorInputView.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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Accessory Views/Expanding/WMFEditorToolbarExpandingView.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e993685231a824771043714b344f49d5d8d6460f190bd47be2d9714a26e05aa2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!selectionState.isNumberSingleList \u0026\u0026 !selectionState.isNumberMultipleList\u0060 appears character-identically in 2 files \u2014 WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Accessory Views/Expanding/WMFEditorToolbarExpandingView.swift, WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorInputView.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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Accessory Views/Expanding/WMFEditorToolbarExpandingView.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e9e62832be0dec7f45d9f4948346bb9dab4e27faf3eb3c6084e5c71c8cdf87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060UIDevice.current.userInterfaceIdiom != .pad \u0026\u0026 height \u003C= 667\u0060 appears character-identically in 2 files \u2014 WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstView.swift, WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Results/WMFWhichCameFirstResultsView.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":"WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/WMFWhichCameFirstView.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8d9ab20f2f96e3df4f0817342220627d1c4e2a9002c493f7f4b2a390e5079e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060UIDevice.current.userInterfaceIdiom == .pad \u0026\u0026 UITraitCollection.current.horizontalSizeClass == .regular\u0060 appears character-identically in 2 files \u2014 WMFComponents/Sources/WMFComponents/Extensions/Navigation Bar/WMFNavigationBarConfiguring.swift, Wikipedia/Code/SearchBarIPadCustomizer.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":"WMFComponents/Sources/WMFComponents/Extensions/Navigation Bar/WMFNavigationBarConfiguring.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a1fe6ed742c63a850f8baca6939c86f4aa99c3067880220189f37dc1fc8277"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060UIDevice.current.userInterfaceIdiom == .pad \u0026\u0026 traitCollection.horizontalSizeClass == .regular\u0060 appears character-identically in 3 files \u2014 WMFComponents/Sources/WMFComponents/Extensions/UIViewController\u002BExtensions.swift, Wikipedia/Code/ArticleViewController.swift, Wikipedia/Code/SettingsTabViewController.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":"WMFComponents/Sources/WMFComponents/Extensions/UIViewController\u002BExtensions.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5b4aa4ec71210c6e40ece90c4eb4b81ee3675c0b4fd942b6bfaab6a0bed593"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060WMFTempAccountDataController.shared.primaryWikiHasTempAccountsEnabled \u0026\u0026 dataStore.authenticationManager.authStateIsTemporary\u0060 appears character-identically in 3 files \u2014 Wikipedia/Code/SettingsCoordinator.swift, Wikipedia/Code/UIViewController\u002BProfileButton.swift, Wikipedia/Code/WMFAppViewController\u002BExtensions.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":"Wikipedia/Code/SettingsCoordinator.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"268477a716323890bf9e1246c4df2834c56965e0657f20bcb309cf341dd47ce9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060contentSizeCategory == nil || contentSizeCategory != traitCollection.preferredContentSizeCategory\u0060 appears character-identically in 3 files \u2014 WMF Framework/ActionButton.swift, Wikipedia/Code/CollectionViewCell.swift, Wikipedia/Code/SizeThatFitsReusableView.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":"WMF Framework/ActionButton.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"28352016c947da8dcc337250d4fe54195029012686a93428594a9fe4cbbccded"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060descriptionLabel.wmf_hasText || !isImageViewHidden\u0060 appears character-identically in 2 files \u2014 Wikipedia/Code/ArticleRightAlignedImageCollectionViewCell.swift, Wikipedia/Code/SavedArticlesCollectionViewCell.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":"Wikipedia/Code/ArticleRightAlignedImageCollectionViewCell.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"90645f6021ef19dc22d9140c36010fecdb7ab9a74ba735ad760526bc5c3177e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fitSize.height == CGFloat.greatestFiniteMagnitude || fitSize.height == UIView.noIntrinsicMetric\u0060 appears character-identically in 2 files \u2014 Wikipedia/Code/CollectionViewCell.swift, Wikipedia/Code/SizeThatFitsReusableView.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":"Wikipedia/Code/CollectionViewCell.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a03366505a7e25de003de1f00f760e5055193e842aa81abd8dfdb2cb0a7374d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isCurrentlyEmpty != isEmpty || showingEmptyViewType != emptyViewType\u0060 appears character-identically in 2 files \u2014 Wikipedia/Code/ColumnarCollectionViewController.swift, Wikipedia/Code/InsertMediaSearchResultsCollectionViewController.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":"Wikipedia/Code/ColumnarCollectionViewController.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c548ba9c04d1fe0f772dfc2b7dc66a518a390a0c808428737d66ed2087b811"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isMovingFromParent || isBeingDismissed || navigationController?.isBeingDismissed == true\u0060 appears character-identically in 2 files \u2014 WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsHostingController.swift, WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsViewController.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":"WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsHostingController.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7659b5b96aff7ad218a48965bf6a3b0f3999bec5168cddc7881177d9dc95d63a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060page.pageprops?.disambiguation == nil \u0026\u0026 page.pageprops?.mainpage == nil\u0060 appears character-identically in 2 files \u2014 WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift, WMFData/Sources/WMFData/Data Controllers/Shared/WMFRelatedPagesDataController.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":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"4628bb0200a9cb40d563b70ac315edb78d8e6065a101c3e8da4f06064e4efa89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectionState.isBulletMultipleList || selectionState.isNumberMultipleList\u0060 appears character-identically in 2 files \u2014 WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Accessory Views/Expanding/WMFEditorToolbarExpandingView.swift, WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorInputView.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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Accessory Views/Expanding/WMFEditorToolbarExpandingView.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dac0bf61348961dbcc1e604dd33cdb90906a21fc6c8980cdcb20b30c625778"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectionState.isBulletSingleList || selectionState.isBulletMultipleList\u0060 appears character-identically in 2 files \u2014 WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Accessory Views/Expanding/WMFEditorToolbarExpandingView.swift, WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorInputView.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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Accessory Views/Expanding/WMFEditorToolbarExpandingView.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"48defb97f06a0786251293d394f58087e360e0d74bcd889c7f1d44fca4b47cff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectionState.isBulletSingleList || selectionState.isBulletMultipleList || selectionState.isNumberSingleList || selectionState.isNumberMult\u2026\u0060 appears character-identically in 2 files \u2014 WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Accessory Views/Expanding/WMFEditorToolbarExpandingView.swift, WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorInputView.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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Accessory Views/Expanding/WMFEditorToolbarExpandingView.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"242fd684e1d8ab809ea5dee6dd6d62e84915977c119aca47bf1d6a837d76a64b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectionState.isNumberSingleList || selectionState.isNumberMultipleList\u0060 appears character-identically in 2 files \u2014 WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Accessory Views/Expanding/WMFEditorToolbarExpandingView.swift, WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Views/WMFEditorInputView.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":"WMFComponents/Sources/WMFComponents/Components/Editors/Common Views/Input Accessory Views/Expanding/WMFEditorToolbarExpandingView.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4910a04b6810c5c854e3d64f105f466b939fe2d7c5207263bc9f9a0408b6bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060title != Self.englishMainPageTitle \u0026\u0026 title != mainPageTitles[readingTime.page.projectID]\u0060 appears character-identically in 2 files \u2014 WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift, WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewLongestReadSlideDataController.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":"WMFData/Sources/WMFData/Data Controllers/Year In Review/Slide Data Controllers/YearInReviewBiggestReadingDaySlideDataController.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc7711d2f05f802858fad40497dd4b9c8600664449cee779da308ff0543ecb3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060traitCollection.horizontalSizeClass == .regular \u0026\u0026 traitCollection.verticalSizeClass == .regular\u0060 appears character-identically in 2 files \u2014 Wikipedia/Code/FundraisingAnnouncementPanel.swift, Wikipedia/Code/PlacesViewController.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":"Wikipedia/Code/FundraisingAnnouncementPanel.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"563fedbd71a54109084b7e056f9bdeae224aed6dd6acb3584d9c92c810ff9426"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.scheme == \u0022https\u0022 || url.scheme == \u0022http\u0022\u0060 appears character-identically in 2 files \u2014 Wikipedia/Code/SinglePageWebViewController.swift, Wikipedia/Code/ViewController\u002BURLHandling.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":"Wikipedia/Code/SinglePageWebViewController.swift"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff7eb5e59c606303edbc910c9d0fbf2468699f54e790d53f29dc8c475814d23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewModel.leadComment == nil \u0026\u0026 viewModel.otherContentHtml != nil\u0060 appears character-identically in 2 files \u2014 Wikipedia/Code/TalkPageCell.swift, Wikipedia/Code/TalkPageCellTopicView.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":"Wikipedia/Code/TalkPageCell.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e276212b6f6d1d10fe741f66d0271b27d72d5c521e918272173ba96bbf7e41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/UIViewController\u002BExtensions.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e774bca57f74ce599039ba9341158482dc10eed1da120a9104070ea26437d15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFAccountCreationViewController.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c1c2b55b17e80a4de7e2ac49abec7ebb1d27b92162bfafe1a3a7eacc6d44b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFKeychainCredentials.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d782bc2ff47bd23aff1446df1e4bef61e3bfb6a30627b063c74e705d593e2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFKeychainCredentials.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b043d479332412c8d2a2e3c95293fca1d081cd571f176f13031af38572fefb2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFKeychainCredentials.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf9d633163f620c82687c7f0af8599ae6d2b84728dd658d59c5652d0cf385f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/WMFLoginViewController.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f3dcf39bb9c2b0b7d15a09245af8dd4c6e02d92828cc1e7fa6781b1e68e450"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"60abc7f14fe216f2c73619ddbc58f4fcdf02c47692bb34cb05c612636f3ff263"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a152c9168198f2f4dd69f5e46b7ca5cca948bb9fd5c6ef760ffef24999659c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Settings/WMFSettingsDataController.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5131b3697eccfb687684aa58cb2e076b75404bb4448e499424d9512b7dbca0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Saved Articles/WMFSavedArticlesDataController.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c960673054c125f2570c09ae2765eb912dfc380ecebc19bbb5cffd0e67d74a5e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Discover/WMFDiscoverReadingListDataController.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"6766e303d6e36570b2591611fe9c6e2cf6dd6a539b1155ef32966a3eeddd7883"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsViewModel.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"362afb840660748410b11cb222c23068d846d1143a5401e92cf2a13bfddef4db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsViewModel.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9dd102d7f82de335859ee20a554ddd2359ea19a42ec7163eb7590a5f27671b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Settings/Home/For You/Whats Driving/Your Interests/WMFHomeFeedInterestsSettingsViewModel.swift"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"422344149539f32e8de838411ef6b6c6fd780119cd39fa3b2a6744a2b4e966f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Results/Articles View/WMFWhichCameFirstArticlesViewModel.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce82c319e203ab1c0ef9f292788daf7f3a20ee9c6c474545d4a2a978c26a1f8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Games/Which Came First/Core/Cards/WMFWhichCameFirstCardViewModel.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6c03e6f352c2ce07568f6a932c9a4fa832d400f0ed226f36a0d429ce520c31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverReadingListViewModel.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bec7e169ae0a75b5a298476ef11ad3601735bf1f62ee0844ce6bd56263d0edd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Article Tabs/WMFArticleTabsViewModel.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f682d1917cb988e18e24145adb89d38f439aea48e9c95d6c601eec07125b289"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/CacheController.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf95444006590c4cf515e13eef8aacf9ee4317fb8691e1dd7f592ba16bbedf36"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/CacheDBWriterHelper.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e661459a38de11b60669d759884438b8e0f139706a871914784c673c4dd974"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/CacheDBWriterHelper.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4069c8db2209cab4352f4adf659664c19826f327878c464e81afae6267af06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/PermanentlyPersistableURLCache.swift"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d8a0e8b12a4ff806170072f966d6de555cd72fe89aff7ec39aa51d368b7f0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/Event Platform/StorageManager.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a908aa8e7473a46aa5d05e2264e5094910c62368fa22577ca8ed7de7b463f231"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command Line Tools/Update Localizations/localization.swift"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"933a9d50644d1020a1d1ded97b3cdf707d08837100b4a829b221b2bd1aaf38c1"}},{"ruleId":"X5","level":"note","message":{"text":"Ruby\u0027s type checker does not check nil everywhere: This repository commits no Sorbet configuration (\u0060sorbet/config\u0060) and no \u0060Steepfile\u0060, so nothing type-checks its 1 Ruby product file(s): a nilable value reaches a method call silently and raises \u0060NoMethodError: undefined method \u2026 for nil\u0060 the first time it is nil. A \u0060# typed:\u0060 sigil does nothing without a \u0060sorbet/config\u0060 beside the code; a Steep run configured only on a command line is not something this check can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32b27113b1bc22f400935e8620d19eae7fd3ef145cc36018609c445ea8cd4af1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchInterestCount\u0060 turns every thrown error into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFComponents/Sources/WMFComponents/Components/Discover/WMFDiscoverSettingsViewModel.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"911e51adddecb13bd4bc7efd0d98ec664f70f346ee9e6118f70842e147192b39"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060activityTabVisitCount\u0060 turns every thrown error into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Activity Tab/WMFActivityTabDataController.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bafbc00845db674e6bd5559970b00560f17d7c4100d04f9e0a85474691802f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readingDays\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Evergreen Account Creation/WMFEvergreenAccountCreationDataController.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6bbc5093e82e4db215aacb7ccef3272c39ce74c7365b85e93dbef7fd74d6d5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060savedArticleCount\u0060 turns every thrown error into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Evergreen Account Creation/WMFEvergreenAccountCreationDataController.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06c957fec6c3f2ed97ce1db94b9a3371de7a85bb5ba8a034efc878c2829b52f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060storedSeenArticles\u0060 turns every thrown error into \u0060[:]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7028d664010cc98832306528769440ebb111374bf3c7d8bb3032903dcbc01d40"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060hiddenCardKeys\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Home/WMFHomeDataController.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed44028db7e9df74ef5cfbf99fb3bb8350671753fe006e5acfec03a8bc65498f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060handledDays\u0060 turns every thrown error into \u0060[:]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Local Notifications/WMFLocalNotificationDataController.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"53db6753b434beaf35e87dee3a8c573adb962b3a4bf0b700afd33174d7db1511"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadLog\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Local Notifications/WMFLocalNotificationDataController.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8f5b9b9edb915710fd802e8cbaf3fe03ab44ae911b67127661b73ceb4897dc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fullSlideCount\u0060 turns every thrown error into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMFData/Sources/WMFData/Data Controllers/Year In Review/WMFYearInReviewDataController.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb23806f82a56bdb5bc8ed049c1025cfbf38f17b33043a9e97827f6d68d10355"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allDownloadedVariantItems\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/CacheDBWriterHelper.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e47c25c4554baa8915a325349d2eddbe9ba13a997f2c31c3e1acdbb6bca667d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allVariantItems\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/CacheDBWriterHelper.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"819c033429e0cdac6dcbc01cd68eb13842d4970f92b6ab7706b733d6227f0214"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fileNames\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WMF Framework/SharedContainerCache.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5232cb6b6fd95fbd9b4e3137c01dad62680f7676f546892a9d7194ca36a0ffa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060numberOfUnreadNotifications\u0060 turns every thrown error into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NotificationsCenterViewModel.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f0095373d342c17ebd93322b86060e4d20152129288498bc3ae7a927a9ff71"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ranges\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Wikipedia/Code/NSString\u002BRange.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d10ca2ba6cea07d3e28199c40623c3d89249df819fda4091e717804bb8599ba"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-134","guid":"f92eb270-a113-5050-a4e8-7173e51af580","name":"CWE-134","shortDescription":{"text":"CWE-134"},"helpUri":"https://cwe.mitre.org/data/definitions/134.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.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-457","guid":"b62874fe-6222-8b5b-8ade-9527ad1cbb4a","name":"CWE-457","shortDescription":{"text":"CWE-457"},"helpUri":"https://cwe.mitre.org/data/definitions/457.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-668","guid":"e2cb99db-6d24-b056-b0d0-885a733ec403","name":"Exposure of Resource to Wrong Sphere","shortDescription":{"text":"Exposure of Resource to Wrong Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/668.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-943","guid":"da8ca609-5263-5d50-8f65-8e61b9587003","name":"CWE-943","shortDescription":{"text":"CWE-943"},"helpUri":"https://cwe.mitre.org/data/definitions/943.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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":74,"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."]}]}