{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AAOptionsConstructor.configureAxisContentAndStyle (cyclomatic 20): AAOptionsConstructor.configureAxisContentAndStyle 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographics/AAChartCreator/AAChartOptions/AAOptions.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b103964dd6c369a1c91d18b66ce7618d34e6279685e0e8899f4d326e51ce9040"}},{"ruleId":"D2","level":"warning","message":{"text":"AAOptionsConstructor.configureAxisContentAndStyle (cognitive 23): AAOptionsConstructor.configureAxisContentAndStyle has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 15, if/else 4 (8 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographics/AAChartCreator/AAChartOptions/AAOptions.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e42a8279b0abf948a5e3d3a32c79b51e8a438f36ef92ba50908a1de418ca6ce"}},{"ruleId":"D2","level":"warning","message":{"text":"AAChartViewPluginLoader.loadAndEvaluateCombinedPluginScript (cognitive 23): AAChartViewPluginLoader.loadAndEvaluateCombinedPluginScript has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (5 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":"AAInfographics/AAChartCreator/AAChartView/AAChartViewPluginLoader.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db4d6c7071ed1b067eb2d8b01adf7194fd37da6b3611e6103bb54b0aaa230c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AAEasing.configureChartAnimationEasingType: MethodTooLong \u2014 configureChartAnimationEasingType runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\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":"AAInfographics/AAOptionsModel/AAEasing.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a5d208465b86e62519c15e1d975ad12cde29544ba8911f1b301fa0a086b4ca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AAAxis: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 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":"AAInfographics/AAOptionsModel/AAAxis.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82cd620b66d280c4002d6428a0addf90fec8a0e2925cdfaf541d5367281ce36"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AAChartModel: TooManyMethods \u2014 52 methods, declared across 2 files: AAChartOptions/AAChartModel.swift (51), AATool/AAExtension.swift (1). The bar is 30 methods; this is 22 over it, 1.73\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":"AAInfographics/AAChartCreator/AAChartOptions/AAChartModel.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4b1ff3facd6a4462b77bf6ce9c8c69d4a290600c9f17135107d16063069749"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AASeriesElement: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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":"AAInfographics/AAChartCreator/AAChartOptions/AASeriesElement.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ee92745270f53e0a92f72038f667ea5b562944e2d4fa1802856168984fe4e9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AAChartView: TooManyMethods \u2014 45 methods, declared across 3 files: AAChartView/AAChartView\u002BAPI.swift (23), AAChartView/AAChartView.swift (19), AdditionalContent1/AAChartView\u002BScreenRotation.swift (3). The bar is 30 methods; this is 15 over it, 1.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":"AAInfographics/AAChartCreator/AAChartView/AAChartView.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8160d451af94b8e4ea213207bd00d25d4d0b14cab3b7d792a25eca649779af06"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AAGradientColor: TooManyMethods \u2014 36 methods, declared across 4 files: AATool/AAGradientColor\u002BDefaultThemes.swift (24), AATool/AAGradientColor\u002BLinearGradient.swift (4), AATool/AAGradientColor\u002BRadialGradient.swift (4), AATool/AAGradientColor.swift (4). 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":"AAInfographics/AATool/AAGradientColor.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc0d58b35829c1003ec6fed807194429d2b4dc1a69d1ed6940e65b533912d7a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AADataLabels: 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":"AAInfographics/AAOptionsModel/AADataLabels.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab791fd1a1fe97fbaef1ddf8dae47770611e89ae23aa5b120690bc8de761221"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): AAInfographics/AAChartCreator/AAChartView/AAChartView\u002BAPI.swift:361-375 | AAInfographics/AAChartCreator/AAChartView/AAChartView\u002BAPI.swift:377-391 \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":"AAInfographics/AAChartCreator/AAChartView/AAChartView\u002BAPI.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7755b5cfe78a2e4552098c2e96b356e5c27f54987f55ed75279c59664c291c04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): AAInfographics/ProjectBundlePathLoader.swift:36-48 | AAInfographics/PackageBundlePathLoader.swift:36-48 \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":"AAInfographics/ProjectBundlePathLoader.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59874ab9ebf452688e8e7561044ffb8e120e210c51a0f66beedea0008bfd46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): AAInfographics/AAOptionsModel/AALegend.swift:230-236 | AAInfographics/AAOptionsModel/AAStyle.swift:104-110 \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":"AAInfographics/AAOptionsModel/AALegend.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88fbb773bea558d1d39dc0368805788b1480211747372f88b32b74185897928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): AAInfographics/AAChartCreator/AAChartView/AAChartView\u002BAPI.swift:328-342 | AAInfographics/AAChartCreator/AAChartView/AAChartView\u002BAPI.swift:345-359 \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":"AAInfographics/AAChartCreator/AAChartView/AAChartView\u002BAPI.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"874f5164102eb285824baf9f2a624fdef6d46ced4f84902bbf9a32644ad10d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 3): AAInfographics/AAChartCreator/AAChartView/AAChartView.swift:274-276 | AAInfographicsDemo/Demo/AAChartModel/ViewController/OfficialChartSample.swift:95-101 | AAInfographicsDemo/Demo/AdditionalContent1/ChartGalleryList/ChartListTableViewVC.swift:74-80 \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 \u0060AAInfographics/AAChartCreator/AAChartView/AAChartView.swift:274\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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 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":"AAInfographics/AAChartCreator/AAChartView/AAChartView.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd43b0487bce21532429a819668e3639fcb933f65884b669bd4434a8c68c6c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): AAInfographics/AAChartCreator/AAChartOptions/AAChartModel.swift:333-347 | AAInfographics/AAOptionsModel/AAChart.swift:138-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":"AAInfographics/AAChartCreator/AAChartOptions/AAChartModel.swift"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b6a09f42515253eda47ba03ea87677500721a94748f2d438651f841d4fa9ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AAInfographics/AATool/AAGradientColor\u002BLinearGradient.swift:71-83 | AAInfographics/AATool/AAGradientColor\u002BRadialGradient.swift:74-86 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographics/AATool/AAGradientColor\u002BLinearGradient.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c4c6ef13a7fa5e967cf319a535a5ba7c720da88fab227582a6edbba77abaaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (12 members, 21 shared lines): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1690-1760 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1763-1798 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1801-1836 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1839-1874 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1877-1912 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1915-1974 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:22-92 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:95-130 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:133-168 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:171-206 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:209-244 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:247-306 \u2014 These 12 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9c277ac4e6be5eda7dd2541b8d25106959f6fa0413e4a5e63d7f5f722f429e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (11 members, 5 shared lines): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:184-210 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:512-562 | AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:131-174 | AAInfographicsDemo/Demo/AAChartModel/ViewController/CustomStyleChartVC.swift:255-290 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:956-1017 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:142-220 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:460-515 | AAInfographicsDemo/Demo/AdditionalContent2/ShowManyChartViewVC.swift:76-99 | AAInfographicsDemo/Demo/AdditionalContent2/ShowManyChartViewVC.swift:101-140 | AAInfographicsDemo/Demo/AdditionalContent2/TestAAChartViewForXibVC.swift:17-49 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:379-417 \u2014 These 11 members are variants of one another: a block of 5 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87e49fb346be39faef962f3f32166af55cd328071382e560c8e041b82a9a2ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 21 shared lines): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:174-341 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:343-407 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:578-718 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:720-775 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:932-1067 \u2014 These 5 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdd837928432854291d7c2d67389ecd33c0d3798212f6956ba2f4bda2802137"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 29 shared lines): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1877-1912 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1915-1974 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:209-244 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:247-306 \u2014 These 4 members are variants of one another: a block of 29 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fc3cd26e34e398c9158f7090e6b38b3c3efb7215fcc6c1cfa1ef3e2c71f694"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 21 shared lines): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:13-38 | AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:125-149 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3334-3374 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:85-125 \u2014 These 4 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a42103584860ddd4916f2cde75038f60352959525e952de82a464900f5b9fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 19 shared lines): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:39-202 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1976-2139 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2514-2566 \u2014 These 3 members are variants of one another: a block of 19 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1b73eb6b3c117e30d6f6e6ec0aaf587141551862811d10b7b90235174a86f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 9 shared lines): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForScatterChartComposer.swift:12-41 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:105-209 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:30-80 \u2014 These 3 members are variants of one another: a block of 9 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForScatterChartComposer.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"574fbc1c5be178dbce3a8b37b77eae14749d0b4df82f60516f7bc8abfef7b8dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (102 shared lines): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:334-446 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2271-2383 \u2014 These two members are variants of one another: 102 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80f6046dec08f94cf25e5ad6711a5329cc2225f444fefa9942eed85239324c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (100 shared lines): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:204-332 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2141-2269 \u2014 These two members are variants of one another: 100 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df643a728c68da99b6ef9fc284fc221faab380b48d41898d6d924ecd8947691"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:296-316 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTouchEndEventCallbackVC.swift:55-79 \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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18dbe0714c4a901eaf9d870eaa65c4a7582543973a3a27308bcca3431c25656"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:255-281 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3378-3404 \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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4acd6e07f9bbb5dce44ff41720d28fbb8eacfc6739092e7cfc0b82f39df3110"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:65-84 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:442-461 \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":"AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6ee67b9e3cc670b9b8c0fc65886f4bf60e39b72217eef21ebaf065340f0bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:880-900 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3289-3330 \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":"AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9079756b2d62a14b662b928da1f90e64127bc5536eb1f46f00410bd7dc0497"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1467-1512 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2460-2510 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:40-79 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:81-127 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:14-87 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:555-686 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:724-773 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:174-232 \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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"0241511385f6159edf3a2a58e690539b3d92969b63161bed7d388fc574fcbb72"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:184-210 | AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:131-174 | AAInfographicsDemo/Demo/AAChartModel/ViewController/CustomStyleChartVC.swift:255-290 | AAInfographicsDemo/Demo/AdditionalContent2/HideOrShowChartSeriesVC.swift:54-135 | AAInfographicsDemo/Demo/AdditionalContent2/ShowManyChartViewVC.swift:76-99 | AAInfographicsDemo/Demo/AdditionalContent2/ShowManyChartViewVC.swift:101-140 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:379-417 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccaa1a5d226f513e6abd3c937f2d9e8d8e336fdb0c8d537ffe5603f477f6eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift:38-47 | AAInfographicsDemo/Demo/AdditionalContent1/CustomLargeDateSeriesClickEventCallbackVC.swift:43-52 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipClickEventCallbackVC.swift:36-45 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipEventCallbackVC.swift:38-47 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTouchEndEventCallbackVC.swift:40-49 | AAInfographicsDemo/Demo/AdditionalContent1/TripleChartsLinkedWorkVC2.swift:36-45 | AAInfographicsDemo/Demo/BackUpContent/CustomXAxisLabelsClickEventCallbackVC.swift:38-47 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e018996198804ac4d5f0784cc52e7645ea71478c61e4e49949cbb0b3e181b972"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift:13-89 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:72-105 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:158-186 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:340-375 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:429-463 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:535-583 \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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f4d4e42a7594ca1e55b61cc54b95dfdb591cadbdcaad6ff3bad84f8c54ed39"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift:127-147 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipClickEventCallbackVC.swift:250-270 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipEventCallbackVC.swift:108-128 | AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift:118-139 | AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift:114-135 | AAInfographicsDemo/Demo/BackUpContent/CustomXAxisLabelsClickEventCallbackVC.swift:179-199 \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":"AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"586d4594ca5358fdac4e1b6dd200aeb9f05850d0d8561c3ff1445aafebf2102e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartView.swift:46-196 | AAInfographicsDemo/Demo/AAChartModel/ViewController/BasicChartVC.swift:304-321 | AAInfographicsDemo/Demo/AAChartModel/ViewController/BasicChartVC.swift:323-340 | AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift:347-367 | AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift:369-389 \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":"AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartView.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5897b2c7c17085dfb891cb31353f264cb8304f0eb819be4e61c40392ab1e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): AAInfographicsDemo/Demo/AAOptions/ColumnChartOptionsVC.swift:106-161 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:86-133 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:135-180 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:379-417 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:1070-1114 \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":"AAInfographicsDemo/Demo/AAOptions/ColumnChartOptionsVC.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e6dd36b07cf6d9169192f9733ed60abef51bba224c1a462aae40d5db2edf7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC2.swift:368-414 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:86-133 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:135-180 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:229-263 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:265-306 \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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC2.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8e26c7777ad6ac43d41d8dca572ffa533f1212ef76d05c1d29bc3900ba37de"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:847-878 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1596-1656 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3218-3286 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:1070-1114 \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":"AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe2899eab052a168ce07cb162286ff9cd7ea7a8638dd5872b9de58493a80b2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:72-119 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:162-190 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:530-584 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:719-749 \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":"AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ffe4a7798caf0eb9b087005a1e6303ee64826c450e7cde61ebcfa82e3a0c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (110 corresponding lines): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:319-428 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:432-549 \u2014 These two members are one piece of code written twice and then edited apart: 110 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"27040867a84f73d3c6c3865e9bce8c02af549e235051cb89027c150177028201"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:657-742 | AAInfographicsDemo/Demo/AAOptions/ScatterChartOptionsVC.swift:300-376 \u2014 These two members are one piece of code written twice and then edited apart: 77 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e4dff23dbdd9f4414ab5dfde1893b3a8a548f1508e26aaf07dfe97161a0a1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): AAInfographicsDemo/Demo/AAChartListVC/AAOptionsListVC.swift:145-239 | AAInfographicsDemo/Demo/AAChartListVC/AAOptionsWithJSListVC.swift:137-216 \u2014 These two members are one piece of code written twice and then edited apart: 80 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAChartListVC/AAOptionsListVC.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c91114d3f5f07b3b6894a56dbd78d463d2691b520efe3cc7f842da8cbb73266"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:309-390 | AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer6.swift:128-233 \u2014 These two members are one piece of code written twice and then edited apart: 82 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7f68178f7ad2f2938174bcf67942947de0bd7ad6c12ceca8e78f2e8c2849b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:366-396 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC2.swift:41-83 \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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc4f11f11cb9134ab515f745732e0af64cf5cd832f397a6de5de20da3e03f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:40-75 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2412-2455 \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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3361c4fceb36a29399300ffb91f2c1d199358ac861a0b32baaa4f4266797461"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer6.swift:17-51 | AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer7.swift:14-61 \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":"AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer6.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ecc4acb6f9726dc037a3b0e41502046b72254a514c56cc59b7f7eec599e1f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:40-62 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:168-192 \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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5543f8eb76f5bc4491a3f5eb9b8951f7abe2ad2e070043026cfbf520628bd0e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift:171-199 | AAInfographicsDemo/Demo/AdditionalContent1/ScrollableChartVC.swift:76-104 | AAInfographicsDemo/Demo/AdditionalContent1/ScrollingUpdateDataVC.swift:153-179 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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":"AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8f1fe78fd7f7b35146383595b94f19a0c891b1837820b63da8be25862bc48b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1515-1544 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2385-2409 \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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"5682550d48f52f6927c41303abb34a41c475b1b8f4452eacdc6ca01dbc5c15b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 28\u002B corresponding lines): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:257-284 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:327-374 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipClickEventCallbackVC.swift:167-226 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipEventCallbackVC.swift:53-81 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b988b339fbea46f133f937172d62045c5d2dbb734bc8bf67e6813d869395f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:247-267 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:270-293 \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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1248f0001b3ed16179aeeac1b2bddc9027747065a3d820f40d4c8214b48849a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift:50-98 | AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift:48-97 \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":"AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0386d75313e7366a256a533937bab8b10025445159a40ad16eb5d0b5d3e6b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:64-86 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:157-182 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:390-413 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fef206d976153799e349739971bbc0e78a4ac1c6138ef8bdc63c6bb7e3b3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:64-87 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:89-115 | AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:72-95 | AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:97-123 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"356f39fbd6a9cd9f28c8434f6dee1c2eb6fb818cfd2998a1de74a33f541f4484"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): AAInfographicsDemo/Demo/AAChartListVC/AdvancedFeaturesListVC.swift:269-298 | AAInfographicsDemo/Demo/AAChartListVC/AdvancedFeaturesListVC.swift:300-327 \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":"AAInfographicsDemo/Demo/AAChartListVC/AdvancedFeaturesListVC.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c016840bbd73fd8cc04fa41116c47a914bf65ea2bb7b258ab77d2c2dd25b8520"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): AAInfographicsDemo/Demo/AAGallery/Provider/ChartSampleProvider.swift:13-130 | AAInfographicsDemo/Demo/AAGallery/Provider/CustomStyleChartModelProvider.swift:52-76 \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":"AAInfographicsDemo/Demo/AAGallery/Provider/ChartSampleProvider.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e927692cb0d14e25592933526365cecf4f3755e6bd5a74d8633e53d0853e2c62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift:244-267 | AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift:301-325 \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":"AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"074985ce8470988852cacdfa0943c27e503af57746405327d436562205e3ece6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:465-494 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:496-533 \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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c6e6d60323cf0aea33162d620f6a92c94be1c76442dc3a7a8f297ca7ff03d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): AAInfographicsDemo/Demo/AAOptions/BubbleLegendChartOptionsComposer.swift:219-243 | AAInfographicsDemo/Demo/AAOptions/BubbleLegendChartOptionsComposer.swift:245-272 \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":"AAInfographicsDemo/Demo/AAOptions/BubbleLegendChartOptionsComposer.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6f7469299738b83b21f27d549b554e972f737769c5373ce0209c54ebc6b839"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:222-243 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:470-491 \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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"80014cd5d8e8653836c15695086aa18bbfe9f137b78c9f1f968bbd9d1d02c44d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartView.swift:201-218 | AAInfographicsDemo/Demo/AAChartModel/ViewController/BasicChartVC.swift:128-146 \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":"AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartView.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88cfbd09cdbb90b355b3787173cc6b5900a6f1d5aa2882c6692718678634e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): AAInfographicsDemo/Demo/AAChartModel/ViewController/CustomStyleChartVC.swift:147-164 | AAInfographicsDemo/Demo/AAChartModel/ViewController/CustomStyleChartVC.swift:166-183 | AAInfographicsDemo/Demo/AAChartModel/ViewController/CustomStyleChartVC.swift:185-202 | AAInfographicsDemo/Demo/AAChartModel/ViewController/CustomStyleChartVC.swift:204-221 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAChartModel/ViewController/CustomStyleChartVC.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"048373b2e8ced45d042de3e9ce17cde0d2cbe4b9eeacb6e5e71e1bd15ad34a18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:924-941 | AAInfographicsDemo/Demo/AAChartModel/ViewController/CustomStyleChartVC.swift:225-243 \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":"AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"e172b5f8f0f119737f8fd2242057e52b48c3df370d43447d416936530349c1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/ViewController/OfficialChartSample.swift:92-101 | AAInfographicsDemo/Demo/AdditionalContent1/ChartGalleryList/ChartListTableViewVC.swift:71-80 \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":"AAInfographicsDemo/Demo/AAChartModel/ViewController/OfficialChartSample.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c255015bad3d2d445e0f7e768ef13b756597d8d7cc321855852302b0e3bf32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:20-35 | AAInfographicsDemo/Demo/OfficialSamples/ViewController/OfficialAreaChartVC.swift:21-35 | AAInfographicsDemo/Demo/OfficialSamples/ViewController/OfficialBarOrColumnChartVC.swift:20-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 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":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"276a0b9b86ea27c6921b694cb92b129fbc132c0bf24320a3987ec93263f9d811"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): AAInfographicsDemo/Demo/AAChartModel/ViewController/OfficialChartSample.swift:148-162 | AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer3.swift:59-71 \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":"AAInfographicsDemo/Demo/AAChartModel/ViewController/OfficialChartSample.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"206d563029ed8e094439273a3d80495613973ed4e748414f53672b7a9545361f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): AAInfographicsDemo/Demo/AAOptions/LineChartOptionsVC.swift:295-311 | AAInfographicsDemo/Demo/AAOptions/LineChartOptionsVC.swift:321-337 \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":"AAInfographicsDemo/Demo/AAOptions/LineChartOptionsVC.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4c9045568e700e9eda2265e7f467dfdb78b588bb5d1fafd64c6efd9216982f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:20-36 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC2.swift:19-33 \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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e748e95a39363514f535b35666e5ad69e65dc5b64cedefa7116cd6b7b92060e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): AAInfographicsDemo/Demo/AdditionalContent1/DataSortingWithAnimationChartVC.swift:168-180 | AAInfographicsDemo/Demo/AdditionalContent1/ScrollingUpdateDataVC2.swift:100-112 \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":"AAInfographicsDemo/Demo/AdditionalContent1/DataSortingWithAnimationChartVC.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbb74b2feb554e09dd9894e32c3c810c084e66a27188eebc669b3b7049164ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): AAInfographicsDemo/Demo/AAOptions/LineChartOptionsVC.swift:16-28 | AAInfographicsDemo/Demo/OfficialSamples/ViewController/OfficialPieChartVC.swift:20-32 \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":"AAInfographicsDemo/Demo/AAOptions/LineChartOptionsVC.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee971218229f9a134247194090d1fd9aae9041bbcd287de9c451d0fc983445c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:1075-1083 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:1085-1093 \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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f47cf063bac3b757de197e7ad600cc81f56fe0c80db569d7aa04a24a2e0ed98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift:215-246 | AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift:248-282 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23e1fe57ceca330c4c947a30c95e602ee1c4374a43e9994fb336a77a9d81ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingVC.swift:20-32 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAOptionsVC.swift:21-32 \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":"AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingVC.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"662dab16c314c362abf374c621a0fdf1051a418eb781e8797ae1e00db06ae9c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (164 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:39-202 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1976-2139 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 338 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":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbab0db5674347938b09b3fcef54953f4d37a32cc1c89c60254c25994d1a918d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57\u201358 lines \u00D7 4): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:229-285 | AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:341-398 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2166-2222 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2278-2335 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 338 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":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9481e0df94ef9bb58bf403fa01d78ae0a2adab963a2e9cb3934a53f0b3a069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): AAInfographicsDemo/Demo/AAGallery/Provider/ChartSampleProvider.swift:198-252 | AAInfographicsDemo/Demo/AAGallery/Provider/CustomChartOptionsProvider.swift:190-244 \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 \u0060AAInfographicsDemo/Demo/AAGallery/Provider/ChartSampleProvider.swift:198\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":"AAInfographicsDemo/Demo/AAGallery/Provider/ChartSampleProvider.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec43fb066462ae2df86f8d5bdfe2c2d8472f9e7db6eb5a68ebdd1eef98286ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:561-613 | AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer.swift:15-67 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:561\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"82625169953051977511d6f614a2e7c636bf132edf6ecc09fc72f3dbdf3b52fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1690-1741 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:22-73 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1690\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceabec5293062292dab2d17f6f8a91ca9546dfc020c086c220aac75205fd93c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201351 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:272-316 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:378-428 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:504-549 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:272\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"975533bc05bf470b3f8abcd21b91071cafaba8224c679d569905efe7604b03ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:698-740 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAOptionsVC.swift:177-219 \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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"40701f50513d712c15c67f4180d298ad623b8586a54b454cf64b4b44bc9c088c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:667-708 | AAInfographicsDemo/Demo/AAOptions/ScatterChartOptionsVC.swift:302-342 \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":"AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"3516a1f7119a749c4b0fd7f10b57babb15f100d216e55b5ed5c27e96d1a91fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1931-1970 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:263-302 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1931\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ee35bce0a61eb754a3dbdc7d4cdcd0f32da99ed9af87990fb8575bda4d4e28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:181-219 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:350-388 \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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9231415b6c9394872fbde055b09d0a2c6c2f307a5b1e506f30ec39df9f112724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:345-380 | AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer6.swift:180-215 \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 \u0060AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:345\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":"AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"6824e21dd1c2c83a297a2013d652621c52e7c94903d7e4ccdad1381962c0e04f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:628-661 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:981-1014 \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 \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:628\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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b64eba7c77bc310a4925d59e1c87e914d29fac97ded8477ccaf8dd47db4a6b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:686-718 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:1034-1067 \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 \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:686\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:685\u0060 calls \u0060borderRadius\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:1033\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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4050e00ea23a494d00b7bb584627d18bd90b7c95e431e094e3aa5e1be10b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:367-395 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC2.swift:43-70 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC2.swift:43\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc931d9580855db58230eb7e9471dbea30a3c5e271410652a750529b645175c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201328 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:355-382 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:477-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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:355\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d62712f2304d42d2a1ee4dee0cff35b4eeed4b34424e33df967e00e87dd36b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 5): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:667-693 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:696-722 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:725-751 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:754-780 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:783-809 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:667\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"f222250dfb4fde36ba2a107707f07ef62e51c760fc3c27cbd401ba5f6daa1959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3349-3374 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:100-125 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3349\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":3349}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ebb4c5669a1afea5326d0e57a90a6a5e57ecab033ecc785e64d50fc61402f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3003-3027 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3098-3122 \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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3003\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":3003}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2674ae370ae6dc52f57d226dda50b1530555918b22cbb90e253986a8afdd54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:46-69 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2418-2441 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:46\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabee8d61bd42914a16a4272e596dfa08db233f0a6f9b8c04dd663f8b28a24d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:585-608 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:727-750 \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 \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:585\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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c29c7257debe2cfa00581d9bcc226d1c905af0759cd92d11dd34b22209c789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:336-359 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:449-472 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:336\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b46d2049ab06b93e66bcbc4460502137bcb15a87e355c95544631286d9ad688"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:111-132 | AAInfographicsDemo/Demo/AdditionalContent1/DataSortingWithAnimationChartVC.swift:34-56 \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 \u0060AAInfographicsDemo/Demo/AdditionalContent1/DataSortingWithAnimationChartVC.swift:34\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca08fbc5a82f9039bc6ce95c9f342616ea4e89fed8b05b2a07ad33fb6b6789b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): AAInfographicsDemo/Demo/AAGallery/Provider/ChartSampleProvider.swift:15-35 | AAInfographicsDemo/Demo/AAGallery/Provider/CustomStyleChartModelProvider.swift:54-75 \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 \u0060AAInfographicsDemo/Demo/AAGallery/Provider/CustomStyleChartModelProvider.swift:54\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":"AAInfographicsDemo/Demo/AAGallery/Provider/ChartSampleProvider.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1fec172fac59de4c663b4a223f10af29d5ace64dba289bb84c6d69ebc43642"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1603-1623 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3225-3246 \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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1603\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ef3f5f2269cc14970e4f3120acf7230cc473259015a3a28fcbc0b49e6ab17b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 12): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1734-1754 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1766-1786 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1804-1824 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1842-1862 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1880-1900 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1918-1938 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:66-86 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:98-118 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:136-156 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:174-194 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:212-232 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:250-270 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1734\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac79658eb791455e1ee8099aab136e1dc0544f70caf2a7d5928c5a1d3e93414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:17-37 | AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:128-148 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3338-3358 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:89-109 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:17\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, \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:16\u0060 calls \u0060backgroundColor\u0060 and \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:127\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fbf6e4233414f28ada3aa074f9a32708c9c7dbd6e204bed688917bce7d0d75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2954-2974 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3020-3040 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3049-3069 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3115-3135 \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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2954\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, \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2975\u0060 calls \u0060verticalAlign\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3041\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":2954}}}],"partialFingerprints":{"codehealthFindingId/v1":"863bb0087d69962fecdd0b8267c5ed6086b68f3e7b7fecc836030f6dccb0802c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201320 lines \u00D7 5): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift:14-33 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:73-84 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:159-170 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:341-352 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:430-441 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift\u0060 and \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift:14\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4727702957a2d7f0d222d984a26f9a2718023c85901dc70553aae508e5ac8ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:68-87 | AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:76-95 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:68\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e749cd18af65e2ac9035f914a7ce61e34e6da0e47ef1cd8f21b08bccabe49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:218-235 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:965-984 \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 \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:218\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, \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:985\u0060 calls \u0060subtitle\u0060, \u0060AASubtitle\u0060, \u0060text\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:236\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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e859580e9e4473e6d8f2883cb7fa2d07d05a09dec412feefc8b5b973392231b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:183-201 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:59-77 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:183\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e2317b7574249e97bcbd30f96372f947f37472ca85d38bc15425b07bd708f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 6): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:135-150 | AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:249-264 | AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:361-377 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2072-2087 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2186-2201 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2298-2314 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 338 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 \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:135\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":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"823ceec43589358168cb849dd6fec4110296154e03f322b2a54b21f65682c9e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2998-3014 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3093-3109 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3137-3152 \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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2998\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":2998}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d38a4d2c8cdbe0b97677604738000fe4a3342ecf6491529c389d0ab365e66c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:596-612 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:738-754 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:950-966 \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 \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:596\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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7107fdf88be09fe289fa84bf60c9f47788349a6f533a782a8174c23940584d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:192-218 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:320-346 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:433-459 \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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3c31b965567bb7305be5591f76ada5170762cc6da6c87fd2adb8bf3933ead7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:92-107 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2029-2044 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2517-2530 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 338 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 \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:92\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":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cf2c69cf66be99067047fb89fc401b91888547c46d6963dae7e9027e498249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:260-275 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:645-660 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:998-1013 \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 \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:260\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, \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:661\u0060 calls \u0060min\u0060, \u0060Double\u0060, \u0060startOnTick\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:276\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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aba1ec50e056c9ca7b94d384421c5c94baf0f29e12511a592aa04458825e9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:860-875 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:1096-1110 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:860\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a5fbd2ecb0259a84c24d22a0be15734ea07f8e8af2ac49dd1c1f4c563b77e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1625-1639 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3251-3266 \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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1625\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ad3fc0f210b5c058822a00eedc7b8bbdb527131b6bb92795a06197e39e63c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:46-61 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:983-998 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:46\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0889f4577ca119a3d6a1e71e9f048d5280eb31547c366c8d01074fcda429068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift:58-73 | AAInfographicsDemo/Demo/AdditionalContent1/ScrollingUpdateDataVC.swift:62-77 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent1/ScrollingUpdateDataVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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 \u0060AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift:58\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":"AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7db6bbef2113050e69074d642067170e04eac339625f57d1776032fba96086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift:134-149 | AAInfographicsDemo/Demo/AdditionalContent1/ScrollingUpdateDataVC.swift:116-130 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent1/ScrollingUpdateDataVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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 \u0060AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.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. 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":"AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1cc2d9bb5284a8012deb0b95a84f10a56d2caa9c3c251843bfb5e3a89fafef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:87-102 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:136-150 \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 \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:87\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":"AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44054c4a743d8166255409f256cf0bc4410970b3fa96d7b547bf9e92c44aaba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift:56-70 | AAInfographicsDemo/Demo/AdditionalContent1/ScrollableChartVC.swift:44-58 | AAInfographicsDemo/Demo/AdditionalContent1/ScrollingUpdateDataVC.swift:60-74 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent1/ScrollingUpdateDataVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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 \u0060AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift:56\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, \u0060AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift:53\u0060 calls \u0060setUpRefreshingChartTimer\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent1/ScrollableChartVC.swift:40\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":"AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a99ace95b378164e435b85b0493aa334a8bc9c0b548e26bbab4403254c82c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:881-895 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3291-3304 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:881\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7189d9168dd513a56b308fd4af67f32b281a99650ac63aac148f3f7986d8f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:473-487 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:506-520 \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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:473\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, \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:505\u0060 calls \u0060name\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:472\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"9415dcaf7bfd51554120fbb7e9501c6edb5c76d10a94be3f24b5adbb838a0ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1520-1533 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2391-2406 \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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1520\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, \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2389\u0060 calls \u0060subtitle\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1518\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"10347c4516eca3b97c3b2f6267907688301e4c67e7d5ae74c7e5ecc8e84e21cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:276-290 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:664-678 \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 \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:276\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, \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:661\u0060 calls \u0060min\u0060, \u0060Double\u0060, \u0060startOnTick\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:275\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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"7177955ea2d57923c8dc9925fed82cb8d7de76bcf37c57508dbfbef25890fc09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:728-742 | AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift:57-71 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:728\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc0383d54753af74a0e069534933dadf15a0d656743954f653fa3975371e2d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift:86-100 | AAInfographicsDemo/Demo/AdditionalContent2/ShowManyChartViewVC.swift:111-125 \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 \u0060AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift:86\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, \u0060AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift:101\u0060 calls \u0060zoomType\u0060, \u0060yAxisMax\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent2/ShowManyChartViewVC.swift:126\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":"AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5d8664b11b5375ffd10c0acd12e65ab169702ae04a845fddffcb24163d9281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:196-210 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:211-225 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:226-240 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:241-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3819edb2bbe3a0ecbc5f2cd42fa8a1d65342422cbd9b4a6083224c8cdb3c02f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:209-222 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:378-391 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:963-975 \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 \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.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. 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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"038163e867d5281593b6d3e9c0f481aa027e64e2224ef16f3193c45bf86cec96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:162-174 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:396-409 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:162\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a8a48655398260886cfcda1994c52643378ba9e06428e57e04730c1b914408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer6.swift:55-67 | AAInfographicsDemo/Demo/AdditionalContent2/AAChartSymbolConstant.swift:15-28 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060size\u0060 to \u0060CGFloat = 32\u0060 in one and \u0060CGFloat = 6\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":"AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer6.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d61f7296bead519623ab7e8acec17491c35745d154b7860edca9e3ba043518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:69-82 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:446-458 \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 \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:69\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":"AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6ec884196cd8d4e1a5babb12c60644985b1d0df0c44b83f85fc21aef210396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:111-124 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:158-171 \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 \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:111\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":"AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d200971c72b03c997f5b7f212aeea719788443d6037210be2cdf4d5f168a5e85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 5): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift:23-35 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:77-85 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:345-353 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:434-442 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:541-549 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift\u0060 and \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift:23\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"308d999d2c36f929a421f295f9d5d5500e944a68eaf4a4e2ad464cb6f5bc9495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1083-1095 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1098-1110 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1112-1124 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1096\u0060 calls \u0060opposite\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1112\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4be1db6e2d62597ee085c4551e2bb6e67b867da80e0a3fb0798c733b98def6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift:70-82 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:89-98 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:173-183 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift\u0060 and \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAADataLabelsComposer.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9eb3fcb480cf70bfc8b16153c4da9f50350caa9dca18dfc2f0c65a43c94ca9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:927-939 | AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:946-958 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:927\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"3804dce3e628d9c4b17c5aece52a265078daa24379054912b67b13c8b1cad49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:325-337 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAOptionsVC.swift:36-48 \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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"612c32e57f055162dc3825b8644ab36dfe4fb322d7d14c9511aaaffef2852e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1399-1411 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1426-1438 \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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1399\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"2117cdbbf76570e72480575f545b6b7491039b86a6d830a940d4a08ac1e3d341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:41-53 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:82-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:41\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faae0f7d68c7ffc47f39bc39839174bf7f553b32d657d11cbadd710138939af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift:151-163 | AAInfographicsDemo/Demo/AdditionalContent1/ScrollingUpdateDataVC.swift:132-144 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent1/ScrollingUpdateDataVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift:166\u0060 calls \u0060aa_onlyRefreshTheChartDataWithChartOptionsSeries\u0060, \u0060configureSeriesDataArray\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent1/ScrollingUpdateDataVC.swift:147\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":"AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f70d3c86561f125679afb7d9ba97e356b4553104597b69fc21b43fc936c0eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift:31-43 | AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift:30-42 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift\u0060 and \u0060AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift:47\u0060 calls \u0060add\u0060, \u0060init\u0060 and \u0060AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift:46\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":"AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d030aeda249039b7523f452313b141c1dc79116bc580a92b01bb2072aad7810c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:358-370 | AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:446-458 \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 \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift:358\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":"AAInfographicsDemo/Demo/OfficialSamples/Composer/PieChartOptionsComposer.swift"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eec9091e0791bc2fc6b01b9a61677e97cc8b3432d7d2a718d1c0f68966da7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201312 lines \u00D7 12): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:193-202 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:552-556 | AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:155-166 | AAInfographicsDemo/Demo/AAChartModel/ViewController/CustomStyleChartVC.swift:277-284 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:968-977 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:149-156 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:487-496 | AAInfographicsDemo/Demo/AdditionalContent2/HideOrShowChartSeriesVC.swift:91-100 | AAInfographicsDemo/Demo/AdditionalContent2/ShowManyChartViewVC.swift:86-93 | AAInfographicsDemo/Demo/AdditionalContent2/ShowManyChartViewVC.swift:127-134 | AAInfographicsDemo/Demo/AdditionalContent2/TestAAChartViewForXibVC.swift:30-39 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:404-411 \u2014 there are 12 copies across 10 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 12 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:155\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, \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:485\u0060 calls \u0060backgroundColor\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent2/TestAAChartViewForXibVC.swift:28\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5320b70a60a410745857931a79ceb2895ff3458119a8dc9d612948820eedf820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:197-208 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:366-377 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:597-609 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:739-751 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:951-963 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:197\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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"07eba5cefb97f2ca7fe45a1c2ded1ad2d667de47f3f97337fe596f1161889864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 5): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:213-222 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:382-391 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:606-617 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:748-759 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:960-971 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce0bc4a0377ddcfcb2eea1178a3748c8b5783fe6e0fd2a517007d33915a9e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201326 lines \u00D7 4): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:402-419 | AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:421-446 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2339-2356 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2358-2383 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 338 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 \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:421\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. 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":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b300b1ff6173637c5dbe4ae956f5380f4096df34a0496ae43a3dd4229efd9de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:108-119 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:179-190 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:573-584 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:738-749 \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 \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:108\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":"AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b8892be3f401c5f7fc7e363b3d2fa3011d7d7c45648a073913a5df3968f096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:52-62 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:100-111 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2424-2434 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5790ccae0085b7ee4948265f9dabc98f64032b1de12405510a541d495566fd2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:74-83 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:122-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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:74\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba86500e33dca2febed6d25af53f8b9c7b0fa43a49d9fca8f64e3d3f7c9f55c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:596-607 | AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:611-622 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:596\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, \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:609\u0060 calls \u0060color\u0060 and \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:594\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03e2a48e07128fe9d44c9a30626a5e8db9caeeac6bea91e69b9f8ec22df5b77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/BubbleLegendChartOptionsComposer.swift:220-231 | AAInfographicsDemo/Demo/AAOptions/BubbleLegendChartOptionsComposer.swift:246-257 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAOptions/BubbleLegendChartOptionsComposer.swift:220\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":"AAInfographicsDemo/Demo/AAOptions/BubbleLegendChartOptionsComposer.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3eb45f9017ff0c31e5ce468f1f413a464675e4ed97045edfbd1ebb412ccea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer7.swift:47-57 | AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer7.swift:191-202 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer7.swift:47\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":"AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer7.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bbebbd00970c6c2125519e3f7ca0bfdb9dc02c5680aa412f8727c4622efeff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift:118-129 | AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift:114-125 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift\u0060 and \u0060AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift:118\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":"AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c771896fed24562dcd3ac3489ca10ccd4bd0a64ed2fa13a5c2429a79713eb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 6): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:50-59 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:63-73 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:98-107 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:126-136 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2422-2431 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2435-2445 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:50\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac5aa72ede6dc210ed12398b20fcae2e9e2bd03df1b025280e01ed062e8a559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:288-299 | AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:309-319 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2225-2236 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2246-2256 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 338 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 \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:288\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":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"09617d6d491bfce2bdc576027d6c2520e512881e379e4baf8b830f766012e94e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 4): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:342-352 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:367-375 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:455-465 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:484-492 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:342\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e116a5f60fd53bc8f51c85926bc57538899e9ac5d09c096a3f8ddb19659e28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift:127-137 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipClickEventCallbackVC.swift:250-260 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipEventCallbackVC.swift:108-118 | AAInfographicsDemo/Demo/BackUpContent/CustomXAxisLabelsClickEventCallbackVC.swift:179-189 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipClickEventCallbackVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift:127\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":"AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"452c4a3bf39bac947376a47fde3e90969fd47b3e17af106017c5fa2483012242"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:732-741 | AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer3.swift:510-520 | AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift:61-70 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:732\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"33920f6632208c21365b5651ac00c643b69fb7b06ecafef12ea4ea1538a92038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:264-280 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3382-3398 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:264\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"9069e5e9f479343240491f4c4277f07d4096e6b514f9e8e0ba15f128dd7e37d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartView.swift:205-211 | AAInfographicsDemo/Demo/AAChartModel/ViewController/BasicChartVC.swift:132-142 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartView.swift:205\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 after the matched lines, \u0060AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartView.swift:211\u0060 calls \u0060configureLineChartAndSplineChartStyle\u0060, \u0060AAChartModel\u0060 and \u0060AAInfographicsDemo/Demo/AAChartModel/ViewController/BasicChartVC.swift:142\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":"AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartView.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ea4411758bacfa672972166cc330fd82f4ded033a2669c891df121c223e149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): AAInfographicsDemo/Demo/AAGallery/Provider/ChartSampleProvider.swift:277-287 | AAInfographicsDemo/Demo/AAGallery/Provider/OfficalSamplesChartProvider.swift:42-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 both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAGallery/Provider/ChartSampleProvider.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99dceb65974291ca41469ed1e118be43f6385fb7919ec87428d649ca7109483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:302-332 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2239-2269 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 338 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 \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:302\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"56456ed3f0e7430aed97476cab932f57f73e6777777cd755c928107da5a256fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/LineChartOptionsVC.swift:296-306 | AAInfographicsDemo/Demo/AAOptions/LineChartOptionsVC.swift:322-332 \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 \u0060AAInfographicsDemo/Demo/AAOptions/LineChartOptionsVC.swift:296\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":"AAInfographicsDemo/Demo/AAOptions/LineChartOptionsVC.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"353e8d938e028432d30b0af2f51f574e052dfa5269065abe9821fad1ae2fd26b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:582-592 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:936-946 \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 \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:582\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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee0778a56166f019fd51554a09bc59914d4b5ca21bd74e0e81e8f6febefdae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/MultiYAxesChartOptionsVC.swift:306-316 | AAInfographicsDemo/Demo/AAOptions/ScatterChartOptionsVC.swift:345-355 \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 \u0060AAInfographicsDemo/Demo/AAOptions/MultiYAxesChartOptionsVC.swift:306\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":"AAInfographicsDemo/Demo/AAOptions/MultiYAxesChartOptionsVC.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b7125583d15ca8050d86a74acfe058dfd2bae2aefb6e07049acc8514fdc837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:195-205 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:271-281 \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 \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:195\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":"AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7452ad67f07067809f67d1e5d42c80902424e4956c0cd60246b9457b40a606d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift:38-47 | AAInfographicsDemo/Demo/AdditionalContent1/CustomLargeDateSeriesClickEventCallbackVC.swift:43-52 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipClickEventCallbackVC.swift:36-45 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipEventCallbackVC.swift:38-47 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTouchEndEventCallbackVC.swift:40-49 | AAInfographicsDemo/Demo/AdditionalContent1/TripleChartsLinkedWorkVC2.swift:36-45 | AAInfographicsDemo/Demo/BackUpContent/CustomXAxisLabelsClickEventCallbackVC.swift:38-47 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipClickEventCallbackVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5299a4b64bc7072bd12132a1fc29f47a934f8bc6bcc0b6c96372d2811b9d18fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:860-869 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1608-1617 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3230-3239 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:1096-1105 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:860\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"c821b47465afbb625f884569cb59e4b3bd126d910be4168a3c499aa6fef0c8ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:43-52 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:84-93 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:17-26 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:177-186 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:43\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9390a8f2f4df7a3b2b3c1fb5e0249e1f5e6b38db58ca830e3c82230aa81dbfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:929-938 | AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:948-957 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:217-226 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:929\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, \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:216\u0060 calls \u0060dataLabelsEnabled\u0060 and \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:928\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"508443fc4b2c2c5faf65a76eba92c05c35e9f2e07501bb1be05f1cbb78443df4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartListVC/AdvancedFeaturesListVC.swift:335-344 | AAInfographicsDemo/Demo/AAChartListVC/AdvancedFeaturesListVC.swift:379-388 \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":"AAInfographicsDemo/Demo/AAChartListVC/AdvancedFeaturesListVC.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d39f47d4522cf703c909bc3bc139d6db51fe0f1396e0a51885aca4301efd85d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:248-260 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:271-283 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:248\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, \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:284\u0060 calls \u0060pointPadding\u0060 and \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:261\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"9619d8f1b453b07c337ab435b5c2a0ecb627ad42cb6007eaabf6c0ebe022667b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201310 lines \u00D7 8): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:304-313 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:126-127 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:129-131 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:133-135 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:43-44 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:46-48 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:50-52 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTouchEndEventCallbackVC.swift:63-72 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:304\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, \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:125\u0060 calls \u0060data\u0060, \u0060AASeriesElement\u0060 and \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:304\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71a6502e82f91f0983c69fc5e841c0562ad6bf799ff4f4844ba17c88c542331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:496-505 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAOptionsVC.swift:144-153 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:496\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb1bb238058d1266a7d550abf18ec72c2674a31476ad6b8f7711cd7784bcb42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:87-96 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:110-119 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift:87\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForPieChartComposer.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6515224cb9fa4bea67290caab77037f4c0f5668ef9343ab40c8b06680b05046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1363-1372 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1378-1387 \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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1363\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58819ebe7136d77770e29f68b58c4e15499eed72d57885be1e64182904e3a58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1789-1798 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:121-130 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1789\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b6311cf06a012feff87eecd72d785c94c6dca063621edf6c1ab459539feb6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1827-1836 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:159-168 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1827\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"171cdead0923ac41e8b19278b9c33568ea9dd147381b8435a17eb2edc1de8c24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1865-1874 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:197-206 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1865\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec0b4c14d6a9d3d07845591c8ac096cf785da08266c2733893b63d6da3d6415"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3290-3299 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:283-292 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 39 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:3290\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":3290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b410e87023321565a4d2f739f65285017602fe0785fd90287576fedb038aece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:979-988 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:498-507 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:979\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"02431ba266b7b773b29cbc28cc1ce455710b8db0ca7e0ff6dcd358e4ccac92fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift:348-357 | AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift:370-379 \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 \u0060AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift:348\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":"AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e935459436a83d7dd8989910e92a6cf5cb55f2c448b72f0077d4966102927b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:960-969 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:970-979 \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":"AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"1818e2538063d30052f0a531279029a6d51cab7a55e46aa9bb9e7031a9844d5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:92-100 | AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:102-110 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1179-1187 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2029-2037 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2039-2047 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2515-2523 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2525-2533 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 338 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. 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":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d141cba79b88d8e90cbcb7fe675e7a8695454336178f657bab4b645dd610c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20139 lines \u00D7 6): AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartView.swift:57-65 | AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartView.swift:75-83 | AAInfographicsDemo/Demo/AAChartModel/ViewController/BasicChartVC.swift:305-313 | AAInfographicsDemo/Demo/AAChartModel/ViewController/BasicChartVC.swift:324-332 | AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift:358-358 | AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift:380-380 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartView.swift:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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":"AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartView.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8061b0b4b985ff84aa2184b0e393dd59731aa5ee362202f66c8123e947c5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:297-305 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTouchEndEventCallbackVC.swift:57-64 | AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift:52-59 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:297\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecedb936a26b33886ef2c40415ef29bac46c387b7cf56409efca2ec76d3ce72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20139 lines \u00D7 6): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:294-296 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:298-306 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:308-316 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:318-326 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:134-136 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:138-141 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:298\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1486bbe3a6f4fd5a5357ce94869f9b5da014de70f69df0fbf540d806b3b85dfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartListVC/AdvancedFeaturesListVC.swift:350-358 | AAInfographicsDemo/Demo/AAChartListVC/AdvancedFeaturesListVC.swift:361-369 \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":"AAInfographicsDemo/Demo/AAChartListVC/AdvancedFeaturesListVC.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ee161cfeb10321adff2b66d9542ce4862c167bcb82cdc6bacd74f6e006c020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:93-101 | AAInfographicsDemo/Demo/AAChartModel/Composer/SpecialChartComposer.swift:101-109 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:93\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2cd848a85fc8f937449ec1c82207abd6b43ac93ebdeec57c943e87ceeb10f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer2.swift:676-684 | AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer2.swift:719-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer2.swift"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1271725ec8a4ef273b746d63ce3fbe1d5fc1295eb0b6c70a7dea4906af5e485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer2.swift:695-703 | AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer2.swift:741-749 \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":"AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer2.swift"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"f971ec24251ea4051040d683c55e2066b70ec4c19d4a02d5343e21a7af61dd56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:313-321 | AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:324-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift:313\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":"AAInfographicsDemo/Demo/AAOptions/MixedTypesChartOptionsComposer.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee2af362975fc9a91c686e7cc21ac0154de6237c9b790da5f673b36c542a753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:214-224 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:247-255 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:214\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69ad10af1295c16f6cf39a8b5b4bcb40915cacd5893c423ab94f112ab431922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:276-284 | AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift:85-93 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:276\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5647191e9188b2113fadb3eb6ccd82e3544bad615a10f6bf68a48dd67f6ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift:245-253 | AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift:302-310 \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 \u0060AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift:245\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"258438ffff3695598c6bafe1f6dcb6cfaf4b5b0dc807e5c220a456e39f790f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift:120-128 | AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift:132-140 \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 \u0060AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift:120\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":"AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6682a5903199578ae8633d0f7a39f1abc45ffe1b52d6738f95ac9798178936b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:349-357 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:358-366 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:367-375 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:376-384 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"726d1895283cd1b82be439afcc77f9b2af7e7ced1e1630a9ab26a963d6a4c75a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:971-980 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:195-204 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:323-332 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:436-445 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31e2ec63fc5bbd5f7b0915952a155c428ba2b267977bba4215e04e4b43c292f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:166-172 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:534-541 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:723-729 \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 \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.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. 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":"AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b532e3d3989210e685ee16dd12f910f5f157870103f8c44ab16b84327a5b5f36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1145-1152 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1154-1161 \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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1145\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7a6ff9bbcaaa1a65da720190efaf3f46ddeccdd7c07b9894d7c81837a6a7fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/MultiYAxesChartOptionsVC.swift:337-344 | AAInfographicsDemo/Demo/AAOptions/MultiYAxesChartOptionsVC.swift:348-355 \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 \u0060AAInfographicsDemo/Demo/AAOptions/MultiYAxesChartOptionsVC.swift:337\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":"AAInfographicsDemo/Demo/AAOptions/MultiYAxesChartOptionsVC.swift"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec330e15ca0b4ad82dd37622d3201a0b5705517020149b28283a92941a3f5c65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/XAxisYAxisTypeOptionsComposer.swift:180-187 | AAInfographicsDemo/Demo/AAOptions/XAxisYAxisTypeOptionsComposer.swift:198-205 \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":"AAInfographicsDemo/Demo/AAOptions/XAxisYAxisTypeOptionsComposer.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb3d5535f7948cdf55816d1d970fbd6a144190237b5c88ba02ed5b500b51a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer6.swift:20-32 | AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer7.swift:34-41 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer6.swift:20\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":"AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer6.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"286929064dc27a9af17d07b380ee136d441402a97937e368091a226eb1ecf1b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift:179-186 | AAInfographicsDemo/Demo/AdditionalContent1/ScrollableChartVC.swift:86-93 \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 \u0060AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift:179\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, \u0060AAInfographicsDemo/Demo/AdditionalContent1/ScrollableChartVC.swift:95\u0060 calls \u0060step\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift:187\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":"AAInfographicsDemo/Demo/AdditionalContent1/OnlyRefreshChartDataVC.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b203dd081883da8e54914ab2883b7410449a259deda02239a2a624514b4175c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): AAInfographicsDemo/Demo/AdditionalContent2/AppleSwiftChartBuilder.swift:383-390 | AAInfographicsDemo/Demo/AdditionalContent2/AppleSwiftChartBuilder.swift:455-461 \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 \u0060AAInfographicsDemo/Demo/AdditionalContent2/AppleSwiftChartBuilder.swift:383\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":"AAInfographicsDemo/Demo/AdditionalContent2/AppleSwiftChartBuilder.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c84ef4c0cb977385fe72d9a9a0c3eb35d49c5e3a8611f366528660a9745880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:972-978 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1073-1079 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:196-202 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:324-330 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:437-443 \u2014 there are 5 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 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:972\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dae4ee868a3a7d204bfce633357de432054c7a0d566be572741bbf85130867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1473-1479 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:46-52 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAAxisVC.swift:87-93 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:20-26 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:180-186 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 39 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1473\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23edd2a3825077c5bf3214aa7b3d3d37ab99adc8f758216c920c5fb2c20a406"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 5): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC2.swift:376-382 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:116-121 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:163-168 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:255-261 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:298-304 \u2014 there are 5 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 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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC2.swift:376\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC2.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd71ac77573ec1c6e1175eb69b096128c89e42ac822a0726b9a0470471afee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC2.swift:377-383 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:126-132 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:173-179 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:256-262 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:299-305 \u2014 there are 5 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 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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC2.swift:377\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC2.swift"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95458262989002a1e4aabfa08a829b9c7b3a743031322a690fa89608cb7d966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1905-1912 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1967-1974 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:237-244 | AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift:299-306 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/PolarChartOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1905\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6d228f763d3ed0b74e9bbc2c7bd4640f62fd99fb3a119410fc8dd4428eac5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:443-449 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:531-537 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:636-642 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:720-726 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:644\u0060 calls \u0060allowDecimals\u0060 and \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:539\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":"AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe422511372b23708d8dafe886771fc0ddbc1420734fccc18adb40e05993569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:499-505 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:229-235 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAOptionsVC.swift:147-153 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:499\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, \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:228\u0060 calls \u0060markerRadius\u0060 and \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:498\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"532146c0a2afb688f4a6782aed5d450de6b49ac0eee1539357f8275218ce2482"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:279-285 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:287-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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:279\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c4468c194ff2774671580bec741c28abdc8c2efbc7fb9cf91f0ce0baf6b50b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:285-291 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:339-345 \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, \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:347\u0060 calls \u0060dataLabelsEnabled\u0060 and \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:293\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61335f49ee36b2926fcebc89821459dbd19eff8fcf800e79b3a4c5923b7977f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20137 lines \u00D7 21): AAInfographicsDemo/Demo/AAChartModel/Composer/BasicChartComposer.swift:101-101 | AAInfographicsDemo/Demo/AAChartModel/Composer/BasicChartComposer.swift:105-105 | AAInfographicsDemo/Demo/AAChartModel/Composer/BasicChartComposer.swift:109-109 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:138-141 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForScatterChartComposer.swift:19-21 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForScatterChartComposer.swift:25-26 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForScatterChartComposer.swift:30-31 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForScatterChartComposer.swift:35-36 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:118-124 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:126-127 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:130-131 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:134-135 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:35-41 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:43-44 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:47-48 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:51-52 | AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift:103-106 | AAInfographicsDemo/Demo/AdditionalContent2/HideOrShowChartSeriesVC.swift:110-112 | AAInfographicsDemo/Demo/AdditionalContent2/HideOrShowChartSeriesVC.swift:116-117 | AAInfographicsDemo/Demo/AdditionalContent2/HideOrShowChartSeriesVC.swift:121-122 | AAInfographicsDemo/Demo/AdditionalContent2/HideOrShowChartSeriesVC.swift:126-127 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/BasicChartComposer.swift:101\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, \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/BasicChartComposer.swift:97\u0060 calls \u0060fillColor\u0060 and \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/BasicChartComposer.swift:101\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/BasicChartComposer.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f2531d8fae1b13db3f798c0dbe8ea9db23a4cf6da0acb588dc3ebd25fcdc84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/XAxisYAxisTypeOptionsComposer.swift:169-175 | AAInfographicsDemo/Demo/AAOptions/XAxisYAxisTypeOptionsComposer.swift:183-189 \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":"AAInfographicsDemo/Demo/AAOptions/XAxisYAxisTypeOptionsComposer.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb9ac2432bd90c0db1d866198d3f8bf4006648917ca72001d2f6170057ec10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:646-652 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:743-749 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:646\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab5031bbe845737a52bc4f21b4990e57a22a64d3910fb8ff55e8f5d7e5d6285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift:57-65 | AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift:55-63 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift\u0060 and \u0060AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift:57\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":"AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"260c05805c503cefb1bd3e7f0aa947856d24678f4a604acb41f6b50cb7b89b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:296-303 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:306-313 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:316-323 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:326-333 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:296\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b38f71390bd683e6b7ae9c3aa254eefb2a2e59eeed3ef362ac2ca76fb90bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1474-1479 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2473-2480 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:21-26 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:181-186 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 39 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1474\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41c3a74adeedd160ecc65123b65dfc0d992c8cd30ffac0aaea86b79b4038707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:200-205 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:241-246 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:276-281 \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 \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:200\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":"AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbc2bdc058d63f5077f8f633358da80caacb2f72edb314b545ebd58cd051d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:347-352 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1078-1083 \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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:347\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"540d92f969e311708d6112d86b5d9968fca8c6f071fc49649ab0ce0f374bc10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:143-148 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:206-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:143\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f0dfed12439c8458378ca0a2105bc715610226e722e8600b32f8b8bc96413a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:549-554 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:556-561 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:563-566 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:549\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba1051e7302bdf73ed0caf568befb5b8b217ebbbb5cd9cefb272939ecd4d98d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:204-210 | AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:168-174 | AAInfographicsDemo/Demo/AAChartModel/ViewController/CustomStyleChartVC.swift:286-290 | AAInfographicsDemo/Demo/AdditionalContent2/HideOrShowChartSeriesVC.swift:102-106 | AAInfographicsDemo/Demo/AdditionalContent2/ShowManyChartViewVC.swift:95-99 | AAInfographicsDemo/Demo/AdditionalContent2/ShowManyChartViewVC.swift:136-140 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:413-417 \u2014 there are 7 copies across 6 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift:204\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForColumnChartComposer.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faadb4012271ca53895eb20be71b138f975cf13a0ba9a4cbddbd1cd1bc781c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1475-1479 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:2474-2480 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:22-26 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:664-668 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer2.swift:751-755 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:182-186 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 39 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1475\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ab788ee540df8a990737e957e99fcec78b60eea4369be722847a37d96f048c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:198-203 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:213-218 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:228-233 | AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:243-248 | AAInfographicsDemo/Demo/AAChartModel/Composer/MixedChartComposer.swift:785-789 \u2014 there are 5 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 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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift:198\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForAreaChartComposer.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c33fa8e442aed89a6ab3ac57e48e0418223e76bb0398d0c2d71f1441d2c56e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): AAInfographicsDemo/Demo/AAOptions/ColumnChartOptionsVC.swift:110-114 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:90-94 | AAInfographicsDemo/Demo/OfficialSamples/Composer/AreaChartOptionsComposer.swift:139-143 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:383-387 | AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:1074-1078 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AAOptions/ColumnChartOptionsVC.swift:110\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, \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:390\u0060 calls \u0060min\u0060 and \u0060AAInfographicsDemo/Demo/OfficialSamples/Composer/BarOrColumnChartOptionsComposer.swift:1081\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":"AAInfographicsDemo/Demo/AAOptions/ColumnChartOptionsVC.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaaa980037c5d8b3186cff1ea203b909e4d1755c09a338974c3ffcf887b6a842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1498-1503 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:45-51 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:142-147 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:205-210 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 39 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 \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1498\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, \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1497\u0060 calls \u0060fillOpacity\u0060 and \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:141\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":"AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1847f9d1ab61a6cd88d2f23454482510c657977b43f26aad7f431dfce3e127c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:263-267 | AAInfographicsDemo/Demo/AdditionalContent2/EvaluateJSStringFunctionVC.swift:74-78 | AAInfographicsDemo/Demo/AdditionalContent2/ShowManyChartViewVC.swift:122-129 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:263\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 after the matched lines, \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:270\u0060 calls \u0060enableMouseTracking\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent2/ShowManyChartViewVC.swift:132\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"0818d305514b2caca782513f253283809709849f23805ee424b393b76f59f9a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:47-51 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:346-350 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:1984-1988 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 338 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:342\u0060 calls \u0060style\u0060, \u0060AAStyle\u0060, \u0060color\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift:45\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":"AAInfographicsDemo/Demo/AAOptions/AreaChartOptionsVC.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b366fbcd9919d7c896d84ddbcc662fb605171b0a9071f425f30b39fc87edac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:979-986 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAALegendVC.swift:158-162 | AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift:498-505 \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 \u0060AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift:979\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":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAAChartEventsComposer.swift"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57062f7be9118b7b94c4a06f396eaebc2cd2f6a3d439ec8f6316285601c00e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 3): AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:584-585 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:541-545 | AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:586-590 \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 \u0060AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift:584\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, \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:539\u0060 calls \u0060markerRadius\u0060 and \u0060AAInfographicsDemo/Demo/AAOptions/DrawChartWithAAOptionsVC.swift:584\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":"AAInfographicsDemo/Demo/AAChartModel/Composer/CustomStyleForLineChartComposer.swift"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"406e6c9b10e2f2ebd2e92e30bb96ef948cfb565ec1a5e2e3a657eb576390af56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): AAInfographicsDemo/Demo/AAPlugins/AARoundedCorners/AARoundedCornersChartComposer.swift:38-42 | AAInfographicsDemo/Demo/AAPlugins/AARoundedCorners/AARoundedCornersChartComposer.swift:44-48 \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 \u0060AAInfographicsDemo/Demo/AAPlugins/AARoundedCorners/AARoundedCornersChartComposer.swift:38\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":"AAInfographicsDemo/Demo/AAPlugins/AARoundedCorners/AARoundedCornersChartComposer.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8cec04c878f5444d496e5cde2d39e8598492e8b812744c47f3335c51c0e788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AAInfographicsDemo/Demo/AdditionalContent2/AppleSwiftChartBuilder.swift:381-386 | AAInfographicsDemo/Demo/AdditionalContent2/AppleSwiftChartBuilder.swift:424-429 \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 \u0060AAInfographicsDemo/Demo/AdditionalContent2/AppleSwiftChartBuilder.swift:381\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":"AAInfographicsDemo/Demo/AdditionalContent2/AppleSwiftChartBuilder.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c851da7034ce26637e5908a7df533bc34800d4355f2450b2e50ade6f936c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartSwiftUIVC.swift:21-45 | AAInfographicsDemo/Demo/AAChartModel/ViewController/BasicChartSwiftUIVC.swift:21-45 \u2014 \u0060AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartSwiftUIVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AAChartModel/ViewController/BasicChartSwiftUIVC.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 25 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAChartModel/SwiftUI/BasicChartSwiftUIVC.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2113fb8b49fff0876a6f8aa8ad49c7a93e8b2c4d9a974fced993b5a74b777cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift:26-36 | AAInfographicsDemo/Demo/AdditionalContent1/CustomLargeDateSeriesClickEventCallbackVC.swift:31-41 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipClickEventCallbackVC.swift:24-34 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipEventCallbackVC.swift:26-36 | AAInfographicsDemo/Demo/BackUpContent/CustomXAxisLabelsClickEventCallbackVC.swift:26-36 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipClickEventCallbackVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dd8199b1332f1cbf4d911547eb42051e8284dd69ffa6d654b831a40a21a2cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): AAInfographicsDemo/Demo/AdditionalContent1/CustomTouchEndEventCallbackVC.swift:27-37 | AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift:19-29 | AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift:18-28 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift\u0060 and \u0060AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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":"AAInfographicsDemo/Demo/AdditionalContent1/CustomTouchEndEventCallbackVC.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1216efd74b8b698a7a6e6b18be84c961cb51e84e8aa4b186410cdad90067a81c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift:139-144 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipClickEventCallbackVC.swift:262-267 | AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipEventCallbackVC.swift:120-125 | AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift:131-136 | AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift:127-132 | AAInfographicsDemo/Demo/BackUpContent/CustomXAxisLabelsClickEventCallbackVC.swift:191-196 \u2014 before extracting anything, compare \u0060AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift\u0060 and \u0060AAInfographicsDemo/Demo/AdditionalContent1/CustomTooltipClickEventCallbackVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift:139\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":"AAInfographicsDemo/Demo/AdditionalContent1/CustomChartZoomEventEventCallbackVC.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32a3717b79d60b9036aa22901af9f23889b37b0b5eb1b0ea2152964b72bbbe6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: AAInfographics: AAInfographics: abstractness 0.05, instability 0.00, distance 0.95 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a97cfa9bb668c67a61efa384c28c691bed84cb4cdcff92692e5c4283ac0f4a52"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAAxis (LCOM4 51): AAAxis\u0027s methods fall into 51 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 51 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":"AAInfographics/AAOptionsModel/AAAxis.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e4607543ba6266902d134493b7bbf8def163ac9a1616750549cf80b635b2cd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAChartModel (LCOM4 48): AAChartModel\u0027s methods fall into 48 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 48 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":"AAInfographics/AAChartCreator/AAChartOptions/AAChartModel.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"beabcbf7806fdfe2115320daaf5621b5059d75b136ea9ca9c27ea3646d183037"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AASeriesElement (LCOM4 45): AASeriesElement\u0027s methods fall into 45 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 45 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":"AAInfographics/AAChartCreator/AAChartOptions/AASeriesElement.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9791cbf8bbe0ae29630b619fc863c880189163b2716086cb9f1b02b638ead01"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AADataLabels (LCOM4 30): AADataLabels\u0027s methods fall into 30 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 30 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":"AAInfographics/AAOptionsModel/AADataLabels.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9af73de6723992d8fa5a1c39997b5d0141a54238884b31cba181f4b169fbec"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAChart (LCOM4 26): AAChart\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":"AAInfographics/AAOptionsModel/AAChart.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d0a9c8a24b3222652334913b3e474c94bd26ffc16d89bb5d2a5cde5691104d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AASeries (LCOM4 26): AASeries\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":"AAInfographics/AAOptionsModel/AASeries.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"808007eafb8047481d6803b780a072f5ae91e0c10be3f6acd1fcdf3dff2b296f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AATooltip (LCOM4 26): AATooltip\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":"AAInfographics/AAOptionsModel/AATooltip.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8767a0cb93954daafe929c839fe158d7e89265e3941d5821c88c2031c76c8f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAStyle (LCOM4 23): AAStyle\u0027s methods fall into 23 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 23 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":"AAInfographics/AAOptionsModel/AAStyle.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b68dd3b90b79e01be0e15143de2ae2e7d39de337addaef68a5dde19d7b61dc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AALegend (LCOM4 22): AALegend\u0027s methods fall into 22 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 22 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":"AAInfographics/AAOptionsModel/AALegend.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b16dc9cf02039289e4320a09645631ed42a97cd3dd692f2c1cfb59db3f0f7d0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AABubbleLegend (LCOM4 18): AABubbleLegend\u0027s methods fall into 18 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 18 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":"AAInfographics/AAOptionsModel/AABubbleLegend.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefcb0c8570a2b9ef5ba6e3be1099d750ee3a00660828ca0c2f557ec27935ab6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAOptions (LCOM4 18): AAOptions\u0027s methods fall into 18 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 18 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":"AAInfographics/AAChartCreator/AAChartOptions/AAOptions.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e503445f80f53afad0fb91e53a8956bdb23b811004b4f02be1e309ef22f293"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AABoxplot (LCOM4 17): AABoxplot\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":"AAInfographics/AAOptionsModel/AABoxplot.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5594c1806b9b90a91d32c6a07b889dbb016a964e3e5ddd7ff7f56d6e4b53e45"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AALabels (LCOM4 15): AALabels\u0027s methods fall into 15 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 15 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":"AAInfographics/AAOptionsModel/AALabels.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"787393b7c024f0b6a3474d8ff03c99b27cbb8896d30cb4deb88860797fbb4e95"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAPlotOptions (LCOM4 14): AAPlotOptions\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographics/AAOptionsModel/AAPlotOptions.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf69529a4bbf79410f71635d2c29aef3a090d44c81687ac88096884d6aa72b1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAPie (LCOM4 12): AAPie\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":"AAInfographics/AAOptionsModel/AAPie.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0026063dab92199b484f7c423dc9566d00f2c8b9c9a0fe63427246b037e90239"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAColumn (LCOM4 11): AAColumn\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":"AAInfographics/AAOptionsModel/AAColumn.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e78dd30508680e6932b6bdd3b6d71042a15855625c8b3ac6220dc09cb4e67d6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AALabel (LCOM4 11): AALabel\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":"AAInfographics/AAOptionsModel/AALabel.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"359c1ced592f8e4d83aa78623460f943c467a2dc6d24d415c7e807542ff0faa3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAAxisTitle (LCOM4 10): AAAxisTitle\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":"AAInfographics/AAOptionsModel/AAAxisTitle.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9010d604c58ad689dbcaf94098ed139fef4926ca96f0572b243cb104e971882b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAPlotBandsElement (LCOM4 10): AAPlotBandsElement\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":"AAInfographics/AAOptionsModel/AAPlotBandsElement.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5e9500049e682eb61eafd3802878dc83f84ec170b5eba4faa24b49670658bb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAScatter (LCOM4 10): AAScatter\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":"AAInfographics/AAOptionsModel/AAScatter.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5277444b4151ef21bfc110d87fc1211be0d86f7a6fd7b75b3f87b2f630cbf874"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AADateTimeLabelFormats (LCOM4 8): AADateTimeLabelFormats\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":"AAInfographics/AAOptionsModel/AAAxis.swift"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47d050041208878ef9adeffcc59fca4f6c0573fe64cda74eb75faf0f47a83be"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAButtonTheme (LCOM4 8): AAButtonTheme\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":"AAInfographics/AAOptionsModel/AAButtonTheme.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30f73655b41533aff4e7733b6ddab8a23821a2ceef315ba9980566f20304a35"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAColumnrange (LCOM4 8): AAColumnrange\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":"AAInfographics/AAOptionsModel/AAColumn.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4012de9dd3ddb2911e5fc90a9f0c1c8408edec218349c12557b38203f20ef27"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAPointEvents (LCOM4 8): AAPointEvents\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":"AAInfographics/AAOptionsModel/AASeries.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1db4269a1537a1dba9b684b198bc159abed9c9385e5b9ace9fb40496995091"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AATitle (LCOM4 8): AATitle\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":"AAInfographics/AAOptionsModel/AATitle.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae6cbe105263062ab10482706cdbc0bd1a33233ae052e997e415331c91c3ab8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAMarker (LCOM4 7): AAMarker\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":"AAInfographics/AAOptionsModel/AAMarker.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed1f0e1023c9b9d18d000d4714b1053ce852626001255b7f5b1b5dc3fc89681"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAMarkerHover (LCOM4 7): AAMarkerHover\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":"AAInfographics/AAOptionsModel/AAMarker.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"49829b384554522e89d9dd86a92785ad6269720b1bac7dd7f362cb0617ce8353"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAPackedbubble (LCOM4 7): AAPackedbubble\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":"AAInfographics/AAOptionsModel/AAPackedbubble.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fd2d66d9cfcbc0abe73370a36c954457ee3a01e949a6b9986e1d1bca627c9e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AABackgroundElement (LCOM4 7): AABackgroundElement\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":"AAInfographics/AAOptionsModel/AAPane.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba49fd166e69ff10324e800d5c4613e4ca817f650c6837aaaa7dddbdf99bb37f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAHover (LCOM4 7): AAHover\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":"AAInfographics/AAOptionsModel/AAStates.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea16536c1ac3dae47537fded51a9ba2ab73d2bcddd8d95398d57f9b5ff29f723"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AASubtitle (LCOM4 7): AASubtitle\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":"AAInfographics/AAOptionsModel/AASubtitle.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2cba1b859570c6947eb57d577a065aa762559768cf165d3c38ca8cdc50f6e1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AADataElement (LCOM4 7): AADataElement\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":"AAInfographics/AAChartCreator/AAChartOptions/AASeriesElement.swift"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5073ec9c783c6aa6f5eb93b79cf5fc4627c9ac38c2eb51fbe8b1b9593fdbca"}},{"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":"AAInfographicsDemo/AppDelegate.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe5be89b164ceba4a862b958eb24e7595e5209a05591ea99619a1abc6702437"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAAxisEvents (LCOM4 6): AAAxisEvents\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":"AAInfographics/AAOptionsModel/AAAxis.swift"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5fc40dbaaa068cba7f660166e8eda6aa015be654af4c99bebcc32f9975310c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAZooming (LCOM4 6): AAZooming\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":"AAInfographics/AAOptionsModel/AAChart.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"d756ed9d44090939e05e9421d2a98383f220945beb79ecdff7a6a4db9d701aff"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AALayoutAlgorithm (LCOM4 6): AALayoutAlgorithm\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":"AAInfographics/AAOptionsModel/AALayoutAlgorithm.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b2950590c37505784a9e31f910c37a62715d3922e7ef5f0dd3c722ac9d9af6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAPane (LCOM4 6): AAPane\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":"AAInfographics/AAOptionsModel/AAPane.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"858b0b4733e1d4c850545d606ae56f739df87c4b106159d3424a6ac5197b74e4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAPlotLinesElement (LCOM4 6): AAPlotLinesElement\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":"AAInfographics/AAOptionsModel/AAPlotLinesElement.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"687aa0e31a8190fb90fb116ff6d4d3f08ba29617f728460c449ea7569f12a445"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AABubble (LCOM4 6): AABubble\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":"AAInfographics/AAOptionsModel/AAScatter.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1984e879c23a2c6ef23ac5b9e79bd791ad936852961e01c6ad6c9bc47c503851"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BasicChartVC (LCOM4 6): BasicChartVC\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":"AAInfographicsDemo/Demo/AAChartModel/ViewController/BasicChartVC.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d3dfd86464e8ef35942b09af6f86b741de30702542ba99113f69b37c4dd451"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAChartEvents (LCOM4 5): AAChartEvents\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":"AAInfographics/AAOptionsModel/AAChart.swift"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a361104c0916da20e1846f0989d684c97557a0a04e77c23d046c771fe62d765"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AACredits (LCOM4 5): AACredits\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":"AAInfographics/AAOptionsModel/AACredits.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f03bfd129d2724bba44925dd5147f7bbaaaf83cc89e0a94cc7091430d49f144"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AALang (LCOM4 5): AALang\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":"AAInfographics/AAOptionsModel/AALang.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feeedeaeff20d456c159795213335a1e055f922e1a690382c8d7b20bc26fd70"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAItemStyle (LCOM4 5): AAItemStyle\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":"AAInfographics/AAOptionsModel/AALegend.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe9c511e648d35a444cd64427a0fd0d3dc8173d2e2d2fa5a1bf3ced40b62d73"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAMarkerSelect (LCOM4 5): AAMarkerSelect\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":"AAInfographics/AAOptionsModel/AAMarker.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e35953acc2e73e53d9c4508897e3183810774c5a9555701dc188215332f459b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAArea (LCOM4 5): AAArea\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":"AAInfographics/AAOptionsModel/AAPlotOptions.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"214e56f19d41de47abc024f2f3628ec811096f47db685e4a4855af760ffa78d0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAScrollablePlotArea (LCOM4 5): AAScrollablePlotArea\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":"AAInfographics/AAOptionsModel/AAScrollablePlotArea.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc65eef6cceccef710920cd7425291d6fea372bc7c8c4cc85169bbbca1943d54"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAShadow (LCOM4 5): AAShadow\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":"AAInfographics/AAChartCreator/AAChartOptions/AASeriesElement.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f53c0cb16d7839e3f4f0de6083402671afba0c1aa90aa8753089d4125c948b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AARangesElement (LCOM4 4): AARangesElement\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":"AAInfographics/AAOptionsModel/AABubbleLegend.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c218e7edf572cbc96a337262df0f4f7bd91e15568ebf369887a71e3a138b776"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAPosition (LCOM4 4): AAPosition\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":"AAInfographics/AAOptionsModel/AACredits.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a5a939551696b3b12387eaa6d9a72cad018fcb93e2fde98292ecca33cd76c3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AACrosshair (LCOM4 4): AACrosshair\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":"AAInfographics/AAOptionsModel/AACrosshair.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"136b035f9576a2aad51190a87aa6f84531579349a5752f92f6e44ac7baf3a55c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AASeriesEvents (LCOM4 4): AASeriesEvents\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":"AAInfographics/AAOptionsModel/AASeries.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c65117cc79b856456cea42459dc17f69c10cf5934234b7613e0381091df0b3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AASelect (LCOM4 4): AASelect\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":"AAInfographics/AAOptionsModel/AAStates.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cac16db7e3887ddd4f1739580a5ff0f18b12880c69f70cb429943d478b35713"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AASVGAttributes (LCOM4 4): AASVGAttributes\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":"AAInfographics/AAOptionsModel/AAStates.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c719be15f3faafc4c8af920321f80cda66134e231cefce810ffaf86884a54127"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AALinearGradient (LCOM4 4): AALinearGradient\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":"AAInfographics/AATool/AAGradientColor.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f463cbca77a7e6d03349d01e168a9e3adc4341bb222cf41f78d56040c21d6c4b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAZonesElement (LCOM4 4): AAZonesElement\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":"AAInfographics/AAChartCreator/AAChartOptions/AASeriesElement.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f365236f254a0df4741671f6dc11bde64d593a5fbd32a0e111735ccd98ac8806"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AAChartView (LCOM4 4): AAChartView\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":"AAInfographics/AAChartCreator/AAChartView/AAChartView.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbef922f2d7690bb1eda5c92f7a66bc16959be55ed49befa90c992316c34b4e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AABaseChartVC (LCOM4 4): AABaseChartVC\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":"AAInfographicsDemo/Demo/AdditionalContent2/AABaseChartVC.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b257a9d99c2cd5a5dddf8aed6e91f5cd36ff906c00431f83a8100f58825d54"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppleSwiftChartBuilder (LCOM4 4): AppleSwiftChartBuilder\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":"AAInfographicsDemo/Demo/AdditionalContent2/AppleSwiftChartBuilder.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47595a3d53b84c0a2dd5cb34efb1369657e0b5afc3becaf180ac4a3d5bcdfba"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CustomMouseOutEventCallback (LCOM4 4): CustomMouseOutEventCallback\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":"AAInfographicsDemo/Demo/BackUpContent/CustomMouseOutEventCallback.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68a6ea3688882388853047c0c1b76fd67b2ae276e7117efaa56fc39a63d889f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CustomSelectionEventCallback (LCOM4 4): CustomSelectionEventCallback\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":"AAInfographicsDemo/Demo/BackUpContent/CustomSelectionEventCallback.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1733ca70c795cbbf4bfa6e2f884e09f8fe92360a60ce4abca48860584fb3a5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AARoundedCornersSeriesElement (LCOM4 4): AARoundedCornersSeriesElement\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":"AAInfographicsDemo/Demo/AAPlugins/AARoundedCorners/AARoundedCornersSeriesElement.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7616b9d7bf5ab4a693252b793fa7b9088ca0de8e28dbe5c3306ec077862958c"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemoTests/AAInfographicsDemoTests.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b8671eeb2cf8532d56b7c25263432aa8981c7d96babe75395b95b7508a5c41"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPerformanceExample: 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":"AAInfographicsDemoTests/AAInfographicsDemoTests.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c83394859e0e00ea3fbb52445c97144c70e7ed4e5d78fe96140debc122eb464"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemoUITests/AAInfographicsDemoUITests.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70201d1f869f105290247f0c2825141acc4801f2a5c953cf651aae18afb1cee"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: AAInfographicsDemoTests: No conventional assertion call was detected in 2 of 2 tests in \u0060AAInfographicsDemoTests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemoTests/AAInfographicsDemoTests.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c472dec7160109fc0f283052ab7ba978d9b510c6df915fb6805bb3528b96ce41"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: AAInfographicsDemoUITests: No conventional assertion call was detected in 1 of 1 tests in \u0060AAInfographicsDemoUITests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemoUITests/AAInfographicsDemoUITests.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2402a674565e0f489d4370073333a708862df7ac759b65e8223b047317cf97c"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060customAreaChartTooltipStyleWithColorfulHtmlLabels\u0060 spells \u0060Html\u0060 where 18 names in the project spell it \u0060HTML\u0060: 18 of 20 names in project repository spell the token \u0060HTML\u0060 (18 of 20; unit: names in project repository containing \u0060HTML\u0060). Peers: AAAxisTitle.useHTML (AAInfographics/AAOptionsModel/AAAxisTitle.swift:27); AAAxisTitle.useHTML (AAInfographics/AAOptionsModel/AAAxisTitle.swift:73); AADataLabels.useHTML (AAInfographics/AAOptionsModel/AADataLabels.swift:61); AADataLabels.useHTML (AAInfographics/AAOptionsModel/AADataLabels.swift:127); AALabel.useHTML (AAInfographics/AAOptionsModel/AALabel.swift:43). Rename to \u0060customAreaChartTooltipStyleWithColorfulHTMLLabels\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptionsWithJS/JSFunctionForAATooltipVC.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60a3c5cd70afd5914458abd365968b0e9a668f384c1e3567bb9db075a0149c3"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getHtmlStringWithFileName\u0060 spells \u0060Html\u0060 where 18 names in the project spell it \u0060HTML\u0060: 18 of 20 names in project repository spell the token \u0060HTML\u0060 (18 of 20; unit: names in project repository containing \u0060HTML\u0060). Peers: AAAxisTitle.useHTML (AAInfographics/AAOptionsModel/AAAxisTitle.swift:27); AAAxisTitle.useHTML (AAInfographics/AAOptionsModel/AAAxisTitle.swift:73); AADataLabels.useHTML (AAInfographics/AAOptionsModel/AADataLabels.swift:61); AADataLabels.useHTML (AAInfographics/AAOptionsModel/AADataLabels.swift:127); AALabel.useHTML (AAInfographics/AAOptionsModel/AALabel.swift:43). Rename to \u0060getHTMLStringWithFileName\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer4.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece9c644361e08561e3cd8ce13c8bf5adb9f8578d7c2a0b4a67ba6f70b7f82df"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b38720db37cd540e3dc09fe3d5c0b3652d2f9d051cf0e85dbbd366b46c6f1a79"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8729817d98d42eae03b91ddb2679b32cedd1f45b88b226b12f6c9cdf01c36cd2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68c92b814135937264c4b144ed5eb2d6e7802a9394e14fc743be54947e6d1b90"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/swift.yml"},"region":{"startLine":6}}}],"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":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographics/AAJSFiles.bundle/AAHighcharts-More.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe50386048eec7e8c9c13669d96bb7da8775d37b372b932e1754ce7e5b764d95"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060toJSON\u0060 turns every thrown error into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AAInfographicsDemo/Demo/AAOptionsWithJS2/JSFunctionBeforeAndAfterRenderingComposer4.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"be28be859a6e7b0b350b887b1d7f70e0f5b1e8c5ea6f076c4ef4caacc0482769"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":4,"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."]}]}