{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"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":"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"MintscanHistory.getMsgType (cyclomatic 286): MintscanHistory.getMsgType has cyclomatic complexity 286 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: Cosmostation/Model/MintscanHistory.swift holds 3 of the 67 methods over the threshold \u2014 including the worst \u2014 and 325 of the 1030 points over it (32%), 2.4\u00D7 the next-largest file (Cosmostation/Controller/Sheet/BaseSheet.swift at 135). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"446d1c47ae11f82cd39afd092a68f8c89cf4d561772ce1fd500c9fb4e3ebc686"}},{"ruleId":"D1","level":"warning","message":{"text":"DappDetailVC.userContentController (cyclomatic 127): DappDetailVC.userContentController has cyclomatic complexity 127 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"248402fe4bad858f2515ea599ac694951391325189ae9f98c76794b53bc05482"}},{"ruleId":"D1","level":"warning","message":{"text":"CosmosCryptoVC.onSortAssets (cyclomatic 81): CosmosCryptoVC.onSortAssets has cyclomatic complexity 81 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"babddb474f5bfde1d546a566f759ac164d86b44b68d3360b6cffa7b467487e4b"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectAddressListSheet.viewDidLoad (cyclomatic 70): SelectAddressListSheet.viewDidLoad has cyclomatic complexity 70 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b645dfc4e96f5bafddc608492fb84bffa11174deeec0e939c253d05133758f0"}},{"ruleId":"D1","level":"warning","message":{"text":"MintscanHistory.getDpCoin (cyclomatic 66): MintscanHistory.getDpCoin has cyclomatic complexity 66 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: Cosmostation/Model/MintscanHistory.swift holds 3 of the 67 methods over the threshold \u2014 including the worst \u2014 and 325 of the 1030 points over it (32%), 2.4\u00D7 the next-largest file (Cosmostation/Controller/Sheet/BaseSheet.swift at 135). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a96e03fdfee14b53f8927acd199721685fe3c8a2d325f9f1fd697f68dbba7b3"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseSheet.updateTitle (cyclomatic 54): BaseSheet.updateTitle has cyclomatic complexity 54 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c642c1c586c982fc882939dd169cd51417923a76851a91a72613e615c99b2e"}},{"ruleId":"D1","level":"warning","message":{"text":"TxSendAddressSheet.onClickConfirm (cyclomatic 51): TxSendAddressSheet.onClickConfirm has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxSendAddressSheet.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"096be62d840cb2fdb664d17071f2c1103c6e09e331b9a60491479c022931194f"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseSheet.tableView (cyclomatic 50): BaseSheet.tableView has cyclomatic complexity 50 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e72e4b5fdc6cb992b364414a5ee1b80564448a482c69a5b98f95cfd2040dc4"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseSheet.tableView (cyclomatic 49): BaseSheet.tableView has cyclomatic complexity 49 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2023bdb46867c082a8bb55c2a232dd9e071c15eddba0c6a393b0f157187b85e"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseSheet.tableView (cyclomatic 36): BaseSheet.tableView has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5d50b182adae192cc846692d2e7f4573a668582f9f7e3157e6d8ff04396fb6"}},{"ruleId":"D1","level":"warning","message":{"text":"DappSolanaSignRequestSheet.paringRequest (cyclomatic 32): DappSolanaSignRequestSheet.paringRequest has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5bff40d9f7c6951d6950ccde68ee2984a93f1d3a7c7acbdc62ec9b271805ec"}},{"ruleId":"D1","level":"warning","message":{"text":"TxAmountSheet.onUpdateView (cyclomatic 30): TxAmountSheet.onUpdateView has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxAmountSheet.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbdb875e390124a7b1c41b1da69ccbbba4a398e0846670948b03454806529c4"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryCell.bindIotaHistory (cyclomatic 27): HistoryCell.bindIotaHistory has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/HistoryCell.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d9e4805c5f220db44c1fc7b08de02808cd68addbbf884ee4e86393af0615a0"}},{"ruleId":"D1","level":"warning","message":{"text":"DeriveCell.bindDeriveChain (cyclomatic 26): DeriveCell.bindDeriveChain has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/DeriveCell.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe7b29669bcf3ed8255ddc0008cc6ecddc2a01e4650bb02b49007ea3ab880a5"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsVC.tableView (cyclomatic 25): SettingsVC.tableView has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SettingsVC.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9f6ebce4825890d1a0cbf09108b6371ead5e68e5fd3619cd067b8888504e7f"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsVC.tableView (cyclomatic 25): SettingsVC.tableView has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SettingsVC.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df0260a14f181a73cfbfd4127a95ac6b1be2b397f5f5f93b1d5ca134c34990a"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryCell.bindSuiHistory (cyclomatic 24): HistoryCell.bindSuiHistory has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/HistoryCell.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4348b4136b2c44ce7798573dc9049cb74e34ccd4357e0ffbc6f1f4e81ebfc2"}},{"ruleId":"D1","level":"warning","message":{"text":"CosmosCryptoVC.tableView (cyclomatic 24): CosmosCryptoVC.tableView has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22d36d5a9f82b71c680a31e204ea5f614b3a4629a46dc3da25af197abaf3306"}},{"ruleId":"D1","level":"warning","message":{"text":"CommonTransfer.onUpdateFeeView (cyclomatic 24): CommonTransfer.onUpdateFeeView has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac0141f909b5e4eace8c78a88307a42380fc0fa31d68edd3c25ed345a9d4847"}},{"ruleId":"D1","level":"warning","message":{"text":"UITextField.shouldChange (cyclomatic 24): UITextField.shouldChange has cyclomatic complexity 24 (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":"Cosmostation/UI/UITextField\u002BDecimalCheck.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3542ec630439523db1a4fd6ebb4c95766eccf1a6d9c0eea92260708bed7ba3b8"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountListVC.onSelectedSheet (cyclomatic 23): AccountListVC.onSelectedSheet has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Setting/AccountListVC.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c38397e99114307437e39d00027f3119401689363085955964b4ae576e2b28c"}},{"ruleId":"D1","level":"warning","message":{"text":"DappSuiSignRequestSheet.onClickConfirm (cyclomatic 23): DappSuiSignRequestSheet.onClickConfirm has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappSuiSignRequestSheet.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc80f4e17bdf39df2cd76104da635d95a7522f3d2708e6213ec04b85d0a7bfb4"}},{"ruleId":"D1","level":"warning","message":{"text":"EvmAssetVC.onSortAssets (cyclomatic 23): EvmAssetVC.onSortAssets has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"61990040ee376f4a6933362577dc0695c9a0a0d13f9b88dd7441b5968d2d5c8f"}},{"ruleId":"D1","level":"warning","message":{"text":"EvmFetcher.fetchMulticallErc20Balance (cyclomatic 22): EvmFetcher.fetchMulticallErc20Balance has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/EvmFetcher.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"223ef0e5f5c3a83de3089f5b763cba4e258f66e96990630ed712a92a194fb598"}},{"ruleId":"D1","level":"warning","message":{"text":"MintscanProposal.init (cyclomatic 22): MintscanProposal.init has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/MintscanProposal.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cf23c878e7fe6425c4b16059aaf8502f441274b93855c00c0231e34ba3dc6a"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsVC.onSelectedSheet (cyclomatic 22): SettingsVC.onSelectedSheet has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SettingsVC.swift"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"6955cd00058a39f12aac57fdc44822b0ddda78187e2fb5b771ff6cc4288d1412"}},{"ruleId":"D1","level":"warning","message":{"text":"CommonTransfer.onUpdateWithSimul (cyclomatic 22): CommonTransfer.onUpdateWithSimul has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efa4dbdcbdeb733c20d894d7d756b423a96589f5767dca211dcb234606a1d85"}},{"ruleId":"D1","level":"warning","message":{"text":"MajorCryptoVC.onSortAssets (cyclomatic 22): MajorCryptoVC.onSortAssets has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9be8982805db714c309abae274fea83dee8aa08b5cb52d2eccd08ecb66ba746"}},{"ruleId":"D1","level":"warning","message":{"text":"NeutronFetcher.fetchCosmosData (cyclomatic 21): NeutronFetcher.fetchCosmosData has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/NeutronFetcher.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4ff6d780c486f2cff19f7963e70439bec3229fc5094337a55802cab99f0c97"}},{"ruleId":"D1","level":"warning","message":{"text":"ChainSelectVC.onClickChainSort (cyclomatic 21): ChainSelectVC.onClickChainSort has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"131dd4f8fdb3c0bc9a4e8b716473bfce5e183f01d9f2ddc8862dcb98b9ec68dc"}},{"ruleId":"D1","level":"warning","message":{"text":"DappListViewController.updateCollectionView (cyclomatic 21): DappListViewController.updateCollectionView has cyclomatic complexity 21 (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":"Cosmostation/Controller/Main/DappListViewController.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"790c844771cbdb04c30103f70aedde3adc3a2cf82a5c7db96cae416b40fdb197"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseSheet.searchBar (cyclomatic 21): BaseSheet.searchBar has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e54fc3cb03a6fbb6e3f4bfbd3814970c29d68f76225d5fac6845d61c1ec98c2"}},{"ruleId":"D1","level":"warning","message":{"text":"DappCosmosSignRequestSheet.onParsingRequest (cyclomatic 21): DappCosmosSignRequestSheet.onParsingRequest has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab9bf1b4781a5c29a5225c756d612d383eeead97c750d10ddc9d20d70576544"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryCell.bindGnoHistory (cyclomatic 21): HistoryCell.bindGnoHistory has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/HistoryCell.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e32234ab53dcd4d3c5a307d4b1bbddedce8061ee0fc8d01fefcb23e30f7a1a"}},{"ruleId":"D1","level":"warning","message":{"text":"CosmosCryptoVC.tableView (cyclomatic 21): CosmosCryptoVC.tableView has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"883de7d5e7618d37596a83e6248795285f1f6d1750b1cdbf83e9c895acfea495"}},{"ruleId":"D1","level":"warning","message":{"text":"CosmosCryptoVC.tableView (cyclomatic 21): CosmosCryptoVC.tableView has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a444c6de04ac426e3364f73d5236eb8f5dbce7030259262062867bcd006bb5"}},{"ruleId":"D1","level":"warning","message":{"text":"Google_Protobuf_Any.accountInfos (cyclomatic 21): Google_Protobuf_Any.accountInfos has cyclomatic complexity 21 (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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e7b7efd94ec281e85b2060eb03dd86696a4e0e73820b3128ae1bf0974a7ac3"}},{"ruleId":"D1","level":"warning","message":{"text":"IotaFetcher.fetchIotaData (cyclomatic 20): IotaFetcher.fetchIotaData has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9918721bd66442c35e1b96ae1a5434e3bc2e1ac68fe6b62323b52e8ab992c9ba"}},{"ruleId":"D1","level":"warning","message":{"text":"WUtils.checkIBCrecipientableChains (cyclomatic 20): WUtils.checkIBCrecipientableChains has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/WUtils.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c079071b8dd6420f2948b565ec4904ce03c7e66f2e9d3db80a518c34b219f3"}},{"ruleId":"D1","level":"warning","message":{"text":"AddressBookSheet.onValidateAddress (cyclomatic 20): AddressBookSheet.onValidateAddress has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/AddressBookSheet.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f2013422727702f227d226bf59abd30732a152a5e35e17312de4005cb51ee6"}},{"ruleId":"D1","level":"warning","message":{"text":"CommonTransfer.onInitView (cyclomatic 20): CommonTransfer.onInitView has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3597b3e6b1d44ab82b4b68e95c0262267b6d615d04466e13337a156b35d441b6"}},{"ruleId":"D1","level":"warning","message":{"text":"DappEvmSignRequestSheet.onParsingRequest (cyclomatic 19): DappEvmSignRequestSheet.onParsingRequest has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappEvmSignRequestSheet.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4905f5ddde0e53cbb2fa3dc4cd7c537214ffa9315efa2a1c660349b917be109"}},{"ruleId":"D1","level":"warning","message":{"text":"CosmosCryptoVC.tableView (cyclomatic 19): CosmosCryptoVC.tableView has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"03aff6e69aa965aec589a713063e2c0767d8bf10983251cc9506e538def144ae"}},{"ruleId":"D1","level":"warning","message":{"text":"CommonTransfer.onSimul (cyclomatic 19): CommonTransfer.onSimul has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc050cf877d188de660da0f235a8b95b8e42b4872b6d458216088168420c5f6"}},{"ruleId":"D1","level":"warning","message":{"text":"CommonTransfer.onPinResponse (cyclomatic 19): CommonTransfer.onPinResponse has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ed8281670c21dc1bf3947b267fb35776debf2819689b97620f06af5960584c"}},{"ruleId":"D1","level":"warning","message":{"text":"MajorHistoryVC.onUpdateView (cyclomatic 19): MajorHistoryVC.onUpdateView has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c733e38ebcf5b526e3fb1595aa2096a86c765a17904229cfe1a02f6a184708"}},{"ruleId":"D1","level":"warning","message":{"text":"CosmosFetcher.fetchCosmosData (cyclomatic 18): CosmosFetcher.fetchCosmosData has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e35ca6d950f5ca63b6488006c86d98487502e289ff282315d5fecd38b34f11"}},{"ruleId":"D1","level":"warning","message":{"text":"SuiFetcher.fetchSuiData (cyclomatic 18): SuiFetcher.fetchSuiData has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/SuiFetcher.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"49299109d9088f94614aff094314a81711bf0f8d27f1e1f2af17cb5e59787cbb"}},{"ruleId":"D1","level":"warning","message":{"text":"MintscanHistory.getDpToken (cyclomatic 18): MintscanHistory.getDpToken has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: Cosmostation/Model/MintscanHistory.swift holds 3 of the 67 methods over the threshold \u2014 including the worst \u2014 and 325 of the 1030 points over it (32%), 2.4\u00D7 the next-largest file (Cosmostation/Controller/Sheet/BaseSheet.swift at 135). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d12f8e967b8950c9bfafdef2ada6ab5bb0b726ccfbf1c2a972607c550cfd87"}},{"ruleId":"D1","level":"warning","message":{"text":"DappListViewController.viewDidLoad (cyclomatic 18): DappListViewController.viewDidLoad has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappListViewController.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5716eae1830e881d6f228b3c2a50ea45d748b23267e1a7ae337fe07b526fae1f"}},{"ruleId":"D1","level":"warning","message":{"text":"SwapStartVC.onSelectedSheet (cyclomatic 18): SwapStartVC.onSelectedSheet has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dcbf288835560f2509bc904ff62c15bd913cb2a4870f791c0e5fd67fa9b0b0"}},{"ruleId":"D1","level":"warning","message":{"text":"Bech32.decode (cyclomatic 18): Bech32.decode has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/Crypto/Bech32.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"58581c517619b631bca6b63edc4bf832833c84127b97cff4bc441f15bebd3108"}},{"ruleId":"D1","level":"warning","message":{"text":"CommonTransferResult.viewDidLoad (cyclomatic 18): CommonTransferResult.viewDidLoad has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"717de8f69e87f6c4de210297dde5d69aced147bd426979892aebe55275a0a3d5"}},{"ruleId":"D1","level":"warning","message":{"text":"MajorCryptoVC.tableView (cyclomatic 18): MajorCryptoVC.tableView has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1236674380cd1055d8d4d1b7db009bf2c119740570018e1892256cfab9c092d"}},{"ruleId":"D1","level":"warning","message":{"text":"CosmosRedelegate.onSelectedSheet (cyclomatic 18): CosmosRedelegate.onSelectedSheet has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"f577371af11ed250518ddfae024974ddfac95769851cf87121c2ef24721e8281"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseAccount.initSortChains (cyclomatic 17): BaseAccount.initSortChains has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: PubKeyType.algorhythm (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ef628e08a724daf7b7d8aef9b3c432a797a81d5f7c395112b3b3e6f1d3f6f2"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyFac.getPriKeyFromSeed (cyclomatic 17): KeyFac.getPriKeyFromSeed has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (KeyFac.getPubKeyFromPrivateKey) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/KeyFac.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e79cf02eae0e310ef4450cb3ffba209f9eb7b642e6050733c64591e0b1445a7"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyFac.getPubKeyFromPrivateKey (cyclomatic 17): KeyFac.getPubKeyFromPrivateKey has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (KeyFac.getPriKeyFromSeed) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/KeyFac.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"450d5cf8ac7c2dd36be5a32c20d9a44dd626344cf5c111f4d281dfa192791c1b"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyFac.getAddressFromPubKey (cyclomatic 17): KeyFac.getAddressFromPubKey has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/KeyFac.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd67db93296409b3abba7d535b08a51b318847644e9310c8f93d949e510be9e1"}},{"ruleId":"D1","level":"warning","message":{"text":"DappCosmosSignRequestSheet.onClickConfirm (cyclomatic 17): DappCosmosSignRequestSheet.onClickConfirm has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3499f1b6f4628471aad114c773d9900a27a15568adaff857a1da231e403c6a07"}},{"ruleId":"D1","level":"warning","message":{"text":"Portfolio2Cell.bindChain (cyclomatic 17): Portfolio2Cell.bindChain has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/Portfolio2Cell.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b428e9e160ee43b2b89aa9a9294609a2de9296ba1c5ddeb90515879cff9503f1"}},{"ruleId":"D1","level":"warning","message":{"text":"CommonTransferResult.onClickExplorer (cyclomatic 17): CommonTransferResult.onClickExplorer has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff50087d18e080dbd8406e09a57d79e7968d9db790b365d8d7331cc820a4f72b"}},{"ruleId":"D1","level":"warning","message":{"text":"DappDetailVC.webView (cyclomatic 16): DappDetailVC.webView has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"2058b2930e5aa8aed55b571f09d0df895f8c45c6ffdd40946928815d73645721"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectAddressListSheet.tableView (cyclomatic 16): SelectAddressListSheet.tableView has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b6dfd443969e43239da9369e5db0e3136de3ab35f51a94c0c264a8e1e78a95"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaimAllChainCell.onBindRewards (cyclomatic 16): ClaimAllChainCell.onBindRewards has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/ClaimAllChainCell.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84238c18022805c83ace2606bb84479097420ae31a5d186e25f498b8a568602"}},{"ruleId":"D1","level":"warning","message":{"text":"PopupReceiveCell.bindReceive (cyclomatic 16): PopupReceiveCell.bindReceive has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/PopupReceiveCell.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7948ba975b74fd3d137411b66d60f8755c80daaa098285ab1532cfc10dc32f"}},{"ruleId":"D1","level":"warning","message":{"text":"CommonTransfer.onUpdateAmountView (cyclomatic 16): CommonTransfer.onUpdateAmountView has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4894a2cf5d89b26d6e694eed032917609ef5a02f61bbe43001fbc9efd27c4cd"}},{"ruleId":"D2","level":"warning","message":{"text":"MintscanHistory.getMsgType (cognitive 453): MintscanHistory.getMsgType has cognitive complexity 453 (threshold 15). Drivers by points: if/else 228 (380 pts), boolean chains 62, loops 3 (11 pts) (nesting depth added 160). 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":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4735c4e28ec92f8ee0c48f3212143d1bc115ee598aba671593cb35d6bf2bda"}},{"ruleId":"D2","level":"warning","message":{"text":"DappDetailVC.userContentController (cognitive 231): DappDetailVC.userContentController has cognitive complexity 231 (threshold 15). Drivers by points: if/else 124 (207 pts), boolean chains 24 (nesting depth added 83). 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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d8fb57697e478e3170cd61e7a6af430541f781e5304cb4f320f221047afe97"}},{"ruleId":"D2","level":"warning","message":{"text":"MintscanHistory.getDpCoin (cognitive 164): MintscanHistory.getDpCoin has cognitive complexity 164 (threshold 15). Drivers by points: if/else 44 (127 pts), loops 5 (20 pts), boolean chains 17 (nesting depth added 98). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92a57167583a5e79043352f27ee8203e2ce413e22b9f11314aa108e36f33e24"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosCryptoVC.onSortAssets (cognitive 162): CosmosCryptoVC.onSortAssets has cognitive complexity 162 (threshold 15). Drivers by points: if/else 50 (113 pts), ternaries 10 (26 pts), boolean chains 23 (nesting depth added 79). 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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c5aa195073dc21de3f3b39d258748d10b6eb4f2612ec69ca03ab60f2392d41"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectAddressListSheet.viewDidLoad (cognitive 106): SelectAddressListSheet.viewDidLoad has cognitive complexity 106 (threshold 15). Drivers by points: if/else 36 (70 pts), boolean chains 36 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de3eb1cf76ab24f28991f0890b3848d2909e4d06a55217ce7b9b71bc138bb5c"}},{"ruleId":"D2","level":"warning","message":{"text":"DappSolanaSignRequestSheet.paringRequest (cognitive 80): DappSolanaSignRequestSheet.paringRequest has cognitive complexity 80 (threshold 15). Drivers by points: if/else 19 (60 pts), boolean chains 11, error handling 3 (6 pts), loops 1 (3 pts) (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bbb5f45ef54c260eceb6ffebc43dc3621e7358a875f01ba136c61d78f7502c"}},{"ruleId":"D2","level":"warning","message":{"text":"TxSendAddressSheet.onClickConfirm (cognitive 80): TxSendAddressSheet.onClickConfirm has cognitive complexity 80 (threshold 15). Drivers by points: if/else 47 (65 pts), boolean chains 15 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxSendAddressSheet.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadb854e30a41249d6d157374a23e6ab412ac9612daf1bd2125b18c847d1bd09"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseSheet.updateTitle (cognitive 61): BaseSheet.updateTitle has cognitive complexity 61 (threshold 15). Drivers by points: if/else 45 (53 pts), boolean chains 8 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d034603584ac28cf191e1dc528d2311d9d846b8e0f42fff0c6fc82e45f70e88"}},{"ruleId":"D2","level":"warning","message":{"text":"SuiFetcher.fetchSuiData (cognitive 53): SuiFetcher.fetchSuiData has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (38 pts), loops 3 (9 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/SuiFetcher.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"316a1f105d0b57bba7465b7fec3ede53c814a7e5cf40419db120c9c3dd543791"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseSheet.tableView (cognitive 52): BaseSheet.tableView has cognitive complexity 52 (threshold 15). Drivers by points: if/else 46 (48 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4e70744e9851972c8d041a933a5c40a818010c24b58b7bb921f8f362a2e71b"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseSheet.tableView (cognitive 50): BaseSheet.tableView has cognitive complexity 50 (threshold 15). Drivers by points: if/else 45 (46 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce26a0c99901e7d93e6641ff8bece5490453f9cb4d68ed5d66bf8ed8f7c58ed"}},{"ruleId":"D2","level":"warning","message":{"text":"IotaFetcher.fetchIotaData (cognitive 49): IotaFetcher.fetchIotaData has cognitive complexity 49 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 3 (9 pts), ternaries 2 (6 pts), boolean chains 5, error handling 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c385e03f78077df7572652d56951632247c938ce239b36592137345c2eebd5df"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryCell.bindIotaHistory (cognitive 47): HistoryCell.bindIotaHistory has cognitive complexity 47 (threshold 15). Drivers by points: if/else 30 (43 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/HistoryCell.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e42521c1beddf07d81386c91a3cf3490dc2157706066c7830c1274bb049fb49"}},{"ruleId":"D2","level":"warning","message":{"text":"EvmAssetVC.onSortAssets (cognitive 47): EvmAssetVC.onSortAssets has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (35 pts), boolean chains 6, ternaries 2 (6 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db544e136be5f8e727ed684ce239872bd9ee8fdeb967116cf1222d9ccc3c282"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryCell.bindGnoHistory (cognitive 46): HistoryCell.bindGnoHistory has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 9 (25 pts), if/else 11 (19 pts), boolean chains 2 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/HistoryCell.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad636371d6a9fb5b47b75e9f033fbf39244048e441dd90dfba9a2a16c4f99c8"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.onUpdateFeeView (cognitive 45): CommonTransfer.onUpdateFeeView has cognitive complexity 45 (threshold 15). Drivers by points: if/else 24 (44 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74ead1f01969c728ef8792c7a632a7056261f33f289762b49b85fa4146562bf"}},{"ruleId":"D2","level":"warning","message":{"text":"NeutronFetcher.fetchCosmosData (cognitive 44): NeutronFetcher.fetchCosmosData has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (35 pts), boolean chains 8, error handling 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/NeutronFetcher.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c8640a55a3179af0b82eb7fee3e76df8d35598136959fba9fcb9356a047a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsVC.tableView (cognitive 44): SettingsVC.tableView has cognitive complexity 44 (threshold 15). Drivers by points: if/else 24 (43 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SettingsVC.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf48c98634f25986159735acbdf8da7de607edbf258ac7a74859eb6ed6f9219"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsVC.onSelectedSheet (cognitive 42): SettingsVC.onSelectedSheet has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (42 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SettingsVC.swift"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdcce7a206ea5f5e2a789cfe4d408fb3045ce58da41265195226fb0424a9cf8"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosCryptoVC.tableView (cognitive 42): CosmosCryptoVC.tableView has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 9 (27 pts), if/else 12 (15 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e596fd6b867f90c3ef26b7c5bf35cf267a879ec48785aa9df5228004b857472"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryCell.bindSuiHistory (cognitive 41): HistoryCell.bindSuiHistory has cognitive complexity 41 (threshold 15). Drivers by points: if/else 25 (35 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/HistoryCell.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b554bbf9885cba517486910939e2707e46fa5e4b3e5c00109afb232c11df8c9d"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.splSendSimul (cognitive 41): CommonTransfer.splSendSimul has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (28 pts), boolean chains 6, ternaries 1 (6 pts), error handling 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad083ec9d5ccdf26a202bc0f1e74404e855e888569fa05fcf40f93b70d39c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"MajorCryptoVC.onSortAssets (cognitive 41): MajorCryptoVC.onSortAssets has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (31 pts), ternaries 5 (10 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab21add496dde7cc6c6e89d7283fee21028280e589fd7ece87883e15ae6ec43"}},{"ruleId":"D2","level":"warning","message":{"text":"TxAmountSheet.onUpdateView (cognitive 40): TxAmountSheet.onUpdateView has cognitive complexity 40 (threshold 15). Drivers by points: if/else 25 (36 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxAmountSheet.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4936da0fbdd781f2c9ec0b4059b3806cfc0843e99376267f7308b324b7e9d8ba"}},{"ruleId":"D2","level":"warning","message":{"text":"MajorHistoryVC.onUpdateView (cognitive 40): MajorHistoryVC.onUpdateView has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (30 pts), loops 4 (8 pts), ternaries 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff20ed60a94c35103319295e4f3528dcbfcde37d61358fcc3a11639981392f9"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.solSendSimul (cognitive 39): CommonTransfer.solSendSimul has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (28 pts), boolean chains 5, ternaries 1 (5 pts), error handling 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81f47e84204955b17ff585dc39ec8a3794461e086c84873621b7ac19f9f593e"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAccount.initSortChains (cognitive 38): BaseAccount.initSortChains has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (31 pts), ternaries 1 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9c9a1dd82c1b4cef0c38ab51da7a43c2adb61c0ef4ceda4d81a37a59b66c6c"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosFetcher.fetchCosmosData (cognitive 38): CosmosFetcher.fetchCosmosData has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (30 pts), boolean chains 7, error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cbd07fa7f22875e229c4ff8279c708dcf454d7d4393eb79284dd988c2a98fb"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseSheet.tableView (cognitive 38): BaseSheet.tableView has cognitive complexity 38 (threshold 15). Drivers by points: if/else 31 (32 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c3fcea6abd603eb2822347a5acd383df76656782253334c3f2243feef11e34"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosCryptoVC.tableView (cognitive 38): CosmosCryptoVC.tableView has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (35 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"80496392d83e4f2b51b8d5e3f671a200471cc22e4232bdbb83a547f4ec312471"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveCell.bindDeriveChain (cognitive 37): DeriveCell.bindDeriveChain has cognitive complexity 37 (threshold 15). Drivers by points: if/else 28 (36 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/DeriveCell.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f3354dc567d0b44670f140e6ca1685d26201f6ae3c25ceb3eb1ce78d52ae9a"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.onUpdateWithSimul (cognitive 36): CommonTransfer.onUpdateWithSimul has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21 (35 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c7dcb7a9276e3a04cdaa1eaa893786dcf7e10679af4164803ecf045a09c2cd"}},{"ruleId":"D2","level":"warning","message":{"text":"MajorCryptoVC.tableView (cognitive 36): MajorCryptoVC.tableView has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (34 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe35f992ae1410f283fdcaea5e784d1085efe4077658dedacff288dff918a263"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosFetcher.updateBaseFee (cognitive 35): CosmosFetcher.updateBaseFee has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (35 pts) (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a4c3810b3f21691c69768eaf36bd63c1280aa378e559d95fc94d07dd6120de"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsVC.tableView (cognitive 34): SettingsVC.tableView has cognitive complexity 34 (threshold 15). Drivers by points: if/else 25 (34 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SettingsVC.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b887849fb6f81420839cae0bfe96d1f5b9100fda4fbf743ddb5f2fbd9689ab3b"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountListVC.onSelectedSheet (cognitive 34): AccountListVC.onSelectedSheet has cognitive complexity 34 (threshold 15). Drivers by points: if/else 22 (34 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Setting/AccountListVC.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"83965c4f53aea442f827c7f05deb0b2ad71a47c1759dfa65be28630b6af26162"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosCryptoVC.tableView (cognitive 34): CosmosCryptoVC.tableView has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24 (34 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84339c98d7c6e49016d07989882b8104d8c916527798f65d859ba1dd2eebe64"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.onPinResponse (cognitive 34): CommonTransfer.onPinResponse has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (33 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"811e6aaae58562adabe389e736bbf9a193068831b745a78bace3173013604433"}},{"ruleId":"D2","level":"warning","message":{"text":"DappCosmosSignRequestSheet.onParsingRequest (cognitive 33): DappCosmosSignRequestSheet.onParsingRequest has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 12 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7272ee09dda8c53cf5caa3803231f6d8c01856126b0f71d77c87afacacd1f7"}},{"ruleId":"D2","level":"warning","message":{"text":"SwapStartVC.onSelectedSheet (cognitive 32): SwapStartVC.onSelectedSheet has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (32 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b5946a48a00daf6fa47afbf9b02080032d7ce0548979562b7be40614f6fc56"}},{"ruleId":"D2","level":"warning","message":{"text":"DappSuiSignRequestSheet.onClickConfirm (cognitive 31): DappSuiSignRequestSheet.onClickConfirm has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappSuiSignRequestSheet.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb7a3bc9ee525b1022ceffff5f12ec9dcd01c50dd7667aaa0068261ef9327fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ChainSelectVC.onClickChainSort (cognitive 30): ChainSelectVC.onClickChainSort has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 3 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c391cd6bd22a565f6e8a398e1ab7ba472c392e800922a2c8b33f780b4da04e"}},{"ruleId":"D2","level":"warning","message":{"text":"DappEvmSignRequestSheet.onParsingRequest (cognitive 30): DappEvmSignRequestSheet.onParsingRequest has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappEvmSignRequestSheet.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7a62d58c54f26a31bf86ce0f583246fe6e882447660da813fa7353becc6420"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectAddressListSheet.tableView (cognitive 30): SelectAddressListSheet.tableView has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 9 (12 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edc5e149637ee743eb6283528c236928cc2a49100fccc9e15c403ed1467abc6"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseSheet.searchBar (cognitive 29): BaseSheet.searchBar has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 9 (18 pts), if/else 9, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3517900bd226bc6989e3ff15c0c953c79843a9457d90356cf2a3fdaf6c9c0255"}},{"ruleId":"D2","level":"warning","message":{"text":"EvmFetcher.fetchMulticallErc20Balance (cognitive 28): EvmFetcher.fetchMulticallErc20Balance has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 7, loops 3, ternaries 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/EvmFetcher.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"203a526c15e81b10e2ab4e05e1d4616140a98e1b0044251305158f1c21d87358"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.onSimul (cognitive 28): CommonTransfer.onSimul has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21 (28 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"882c0a0c19d7039f6ef2f9a170ca08c46ca8635f9fc0ca45be0c96a68983ec46"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosClaimRewards.onInitView (cognitive 28): CosmosClaimRewards.onInitView has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (27 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d463aa8c924dca28b12a2b58afa64f93a547a05c231a23b7048b57365de422"}},{"ruleId":"D2","level":"warning","message":{"text":"SwapStartVC.onUpdateAmountView (cognitive 27): SwapStartVC.onUpdateAmountView has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a53d56cacc591c2f58f201a4d10d28284ea2f025797a7f4331fdc5d42d9bd3e"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosRedelegate.onSelectedSheet (cognitive 27): CosmosRedelegate.onSelectedSheet has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c58f7b6705516c321ccca326adc8b7c0142797737659aa24e4fa869e86c3d3"}},{"ruleId":"D2","level":"warning","message":{"text":"MintscanHistory.getDpToken (cognitive 26): MintscanHistory.getDpToken has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 11 (nesting depth added 8). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd006a6c5041a56128e111289ff5bbfbbe06b7bf867481f3d7fe47d33a45063"}},{"ruleId":"D2","level":"warning","message":{"text":"DappDetailVC.webView (cognitive 26): DappDetailVC.webView has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"b418fda8f9fa20bef356b178a2aabf2ef2284a57df7b9830c12ef1cba6b98099"}},{"ruleId":"D2","level":"warning","message":{"text":"DappBtcSignRequestSheet.onClickConfirm (cognitive 26): DappBtcSignRequestSheet.onClickConfirm has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (20 pts), ternaries 1 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b8121cef0ff3b34a4b00a249defa08a9ad5029c4b21b7d2b0ed1ff227ce79a"}},{"ruleId":"D2","level":"warning","message":{"text":"TxAmountLpSheet.textFieldDidChange (cognitive 26): TxAmountLpSheet.textFieldDidChange has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxAmountLpSheet.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fd55c0f091c0efaffcee56d7323cc076284095f4d04064ba83720bdede66bd"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetCosmosClassCell.bindCosmosStakeAsset (cognitive 26): AssetCosmosClassCell.bindCosmosStakeAsset has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AssetCosmosClassCell.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c6321639583b14346f88692c5e2f4b676d8d8c20afe9c0bbadff3b51017a61"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransferResult.viewDidLoad (cognitive 26): CommonTransferResult.viewDidLoad has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"79368cda9e4e7cc94c91cb8347022a7679dbb03c12d69c89460b0d5318d424c0"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectEndpointSheet.tableView (cognitive 25): SelectEndpointSheet.tableView has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 6 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectEndpointSheet.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"daec0c4f0752ef638ba8458ef60116f866500beaa66ca6f266d8785496769304"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetCosmosClassCell.bindNeutron (cognitive 25): AssetCosmosClassCell.bindNeutron has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (25 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AssetCosmosClassCell.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f71b802ed3290ab763f87177e8c20c1c598f3f74500cffa8203de84f273a43"}},{"ruleId":"D2","level":"warning","message":{"text":"BtcUndelegate.onSimulWithdraw (cognitive 25): BtcUndelegate.onSimulWithdraw has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 7 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f994f26c9216fd0219779cf330c3a1bdf0671499be8c799dfe554c64bce7e5"}},{"ruleId":"D2","level":"warning","message":{"text":"UITextField.shouldChange (cognitive 25): UITextField.shouldChange has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 10 (12 pts) (nesting depth added 2). 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":"Cosmostation/UI/UITextField\u002BDecimalCheck.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34246248edca1435570dbc72e76d83f2dd683c85854434e4a085daa505da1c6"}},{"ruleId":"D2","level":"warning","message":{"text":"DappListViewController.updateCollectionView (cognitive 24): DappListViewController.updateCollectionView has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 15, ternaries 3 (6 pts), if/else 3 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappListViewController.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7f56473df6bd3d758617cf83dc53912e455f5593353083f92cc9219a5c904f"}},{"ruleId":"D2","level":"warning","message":{"text":"AddressBookSheet.onValidateAddress (cognitive 24): AddressBookSheet.onValidateAddress has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 9 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/AddressBookSheet.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7b883ac224647f09f44800f016e5218340b7bbc2caf3c1b2fc763db0d82942"}},{"ruleId":"D2","level":"warning","message":{"text":"DappGnoSignRequestSheet.parsingRequest (cognitive 24): DappGnoSignRequestSheet.parsingRequest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (22 pts), boolean chains 1, error handling 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappGnoSignRequestSheet.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2dc560f38393fe8104b369dd399af72df7c6e0c1be67a456796dacf890d3ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Portfolio2Cell.bindChain (cognitive 24): Portfolio2Cell.bindChain has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20 (23 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/Portfolio2Cell.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90d49c755ca6a9b3ca10598d337db08e6f6d572429a7dc36c9ce3631f7f2da4"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.onInitView (cognitive 24): CommonTransfer.onInitView has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0f3f60606cb30b170f3687d8a849fb83d9839582805b217614ea0feaaa7d6b"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseChain.fetchData (cognitive 23): BaseChain.fetchData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/BaseChain.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e56b1d23a8aaee44637d18e8e34a94e1f5683c8204d4f374a38929616f0f9d0"}},{"ruleId":"D2","level":"warning","message":{"text":"MintscanProposal.init (cognitive 23): MintscanProposal.init has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 8, ternaries 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/MintscanProposal.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9244d033956b930c35eb72b379cf4e02009e410230a9e8d11f572e96a3f500e7"}},{"ruleId":"D2","level":"warning","message":{"text":"DappListViewController.viewDidLoad (cognitive 23): DappListViewController.viewDidLoad has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, ternaries 2 (3 pts), loops 1, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappListViewController.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"36567e86bba97e178e6280b8d18736702959fe1e6ee0006b7925c0c23038bc13"}},{"ruleId":"D2","level":"warning","message":{"text":"QrAddressPopupVC.viewDidLoad (cognitive 23): QrAddressPopupVC.viewDidLoad has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (23 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/QrAddressPopupVC.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b56801368bd92d11983f79aaf2718f1c3def3ac6afb4dd806a1dbf02957883b"}},{"ruleId":"D2","level":"warning","message":{"text":"AddressBookSheet.onClickConfirm (cognitive 23): AddressBookSheet.onClickConfirm has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (15 pts), ternaries 2 (5 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/AddressBookSheet.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"11164f5394692bbb5b2577a8cbb10f1001062c2fdc2754b47853c5018e5a5c0b"}},{"ruleId":"D2","level":"warning","message":{"text":"DappEvmSignRequestSheet.onClickConfirm (cognitive 23): DappEvmSignRequestSheet.onClickConfirm has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 1, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappEvmSignRequestSheet.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaccf1475e8fbc94261feea580b0a1919167b89510dfbe40533a058328507623"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectEndpointSheet.tableView (cognitive 23): SelectEndpointSheet.tableView has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 6 (8 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectEndpointSheet.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbe45c1827fa88d36a5b6f424ce93318c7bcd2855bf775eec0bb2ef31092aa0"}},{"ruleId":"D2","level":"warning","message":{"text":"PopupReceiveCell.bindReceive (cognitive 23): PopupReceiveCell.bindReceive has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/PopupReceiveCell.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b4b9fd4ab145929190bcd221b647c52957a3794dbb8cb1854d59804eb684a5"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransferResult.onClickExplorer (cognitive 23): CommonTransferResult.onClickExplorer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb80fba017633b694cb7e3451b38edd144282600984ac3b4a5802e0611afe30"}},{"ruleId":"D2","level":"warning","message":{"text":"Kava_Incentive_V1beta1_QueryRewardsResponse.allIncentiveCoins (cognitive 23): Kava_Incentive_V1beta1_QueryRewardsResponse.allIncentiveCoins has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (23 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc9ec8f2624ac9eada8a902dee456524e5a1f8d9ed72e748bcf1872afa530db"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.onPinResponse (cognitive 22): AppDelegate.onPinResponse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 2 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/AppDelegate.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8caa2a947ba12a84429a1ad4a3044397ed7a2b9b35ef0eed8190cb047faf5e7b"}},{"ruleId":"D2","level":"warning","message":{"text":"BabylonBTCFetcher.fetchBtcStakingData (cognitive 22): BabylonBTCFetcher.fetchBtcStakingData has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BabylonBTCFetcher.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"808594bd336fa78f9fae4789c91a55bbffd9793c7c754b171ef89b1325560191"}},{"ruleId":"D2","level":"warning","message":{"text":"SolanaFetcher.fetchSolanaData (cognitive 22): SolanaFetcher.fetchSolanaData has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (19 pts), boolean chains 2, error handling 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/SolanaFetcher.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"900ef74760ceaaa3955edc9f14c109db761dafbfa2bcda3b44f10c5a3e32898d"}},{"ruleId":"D2","level":"warning","message":{"text":"IntroVC.viewDidLoad (cognitive 22): IntroVC.viewDidLoad has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Init/IntroVC.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b70a9cf9efde23412d26f0c1b5c783a00390afed5f7827a5c0a33a5e69c1685"}},{"ruleId":"D2","level":"warning","message":{"text":"DappListViewController.onSelectedSheet (cognitive 22): DappListViewController.onSelectedSheet has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappListViewController.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"709c228e2be285894ea6c139847beb45704eaaaaf02d42f4fc3ffbf5d9607d15"}},{"ruleId":"D2","level":"warning","message":{"text":"SwapStartVC.onPinResponse (cognitive 22): SwapStartVC.onPinResponse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 2 (6 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36c89ffa00b2dc5a45ba4c3bad16f8076b116a0a36ffea2f2eec1f8db39151b"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectEndpointSheet.tableView (cognitive 22): SelectEndpointSheet.tableView has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectEndpointSheet.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"614487280517cd4b84eba183396f099f79f51476a1abfb23a93635039ceeb1fc"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosCryptoVC.tableView (cognitive 22): CosmosCryptoVC.tableView has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abcf9e1b32bc1fd68d3a0826611d7d45725b2df2995f72ddbd231da903cdfa2"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAccount.fetchDpChains (cognitive 21): BaseAccount.fetchDpChains has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (BaseAccount.fetchAllChains) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"406c73377437117352253a4f5b8e94543f91213a09f4c5299038457048f64970"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAccount.fetchAllChains (cognitive 21): BaseAccount.fetchAllChains has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (BaseAccount.fetchDpChains) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aad97ca5e7444a3d5a021179e7d446a2eb24a49055a627f8ce1e9173ec9c6ba"}},{"ruleId":"D2","level":"warning","message":{"text":"WUtils.checkIBCrecipientableChains (cognitive 21): WUtils.checkIBCrecipientableChains has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/WUtils.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ec8c40743cddb21f241141e6262834f75ffcc5bb870b61276a2754f01e571c"}},{"ruleId":"D2","level":"warning","message":{"text":"DappCosmosSignRequestSheet.onClickConfirm (cognitive 21): DappCosmosSignRequestSheet.onClickConfirm has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 8 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22d3ba3835ce121698abc5912c36f9fb566a062b104fb931f3f23856338e899"}},{"ruleId":"D2","level":"warning","message":{"text":"NoticeSheet.onClickSubBtn (cognitive 21): NoticeSheet.onClickSubBtn has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (21 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/NoticeSheet.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62c5dd97f8cb051ac2a8471019c78527d54e633d1da6a549a5e1c3794961546"}},{"ruleId":"D2","level":"warning","message":{"text":"AllDappListCell.setSupportChains (cognitive 21): AllDappListCell.setSupportChains has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AllDappListCell.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a468477df61efcecba6c2122f30e4092eade828dfbaf6a71ea6cc8993f65c8"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosProposalCell.onBindNeutronDao (cognitive 21): CosmosProposalCell.onBindNeutronDao has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/CosmosProposalCell.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23f483cece1341e3c17439b4d4c39bedea472f9363e90028750224f498c1d58"}},{"ruleId":"D2","level":"warning","message":{"text":"Bech32.decode (cognitive 21): Bech32.decode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/Crypto/Bech32.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ed1547dd4bffba3aab4eab5ca2cb5711e5038f726bcaf4f30dd8bcd1c97c9e"}},{"ruleId":"D2","level":"warning","message":{"text":"BabylonStakingInfoVC.tableView (cognitive 21): BabylonStakingInfoVC.tableView has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (21 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"07be465780100901e9b224d933ee77b6314af1515cd4de9c0bf267ae7af02537"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.onUpdateAmountView (cognitive 21): CommonTransfer.onUpdateAmountView has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cf02b2cc130bf8784a95db9747ac454696dcb932083f0e38d505b77a8d5a8f"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.btcFetchTxHex (cognitive 21): CommonTransfer.btcFetchTxHex has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 3 (9 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"695919a97c3e6009d870a6f7c1e324b74e08f828c7ae25e802236c9379542554"}},{"ruleId":"D2","level":"warning","message":{"text":"EvmFetcher.fetchEvmData (cognitive 20): EvmFetcher.fetchEvmData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 1, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/EvmFetcher.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"be940492148b0da3be7a1a26d3372029877d680545f8e017cc8929a884c4b61e"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioVC.chainSortReloadView (cognitive 20): PortfolioVC.chainSortReloadView has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4335fdac38e1b9fb0028295b9f09ca7ce7d288b907323b674a1a3d1e7c13d4c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaimAllChainCell.onBindRewards (cognitive 20): ClaimAllChainCell.onBindRewards has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), ternaries 3, boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/ClaimAllChainCell.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f547f35770c3ccd4ba139400f5352eb32da7cadeb77d26406249f2980d3b539"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectChainCell.bindSelectChain (cognitive 20): SelectChainCell.bindSelectChain has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/SelectChainCell.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"792c228b0def9d83215bc277439a95b2dcfc17f6f447c6a8b2e132af5e2b8b77"}},{"ruleId":"D2","level":"warning","message":{"text":"BabylonStakingInfoVC.tableView (cognitive 20): BabylonStakingInfoVC.tableView has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 6 (8 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"817b0bfae4e670028aba279c83096df2275a443b2fb70f4bef8f6b42eb56299a"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosProposalsVC.tableView (cognitive 20): CosmosProposalsVC.tableView has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 6 (8 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"444378b3452b40ef596b3eae0317aee4f9825ac311830c67c1a482d58bc8b015"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosStakingInfoVC.tableView (cognitive 20): CosmosStakingInfoVC.tableView has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (20 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"7851174be1241917e2d449f3e4c921df9c74776c0fdedf6dd6866b06a6a2dc91"}},{"ruleId":"D2","level":"warning","message":{"text":"NftTransfer.onUpdateWithSimul (cognitive 20): NftTransfer.onUpdateWithSimul has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (20 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/NftTransfer.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"df218c02f4bb55aa361e5d0537b33a1e989ac940449ad34fd47d7ed786a8dbbb"}},{"ruleId":"D2","level":"warning","message":{"text":"MajorClassVC.onSetTabbarView (cognitive 20): MajorClassVC.onSetTabbarView has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83ece300dfeb31f5b56e705f2a88242263723a170b0602944ddbd7c6dcb96c5"}},{"ruleId":"D2","level":"warning","message":{"text":"NeutronMultiDao.tableView (cognitive 20): NeutronMultiDao.tableView has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 6 (8 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de12c60eea33ab9b6b32e25066a12e3f843698a53741d6adcc88b59c1bdf776"}},{"ruleId":"D2","level":"warning","message":{"text":"NeutronOverruleDao.tableView (cognitive 20): NeutronOverruleDao.tableView has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 6 (8 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c370316741c9ee9b372a45d1c486f5e00477cddfb8cec4aba8e314397fdc41"}},{"ruleId":"D2","level":"warning","message":{"text":"NeutronSingleDao.tableView (cognitive 20): NeutronSingleDao.tableView has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 6 (8 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3735c3c6eeca51220afc08cab4a370365ba7d39523f2e67d70aed5598aa19d37"}},{"ruleId":"D2","level":"warning","message":{"text":"Google_Protobuf_Any.accountInfos (cognitive 20): Google_Protobuf_Any.accountInfos has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 10. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"af06f9922c41307f931e37ce909a198efc9c0f5ad72add54acc4c0cefdb44622"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.userNotificationCenter (cognitive 19): AppDelegate.userNotificationCenter has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/AppDelegate.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb20ded3f713da48e3e11fbeee44eda92e21413c2b955464008d05f7dc52634f"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetBabylonCell.bindStakeAsset (cognitive 19): AssetBabylonCell.bindStakeAsset has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (8 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AssetBabylonCell.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c259a3c73172ef30d603acf843e0c2c6793e979f6bc81608f96640a9b2810d67"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosRewardListPopupVC.viewDidLoad (cognitive 19): CosmosRewardListPopupVC.viewDidLoad has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosRewardListPopupVC.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cd1f7e13ed5d9695c6364bd1a9b0525a3428b8f150832b44a4567596690d41"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.onInitFee (cognitive 19): CommonTransfer.onInitFee has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaaaa6dd76f92cd5a5fabdc18b2eb86fd17c026e6c2fc415be51b9648d4d1317"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosTxResult.viewDidLoad (cognitive 19): CosmosTxResult.viewDidLoad has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (19 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2ac520459749d376a76ca9a5bef410d5a215600336d93cd5a56cc43dc34225"}},{"ruleId":"D2","level":"warning","message":{"text":"NeutronVote.tableView (cognitive 19): NeutronVote.tableView has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (19 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c058a8fea881359cd7a69012372d04b89219810b65b8bf0b82a5a6e421fb891b"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAccount.reSortChains (cognitive 18): BaseAccount.reSortChains has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdae4da7cbe5c567f8a81a682b60d14891dc804f5cc3211de3952c8fee21e9b"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseChain.isTxFeePayable (cognitive 18): BaseChain.isTxFeePayable has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/BaseChain.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de70f06b0d38efebdec2eceb73fb95a952add8f4337add5b9d345835479a551"}},{"ruleId":"D2","level":"warning","message":{"text":"PendingTx.init (cognitive 18): PendingTx.init has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BabylonFetcher.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"175f0a94c085a2a649d1ff3c28b8f246a9198f1d9e705bc78c6fe4f920321f92"}},{"ruleId":"D2","level":"warning","message":{"text":"SwapStartVC.fetchTargetInputAssetsBalance (cognitive 18): SwapStartVC.fetchTargetInputAssetsBalance has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (SwapStartVC.fetchTargetOutputAssetsBalance) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2862961e04c62dc1c9a2f7919a6b1ca273550615821440e8ed3caf433a1d1fa"}},{"ruleId":"D2","level":"warning","message":{"text":"SwapStartVC.fetchTargetOutputAssetsBalance (cognitive 18): SwapStartVC.fetchTargetOutputAssetsBalance has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (SwapStartVC.fetchTargetInputAssetsBalance) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"da426718ee92423d38e6a39780431217cebe7ca2a86da19d9a63be04aceebcfa"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetCosmosClassCell.bindInitia (cognitive 18): AssetCosmosClassCell.bindInitia has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AssetCosmosClassCell.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07b4e0f94a81eec1547e8f3425401dac91f94ea6a4d82653edfe1f463d7da20"}},{"ruleId":"D2","level":"warning","message":{"text":"StakeDelegateCell.onBindMyDelegate (cognitive 18): StakeDelegateCell.onBindMyDelegate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (18 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (StakeDelegateCell.onBindInitiaMyDelegate) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/StakeDelegateCell.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f223766e4663b2e84ccf75c747712a6acb2db6e51b1132a3c10da27a7e3924a"}},{"ruleId":"D2","level":"warning","message":{"text":"StakeDelegateCell.onBindInitiaMyDelegate (cognitive 18): StakeDelegateCell.onBindInitiaMyDelegate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (18 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (StakeDelegateCell.onBindMyDelegate) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/StakeDelegateCell.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29820bc450d3e3ef62d70e66a838262d7403284653988b4efb54243cfa5cf03"}},{"ruleId":"D2","level":"warning","message":{"text":"Signer.gnoSignMsg (cognitive 18): Signer.gnoSignMsg has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6f57c81213e4a4b04c0fc3a763c2382bef828e51125043135f5f3bf59e31af"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.evmSendSimul (cognitive 18): CommonTransfer.evmSendSimul has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29c7d18376a895f057b639faf85c118db686e5764bdcacae763a47741a9fffa"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.solanaMinimumRentBalance (cognitive 18): CommonTransfer.solanaMinimumRentBalance has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (18 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b1198726663e42f6c268e7d7ecf84b6ffef06446b16ccafaa6eba8da0d5f7f"}},{"ruleId":"D2","level":"warning","message":{"text":"AllChainVoteStartVC.onFetchProposalInfos (cognitive 17): AllChainVoteStartVC.onFetchProposalInfos has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/AllChainVoteStartVC.swift"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e481e8f526083c61162381dc331ce9ccb7efd2ba7de13392aae9a228cd33225"}},{"ruleId":"D2","level":"warning","message":{"text":"SwapStartVC.fetchInputAssets (cognitive 17): SwapStartVC.fetchInputAssets has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SwapStartVC.fetchOutputAssets) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bb79eb2b4eea9532eb5016f435b4025d757d6a695330251204a81ace2d8857"}},{"ruleId":"D2","level":"warning","message":{"text":"SwapStartVC.fetchOutputAssets (cognitive 17): SwapStartVC.fetchOutputAssets has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SwapStartVC.fetchInputAssets) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca38c0ed1160d12fd3af4fe3ade12e1136eb770bbcbf2640a039bc6cff56e63"}},{"ruleId":"D2","level":"warning","message":{"text":"PincodeVC.onUpdateView (cognitive 17): PincodeVC.onUpdateView has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Pincode/PincodeVC.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec7319732c4119e1d8de5c9020bfe3e059d6786719ed992823bfb4bad9242b2"}},{"ruleId":"D2","level":"warning","message":{"text":"PincodeVC.onPincodeClicked (cognitive 17): PincodeVC.onPincodeClicked has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Pincode/PincodeVC.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ca4d284b849e44ce035a824b870c7478e2e75dbab7f4180dc372d2d47513ee"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.evmEurekaSend (cognitive 17): CommonTransfer.evmEurekaSend has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea998300adfc3f37f6c7d2baf851f8b02d41c9087d5fc550326eedd6b09cf4d0"}},{"ruleId":"D2","level":"warning","message":{"text":"MajorCryptoVC.tableView (cognitive 17): MajorCryptoVC.tableView has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (8 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25eaf6f65f181723c163e62b77b30902e6fbd4df920814f6e4d5cad937280ac"}},{"ruleId":"D2","level":"warning","message":{"text":"MajorCryptoVC.tableView (cognitive 17): MajorCryptoVC.tableView has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (17 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"3459c1ae5b45423240bd8355d68f56abeaeb4e413008b2b2cfbc983cb8354ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"KavaLendListVC.onFetchData (cognitive 17): KavaLendListVC.onFetchData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b47d33c06c07dabcd363ff9dc05f45cc61d88f6c907754f2ba5b5954f72058"}},{"ruleId":"D2","level":"warning","message":{"text":"String.containsEmoji (cognitive 17): String.containsEmoji has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronDaoVC.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d035beb65c92505c837134eb837db107f1a531c6ec6efdbe34c9d46bd8be4d56"}},{"ruleId":"D2","level":"warning","message":{"text":"BabylonBTCFetcher.updateProvidersVotingPower (cognitive 16): BabylonBTCFetcher.updateProvidersVotingPower has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BabylonBTCFetcher.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96285656ceeb93ade1ecf73e558e57a58ec82e64ab96ab97b6181b3f5b87c60"}},{"ruleId":"D2","level":"warning","message":{"text":"BtcFetcher.getTxString (cognitive 16): BtcFetcher.getTxString has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 1 (3 pts), match/switch 1 (2 pts), loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BtcFetcher.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcacb6c80b9e481caa5031c10e29b9b83bc4c8f4c796e253b25efd95300f341"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyFac.getPriKeyFromSeed (cognitive 16): KeyFac.getPriKeyFromSeed has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, if/else 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (KeyFac.getPubKeyFromPrivateKey) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/KeyFac.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb00fee5d249ab9bdb0a540a32b23c55a6edf81a46f66b41e1addb0fbe74b71"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyFac.getPubKeyFromPrivateKey (cognitive 16): KeyFac.getPubKeyFromPrivateKey has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, if/else 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (KeyFac.getPriKeyFromSeed) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/KeyFac.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1db993ef7c54dddc1f08ac955b8a3fa20b4e1d138321dae6b33c8b8acad0973"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyFac.getAddressFromPubKey (cognitive 16): KeyFac.getAddressFromPubKey has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/KeyFac.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d4b68507311862506d264f6bd51f66e0af4681803a448b07b9a093da997615"}},{"ruleId":"D2","level":"warning","message":{"text":"MainTabVC.onHandleEvent (cognitive 16): MainTabVC.onHandleEvent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MainTabVC.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d67c7a2ae45f9ac30806f2007f7046aa55264972c6a33e777dd9d9ce3fe8d8"}},{"ruleId":"D2","level":"warning","message":{"text":"SwapStartVC.onSimul (cognitive 16): SwapStartVC.onSimul has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"68796677c914205708b5dd71b14b1b6e8b2dc93c3c6e2d32c9d5b6f945155f20"}},{"ruleId":"D2","level":"warning","message":{"text":"DappGnoSignRequestSheet.onClickConfirm (cognitive 16): DappGnoSignRequestSheet.onClickConfirm has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappGnoSignRequestSheet.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"198efdb60cc24930890d0e96c759d6fc3e55fadf510008c6f96a2899b478897a"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectEndpointSheet.tableView (cognitive 16): SelectEndpointSheet.tableView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (16 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectEndpointSheet.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3111d2a19e7ddb4a5e56b6e322ea8e6e665b8805cee5cff771c84018f6fec309"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryCell.bindMoveHistory (cognitive 16): HistoryCell.bindMoveHistory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/HistoryCell.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cb364e8acc2e792127b535d0dfa64449ef1a2abe8f4430f68e25870e044816"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveCell.bindReceive (cognitive 16): ReceiveCell.bindReceive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/ReceiveCell.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fff5aee091e6712340341c0c22aa954f581478855ebb5a0ebbd77cbbcb92ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"VoteAllChainCell.onBindVote (cognitive 16): VoteAllChainCell.onBindVote has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/VoteAllChainCell.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1a17c3a25252d04a289784ff0639fca214d434ea5ab016835796881c8ed6a7"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosProposalsVC.tableView (cognitive 16): CosmosProposalsVC.tableView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6440931343394f2e2dbcdc2a67cb82f4e8733274353eca8c12369dceb2431ce"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTransfer.viewDidLoad (cognitive 16): CommonTransfer.viewDidLoad has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"53670e61f2c2f593a1f7a967b63e31a5b5f7c702476f39ac5182beb834ad2a20"}},{"ruleId":"D2","level":"warning","message":{"text":"NeutronMultiDao.tableView (cognitive 16): NeutronMultiDao.tableView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0079aa2dd45c2ee21204c8def3e053d52d2ec8ccf331927fe38a1c3b080fc8c5"}},{"ruleId":"D2","level":"warning","message":{"text":"NeutronOverruleDao.tableView (cognitive 16): NeutronOverruleDao.tableView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"204cebaa732710aa3ac62e6a13165036e01dfbf441da631ace58968d3e809411"}},{"ruleId":"D2","level":"warning","message":{"text":"NeutronSingleDao.tableView (cognitive 16): NeutronSingleDao.tableView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dd2ec3a01bc24a336628e70566f4b767a4e1459a1871c368a62098b79d569e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MintscanHistory.getMsgType: MethodTooLong \u2014 getMsgType runs 430 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 330 over it, 4.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac04e1f1855dd296f6ecc98dac745805c95666871c68f37fe48146cb361017e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DappDetailVC.userContentController: MethodTooLong \u2014 userContentController runs 391 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 291 over it, 3.91\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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbd2f850313ae38cf3c5397b8fa394178ccca47175abef1f89e7c04319a2b09"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseData: TooManyMethods \u2014 115 methods. The bar is 30 methods; this is 85 over it, 3.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseData.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a627a47fe53694a2179ec5edaec21691c305e75d403af2c1d3475d2fbe5959d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: GenTx/CommonTransfer.swift: FileTooLong \u2014 1621 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1121 over it, 3.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db70fe5f6cee6d1cd9f02b9a651e1de8b3e1dfaedc54f5c2798ce1ee5296ab2c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CosmosFetcher: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"382469a091485708461b750f200d1d01c166c0f8d3994dbbcf4a23a93c746113"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RIPEMD160.compress: MethodTooLong \u2014 compress runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.20\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":"Cosmostation/Utils/Crypto/RIPEMD160.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaef858e5d8146a0a62669c94185c39126d1e5210d9dd6f973458b9235e6f73"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseChain: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/BaseChain.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"80750662b45ff52239ee4ec49b53e566a881587c587d7655f1ff3a7770c0ba93"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommonTransfer: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29135d515949351ad618ea3326e157fac4bf77012eabf84d613c547d22f2bbb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Signer: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"767a0f4b4c4db58ccb1311cb15ad879c264d8f5255839b1ec2404470835b630b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Fetcher/CosmosFetcher.swift: FileTooLong \u2014 906 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 406 over it, 1.81\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8532990c03c85f569f30bb8e938f9fb1bcaf1db01e28b32330488bc6afae361"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BaseChain.swift.ALLCHAINS: FunctionTooLong \u2014 ALLCHAINS runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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":"Cosmostation/Chains/BaseChain.swift"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d10880ef9734a4b43c7ce2258ee4afc5674d2e1e5248028213fcad432405c7b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseSheet.tableView: MethodTooLong \u2014 tableView runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3ecbe39f65c14ec6ac3fc1d01b5d90313ba0097dba9892f6d26c3b381c524c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Main/DappDetailVC.swift: FileTooLong \u2014 885 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 385 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05abba0cd045d55b50c525e980f20b0c0c6cef5bf32ae64bff977e8954380da"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DappDetailVC: 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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3488113249eab2ac7307b7b0ff5d34148483bb048a2fe46feb24470a7360a915"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CommonTransfer: ClassTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 279 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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbc158244caf36b7a364cdb34f4539ec531ac5893e43aa6d2791eadef01f34d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MintscanHistory: ClassTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 247 over it, 1.62\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":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"75585d2f4ac8a6bb0551ed6dbc1808d39dac3d3cba43587764f085d7416a06dd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DappDetailSheet.body: MethodTooLong \u2014 body runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"Cosmostation/Controller/Sheet/DappDetailSheet.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c835efc2facfc5107547413adc7bf3908884d57e9ec9334372e7f56eee6c7ce9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SelectAddressListSheet.viewDidLoad: MethodTooLong \u2014 viewDidLoad runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"70586b969b50ecbb8756282894629bc99df4bd6a1a2897583a5f1cfa722197e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Crypto/Signer.swift: FileTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: Signer (17-858). The bar is 500 significant lines; this is 262 over it, 1.52\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c5677a3e036b0bc577948a1630de8627ac48bd904ed462b76622357f0e5571"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SuiFetcher: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/SuiFetcher.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"997b855a594334f69e9460a73c4dfee1c0a5afed5563d5bda51a74b6054da8ed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MintscanHistory.getDpCoin: MethodTooLong \u2014 getDpCoin runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9c0a872b349039dcf69b08bc943d57274f8d661794c470fca063186ed16b18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Main/SwapStartVC.swift: FileTooLong \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: SwapStartVC (16-644). The bar is 500 significant lines; this is 236 over it, 1.47\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3153475f1434a8586a5e7218d6a9c6561385262ea15996be01c6116836f6c25d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PortfolioVC: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fe28848e229a58bf5332cf7014b50cac68b81806e7c098f6a120f6d3efd0b6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SwapStartVC: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c073bf924d3340302119040ed4c4dffa5099f87fdfa2fd3e9767de6d527b0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sheet/BaseSheet.swift: FileTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 197 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"440a850e4a8c94591c32706ce0566cd5fb757b65d01191bb477da642a69531e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chains/BaseChain.swift: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 179 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/BaseChain.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42205a49bebbc73fb504f66c2b9492e6058d9e5ed2164c547a66df6c500948c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Signer: ClassTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded), 61 methods. The bar is 400 significant lines; this is 143 over it, 1.36\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8b0d76c683ad2727157a24509837b83eeb87927c6028a95eb73a7ae40e026c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CosmosCryptoVC.onSortAssets: MethodTooLong \u2014 onSortAssets runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfaeed1c37f1bc6473063195a81035f76b52eff9c4d08b57f9dfc794c17f1df9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Model/MintscanHistory.swift: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: MintscanHistory (14-1049). The bar is 500 significant lines; this is 168 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c2c8e9fc8f96ca24290066ed9b55f5ba65a8ee4fa278c644fb18bcc291f474"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IotaFetcher: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46d13878693fba470b2c6c9ad0735be8df43f135eceb260f2909110171ff168"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseSheet.updateTitle: MethodTooLong \u2014 updateTitle runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"031262cb8ea3d55be2a5c2345abd3d56f49415c6329444c5cc823886a06fc54c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CosmosClass/CosmosCryptoVC.swift: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 127 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e034951f5fc263332876143e31c48a320cf612e301caab90c5354dc5d26dd9af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseNetWork: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseNetWork.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0964334408bbe8c820175b7a70788369b1267c7fd37b915153aff16fb06f5d98"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TxSendAddressSheet.onClickConfirm: MethodTooLong \u2014 onClickConfirm runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxSendAddressSheet.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4936a309da7ad5fc24506dfc21faa6b1a625564e641fe5b400c66a25d153f5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CosmosClassVC: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5148617c0f38c399c23050386478426ffcaa69bf282d4bf6ae33729eb5c86e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SolanaFetcher: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/SolanaFetcher.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6cfab98f7faa05d1e3afa0360caacfe99eb7613df0ed4210d48065ffbbde42"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SwapStartVC: ClassTooLong \u2014 452 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 52 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc55ba21409f0416b81325b8957d65181edea43e220328d8da54817674c8544"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BabylonStakingInfoVC: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5485fc56089a25eb2d57b8f9c10695b7c9d7f27f61439f81d4b60ae279093781"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CosmosCryptoVC: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e87b53f5e3a92aac435d69350c925b75ec05dca237ff20ed03437da2d1307f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Base/BaseData.swift: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 49 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f49d7076646693b866b0568ce8ccb6add74960219c2ebaa75c3556614531414"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DappSolanaSignRequestSheet.paringRequest: MethodTooLong \u2014 paringRequest runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2fe89024b783e4a1f6498d38053044ec6a94a3cdcb4205cb7585c4fedd9f04"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AccountListVC: 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":"Cosmostation/Controller/Setting/AccountListVC.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"93af76afec6434a70841507029721bdc413c9b95467fb36a3de6f1ea10b53332"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CosmosClass/CosmosClassVC.swift: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 26 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a63ed578958c79aa529bcd410584052cd7428e4539545bcb62d47ac7a3c0c70"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WDP: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/WDP.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ac9bc60aff2573c73a24c7b3ab4e01072609f8b8610707b63711f7db1a4139"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (10 members, 16 shared lines): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:257-280 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:207-230 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:205-229 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:256-279 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:221-245 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:313-337 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:369-393 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:207-230 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:300-324 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:185-208 \u2014 These 10 members are variants of one another: a block of 16 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5310f98f25a46d04618cb8d4de3a39a18373a5418911073856160965df334864"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 21 shared lines): Cosmostation/UI/Cell/DeriveCell.swift:65-192 | Cosmostation/UI/Cell/PopupReceiveCell.swift:31-104 | Cosmostation/UI/Cell/Portfolio2Cell.swift:77-171 | Cosmostation/UI/Cell/PortfolioCell.swift:45-98 | Cosmostation/UI/Cell/ReceiveCell.swift:35-99 | Cosmostation/UI/Cell/SelectChainCell.swift:70-151 \u2014 These 6 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 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":"Cosmostation/UI/Cell/DeriveCell.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e28e2949d777138c44e6aa11a7e0669d2a1948b2a3731e9d44c7a24fe9786e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 19 shared lines): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:55-107 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:38-66 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:35-63 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift:34-77 | Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift:32-64 \u2014 These 5 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 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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82acd1e0e011a306c514dea94eb01397c9a808951d89ea1f836075a8788f975"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 19 shared lines): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:50-75 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:52-77 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:51-77 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:50-81 \u2014 These 4 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 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7b27d8ce6fa816bcdebaba83b3544e8bb9f6b74347bca6a6d1e9f372f01c61"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 16 shared lines): Cosmostation/Controller/Main/ChainSelectVC.swift:32-81 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:31-64 | Cosmostation/Controller/Setting/ChainListVC.swift:25-58 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:26-57 \u2014 These 4 members are variants of one another: a block of 16 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":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb900e0b02f046466b0deeb0a06cfd4961556ffc46630a9f41761389b72ffee"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 12 shared lines): Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:94-107 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:109-122 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:124-137 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:139-152 \u2014 These 4 members are variants of one another: a block of 12 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":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"963132f659dfaf8dcdaffb0dcbbf804150c3a34951ad4f179bdf2e5e9b72865b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 18 shared lines): Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:27-50 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:25-48 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:26-49 \u2014 These 3 members are variants of one another: a block of 18 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":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5950287ac1409f282d2873e3130eab6c3dea3696c38a0981cd2b2e52b41f23b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 2 shared lines): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:45-78 | Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:19-36 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:19-35 \u2014 These 3 members are variants of one another: a block of 2 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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fe55f21b06c9e79094836d8322e606980bd7e9752e0b99d1fce83b2c6e8454"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (53 shared lines): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1650-1726 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1728-1804 \u2014 These two members are variants of one another: 53 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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"158ef0b984211fef16365ad133c11eace7247d849166fbbb2b21227eba1bd148"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (18 shared lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:91-120 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:33-62 \u2014 These two members are variants of one another: 18 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb8d7c0b4513ca6a5e700e30f9abf47406a4b997295d0355a88f97e5b5504f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:234-257 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:182-205 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1a6de3a6fcdde9517c322a1854c40c72d233f634bb95a5e20fd315f3b1fb42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Cosmostation/Controller/Main/DappListViewController.swift:44-155 | Cosmostation/Controller/Main/DappListViewController.swift:353-390 \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":"Cosmostation/Controller/Main/DappListViewController.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"530c7ee7da66f7f394a14f5c5e12227076a21ac26e8cf3fa7485e5ceaf771a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Cosmostation/Controller/Sheet/SheetCell/SelectRefAddressCell.swift:31-66 | Cosmostation/UI/Cell/CheckPrivateKeyCell.swift:34-67 \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":"Cosmostation/Controller/Sheet/SheetCell/SelectRefAddressCell.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c01b5ff1e4140120dc2b4011790f1b3b0dc2a3b3c9ea5a75714f45e162fd16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:202-212 | Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:543-563 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a34148c3d364745ece94c023bce2d621707389676823a629da3445aeae4127"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (24 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:310-334 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:287-313 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:237-264 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:236-263 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:286-312 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:252-279 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:344-372 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:401-429 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:237-265 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:331-359 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:215-243 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:190-212 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:238-266 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:182-210 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:251-275 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:264-288 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:212-238 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:259-286 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1908-1927 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2000-2019 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2058-2080 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2132-2151 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2193-2211 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:554-573 \u2014 These 24 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 24 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 24 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a123a2bcf319a804abf729c2474e54abd7486129d2bbc7a1e3113952203ebf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (22 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:386-402 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:322-339 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:306-323 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:276-292 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:326-343 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:297-314 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:404-433 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:465-518 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:275-291 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:393-425 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:305-322 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:221-230 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:281-296 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:224-233 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:357-366 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:402-411 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:298-307 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:391-400 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:319-335 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:366-382 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:302-332 | Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift:445-454 \u2014 These 22 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 22 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 22 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"381dc47a0a978ac8aa1ad5fb9b11476296935e7822e301d92098c7591bfbeb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (21 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:225-252 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:165-192 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:115-142 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:132-159 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:164-191 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:148-175 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:209-236 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:267-294 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:135-162 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:201-228 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:113-140 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:57-84 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:61-98 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:52-79 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:65-122 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:63-128 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:67-110 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:77-147 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:126-153 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:90-117 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:146-173 \u2014 These 21 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 21 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 21 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d4e334a28f27bfcb4e26a86ed999879d79f721f306afd3c8b2547646437de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (21 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:408-432 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:345-369 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:329-353 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:298-322 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:349-373 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:320-344 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:443-467 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:528-552 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:305-329 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:435-459 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:328-352 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:236-260 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:306-330 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:243-267 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:376-413 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:421-458 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:321-345 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:414-445 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:345-370 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:388-413 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:338-362 \u2014 These 21 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 21 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 21 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c1116ffa17fcef21fe409866bf4fa20312f40de9b7ff149408aea0aecb826d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (18 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:285-308 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:225-235 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:175-185 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:193-203 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:224-234 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:209-219 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:269-291 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:327-347 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:195-205 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:261-278 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:173-183 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:186-212 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:150-160 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:216-226 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:647-748 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:312-338 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcDelegate.swift:198-228 | Cosmostation/Controller/Sheet/AdditionalFeeSheet.swift:75-108 \u2014 These 18 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 18 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 18 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"5758f104315e69a0079777673ce1f3697134ed785a0f954473b572a4b1114a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (16 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:225-252 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:165-192 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:115-142 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:132-159 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:164-191 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:148-175 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:209-236 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:267-294 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:135-162 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:201-228 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:113-140 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:126-153 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:90-117 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:146-173 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:230-325 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:167-212 \u2014 These 16 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 16 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 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae0faad1778174a3253817831ea5a90ed24dd386feca4b88634d5383f3e574c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (16 members, 50\u002B identical tokens): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1095-1125 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1301-1337 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1339-1374 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1452-1474 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1513-1537 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1581-1605 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1806-1828 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1868-1901 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1929-1952 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2021-2044 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2082-2108 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2153-2176 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2213-2236 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:460-484 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:523-547 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:575-598 \u2014 These 16 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 16 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 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"6040753319eb7dad30614e4181f329eb97f1a9978f07e64069d23fd6549c48c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): Cosmostation/Chains/BaseChain.swift:155-235 | Cosmostation/Chains/ChainMajor/ChainAptos.swift:65-94 | Cosmostation/Chains/ChainMajor/ChainIota.swift:66-97 | Cosmostation/Chains/ChainMajor/ChainSolana.swift:69-99 | Cosmostation/Chains/ChainMajor/ChainSui.swift:67-98 | Cosmostation/Chains/ClassCosmos/ChainBabylon.swift:33-78 | Cosmostation/Chains/ClassCosmos/ChainGno.swift:63-109 | Cosmostation/Chains/ClassCosmos/ChainInitia.swift:45-90 | Cosmostation/Chains/ClassCosmos/ChainNeutron.swift:46-93 | Cosmostation/Chains/ClassCosmos/ChainOkt996Keccak.swift:42-83 | Cosmostation/Chains/ClassEVM/ChainBeraEVM.swift:51-94 | Cosmostation/Chains/ClassEVM/ChainOktEVM.swift:71-115 \u2014 These 12 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 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":"Cosmostation/Chains/BaseChain.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"231d1251abadeb3249e99352f87f69dc5c09579aef72bf2d42483bf1fe123bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): Cosmostation/Chains/ClassCosmos/ChainAgoric118.swift:13-30 | Cosmostation/Chains/ClassCosmos/ChainAlthea118.swift:13-30 | Cosmostation/Chains/ClassCosmos/ChainFetchAi60Old.swift:13-30 | Cosmostation/Chains/ClassCosmos/ChainFetchAi60Secp.swift:13-30 | Cosmostation/Chains/ClassCosmos/ChainKava118.swift:13-34 | Cosmostation/Chains/ClassCosmos/ChainKava459.swift:13-34 | Cosmostation/Chains/ClassCosmos/ChainMantra.swift:13-30 | Cosmostation/Chains/ClassCosmos/ChainPersistence750.swift:13-30 | Cosmostation/Chains/ClassCosmos/ChainSei.swift:13-30 | Cosmostation/Chains/ClassCosmos/ChainXpla.swift:13-29 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ClassCosmos/ChainAgoric118.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f660f2fb106108070304c8aa2e72007b4f35e4b0f2faa1520124b70b36ea4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:167-183 | Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:206-237 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:107-123 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronDaoVC.swift:68-90 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:104-120 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:144-177 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift:134-150 | Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:105-121 | Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:149-206 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:104-120 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb71bfd1d302bc660710586fe0ab3a4754b1ea16fdf613e4101774e5bae13c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:61-81 | Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift:135-146 | Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:174-187 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:138-151 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:139-152 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:139-152 | Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:60-70 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:59-75 | Cosmostation/Controller/Main/SettingsVC.swift:60-71 | Cosmostation/Controller/Setting/AccountListVC.swift:309-320 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"400235ce23806d27b90bb2fe7a6a94cc49dbce3b3364bc01beddd7fe4a268f1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:194-206 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:144-156 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:161-173 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:193-205 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:177-189 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:238-250 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:296-308 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:164-176 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:230-242 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:142-154 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f086e19a68e6a44fe8a97bc8f660e6ebe3d005cc31861818344bdadb0f80851d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1480-1511 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1548-1579 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:426-458 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:490-521 | Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:209-241 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:152-184 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:209-241 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:152-184 \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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"8550dfdcbe6b16bd44cc3eea6c6906f84c2cb1fed912a80273a2e55bf8efecc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:158-167 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:174-195 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:130-140 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:234-243 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:268-277 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:199-208 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:281-290 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f80b8ab679c0c157087a4ba9f143a7cbd2a4474d5b1b50685c215861a775534"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:93-102 | Cosmostation/Controller/Main/CosmosClass/CosmosNftVC.swift:132-141 | Cosmostation/Controller/Main/DappListViewController.swift:319-328 | Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift:93-102 | Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift:78-87 | Cosmostation/Controller/Main/MajorClass/MajorNftVC.swift:143-152 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1292c49c1c31b8732751cc1dba46b38e7531c1ea45495d56c77ab75c3b3ec50b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:177-188 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:241-252 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:169-180 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:132-143 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:88-99 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:96-111 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc4d24a6d670004c72473073d89707994a037291169d0aaaca8bc5487dfbb65"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:166-175 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:110-119 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:167-176 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:111-120 | Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift:185-205 | Cosmostation/Controller/Sheet/DappSuiSignRequestSheet.swift:142-158 \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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f06b8e607c7cedae4a1cac7f909b29e889dcba19a891582c9c66d398589a483"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Cosmostation/Fetcher/CosmosFetcher.swift:267-275 | Cosmostation/Fetcher/CosmosFetcher.swift:281-289 | Cosmostation/Fetcher/GnoFetcher.swift:151-159 | Cosmostation/Fetcher/GnoFetcher.swift:173-181 | Cosmostation/Fetcher/IotaFetcher.swift:213-221 | Cosmostation/Fetcher/SuiFetcher.swift:187-195 \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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12f4e7ddc0ba21f41048ded7b85acef937897f8035e89fb0137b0d367c4cefe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Cosmostation/UI/Cell/AboutSocialsCell.swift:49-56 | Cosmostation/UI/Cell/AboutSocialsCell.swift:71-78 | Cosmostation/UI/Cell/AboutSocialsCell.swift:86-93 | Cosmostation/UI/Cell/AboutSocialsCell.swift:96-103 | Cosmostation/UI/Cell/AboutSocialsCell.swift:105-112 | Cosmostation/UI/Cell/AboutSocialsCell.swift:114-121 \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":"Cosmostation/UI/Cell/AboutSocialsCell.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7588a25c0667fc844ac1f6c596651161b315dfb339365c6f0693a6f9d75db11"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Cosmostation/UI/Cell/AssetBabylonCell.swift:77-135 | Cosmostation/UI/Cell/AssetCell.swift:62-78 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:72-154 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:205-277 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:279-347 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:349-389 \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":"Cosmostation/UI/Cell/AssetBabylonCell.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20f8264d08a0c6f05bdd55aa793fb5e8a7d4c32ef053e06a7864e4ddf4bd9bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:23-49 | Cosmostation/Controller/Main/CosmosClass/CosmosNftVC.swift:25-49 | Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift:23-49 | Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift:23-46 | Cosmostation/Controller/Main/MajorClass/MajorNftVC.swift:25-53 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7818067280d04d8e54c712f05ddf0e2e4092e24ad625815299edefc5659b57eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift:175-203 | Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:221-255 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:185-220 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:186-222 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:186-222 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c961e05271cf537e68c3cb3a8a907e7572548f4b25c386cf4990b0201b60f826"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/CosmosRewardListPopupVC.swift:20-56 | Cosmostation/Controller/Main/ServiceVC.swift:17-28 | Cosmostation/Controller/Setting/AddressBookListVC.swift:19-35 | Cosmostation/Controller/Setting/ChainAnnouncementVC.swift:18-37 | Cosmostation/Controller/Sheet/OktSelectValidatorSheet.swift:25-36 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosRewardListPopupVC.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50683ef09ec77904e793262c2bbedf8e5aca5aa758ebb3a2a42982ba89beb57"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:53-79 | Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:82-103 | Cosmostation/UI/Cell/PendingUnbondingCell.swift:33-53 | Cosmostation/UI/Cell/StakeUnbondingCell.swift:36-55 | Cosmostation/UI/Cell/StakeUnbondingCell.swift:79-103 \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":"Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81bede7bee7923d84e221656fb7c5220af1fbb62fcc710e1eb426e58231ee34"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Cosmostation/UI/Cell/AssetCell.swift:80-95 | Cosmostation/UI/Cell/AssetCell.swift:141-156 | Cosmostation/UI/Cell/AssetCell.swift:227-242 | Cosmostation/UI/Cell/AssetCell.swift:261-293 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:156-203 \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":"Cosmostation/UI/Cell/AssetCell.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b63a9fecb754c46f2237605fdca66026b65ba94a6a3a79ee1c8823b9e2f7d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Base/BaseData.swift:313-326 | Cosmostation/Base/BaseData.swift:328-341 | Cosmostation/Base/BaseData.swift:343-355 | Cosmostation/Base/BaseData.swift:357-368 \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":"Cosmostation/Base/BaseData.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddeb6208f40194e1d32e7ab843971e61c87ea12bee1896bf03dac627b10f40b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Controller/Main/ChainSelectVC.swift:230-243 | Cosmostation/Controller/Main/PortfolioVC.swift:345-357 | Cosmostation/Controller/Setting/ChainListVC.swift:165-177 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:103-116 \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":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ccc6b0441dad1cda7d57e72402c052a5ea79cb1dca86f15a7d23ef38c93b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:328-350 | Cosmostation/UI/Cell/DeriveCell.swift:194-216 | Cosmostation/UI/Cell/Portfolio2Cell.swift:173-195 | Cosmostation/UI/Cell/SelectChainCell.swift:153-175 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34f17ba8ec42be707ec942e3e53f8c8df924f3e5a75798d8c10cdf84731853c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:121-126 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:73-78 | Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift:72-77 | Cosmostation/Controller/Main/PortfolioVC.swift:98-103 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6bfb786051141cd332cc14178ea27f187bd6be8989b05dfe7c012012e63b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:189-199 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:153-163 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:154-164 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:154-164 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80334e37e4d8011e068225e21b1aa8e7da0899cc10ea974e79a68e39f2826a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:209-219 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:173-183 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:174-184 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:174-184 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d037dac79eebab53794b328a4d0b6b5b7d25fbd38247d6b322d506f4c32801f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:95-163 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:85-162 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:92-126 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:92-124 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1debac7a66a5a0e72f39bdd2e35d5c151e9f23c2dc3942fa998a07cf168d98ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:53-105 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:69-118 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:75-132 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:67-107 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"733f6ddfd1d88e0f7129f408f2c5adeff1aa6e3180b09fc2bac2fd1d6d2e6a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:254-265 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:145-156 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:101-112 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:113-124 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"14330854aa47158f36783c938f29491762a32792f0616bfda7ba6df78335e1ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:601-620 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:750-856 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:280-294 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:340-393 \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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"223a893b8c062cd5b6cd0968c9f5ffad6205b1095303922cd45615267af4268f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:89-99 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:72-82 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:89-99 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:72-82 \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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d0eb048dd336006cca8a4aac75278057ff8f787fd576034c6df1e6d8d32535"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Fetcher/BabylonBTCFetcher.swift:424-435 | Cosmostation/Fetcher/BabylonFetcher.swift:57-66 | Cosmostation/Fetcher/CosmosFetcher.swift:1067-1081 | Cosmostation/Fetcher/SuiFetcher.swift:247-261 \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":"Cosmostation/Fetcher/BabylonBTCFetcher.swift"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41dd69f3dab193bb6fa47ad3c1376d64c87ad3fe328b8bcf5b4f85d13e2318c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Fetcher/IotaFetcher.swift:155-163 | Cosmostation/Fetcher/IotaFetcher.swift:175-183 | Cosmostation/Fetcher/IotaFetcher.swift:195-203 | Cosmostation/Fetcher/IotaFetcher.swift:235-243 \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":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"050be5295ca6fc62308aef3cbe0e58040cd73b2c196346bad8b2969000259a44"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Fetcher/SuiFetcher.swift:141-149 | Cosmostation/Fetcher/SuiFetcher.swift:155-163 | Cosmostation/Fetcher/SuiFetcher.swift:169-177 | Cosmostation/Fetcher/SuiFetcher.swift:209-217 \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":"Cosmostation/Fetcher/SuiFetcher.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1341f5cec07922a49bcc8a4f0c93e9ed6c2efc696f0114d776561b685960ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Cosmostation/Utils/Crypto/Signer.swift:273-305 | Cosmostation/Utils/Crypto/Signer.swift:307-339 | Cosmostation/Utils/Crypto/Signer.swift:341-373 | Cosmostation/Utils/Crypto/Signer.swift:375-412 \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":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf48108c4c54e2226f1f6e0cf1d39917261a2048e241ca45147c187d883aba37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): Cosmostation/UI/Cell/StakeDelegateCell.swift:44-104 | Cosmostation/UI/Cell/StakeDelegateCell.swift:106-165 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/StakeDelegateCell.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8579d57c7d9936dd16e14ea409035ab8decd9ec1b67ceb12f9bb486896df9053"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1023-1093 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1130-1257 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2de7e210b7281070d9bdf83843219dfa83bada202ce23c942461f391de4821"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:64-142 | Cosmostation/Fetcher/NeutronFetcher.swift:24-104 \u2014 These two members are one piece of code written twice and then edited apart: 79 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a291d80526c85870f372c57d5b68f66c7eae7b3bcc0f82d83df46af8f7fb097f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): Cosmostation/Controller/Main/SwapStartVC.swift:826-875 | Cosmostation/Controller/Main/SwapStartVC.swift:877-925 \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":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a83096b56f1a579317ad6dfb941cf2ce3569738252f6c2df967d2b525027d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): Cosmostation/UI/Cell/AssetSuiCell.swift:58-101 | Cosmostation/UI/Cell/AssetSuiCell.swift:103-146 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AssetSuiCell.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c24b1b04d03a63dbee9d6b9f8420f72008411c5142274705023275b56fc288"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Cosmostation/Controller/Main/SwapStartVC.swift:960-990 | Cosmostation/Controller/Main/SwapStartVC.swift:992-1023 \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":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f092b1b891a3ae235e8a6b7d719d4b84ac460b23e44d79abf78ad5521cfab26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): Cosmostation/UI/Cell/CosmosProposalCell.swift:48-93 | Cosmostation/UI/Cell/VoteAllChainCell.swift:52-93 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/CosmosProposalCell.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8168d4e957530952da02e200b07fd94cbf466802132ee98a65cba7d69cfb79b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): Cosmostation/Base/AppDelegate.swift:163-205 | Cosmostation/Controller/Main/MainTabVC.swift:67-107 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/AppDelegate.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b461edb965ad2fa037ae50ab11aa461f144a5bc2b8a507491816f2a72fd52d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:156-192 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:131-167 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72b8dee820f0a52a495f6c90f19e108cb47f0fc5eb1324085cd956e1344c391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:1101-1128 | Cosmostation/Fetcher/InitiaFetcher.swift:199-231 | Cosmostation/Fetcher/ZenrockFetcher.swift:198-226 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d938fd7aa8f5c13f3622a52816a13b6f85c1e7fbf8b7792976400165ca7a1f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift:80-121 | Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift:123-163 | Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift:74-114 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 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":"Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc5a289707d556a9ab86d8769838d2465a2fb3dff2ca6e0ea01c4cd6b033092"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaSwapListCell.swift:29-51 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaSwapListMyCell.swift:30-61 \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":"Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaSwapListCell.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbc329b8f635039a071ddc1f558a845ec80b700d548fc2891ebc31030de37c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:433-475 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:357-395 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f3a772aa73fb61d4c305069c8ac8a5da71891b655adb65c0455f7beb0bff73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 44\u002B corresponding lines): Cosmostation/Fetcher/AptosFetcher.swift:158-204 | Cosmostation/Fetcher/AptosFetcher.swift:206-249 | Cosmostation/Fetcher/AptosFetcher.swift:252-295 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 44 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":"Cosmostation/Fetcher/AptosFetcher.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c41bc204680976c1aaa2038b104a2addb7878e6ff2583d6141829922cf7d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Cosmostation/UI/Cell/AssetCell.swift:159-191 | Cosmostation/UI/Cell/AssetCell.swift:193-225 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AssetCell.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa18d3476fbe032de1a5fa18d7a2d66a1430d24d92c641bb0559e86b3897a32a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:116-148 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:118-150 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"07eb6adb47eaad9bfd277f86aec7618dfa1a5138a290fd96425acde6484f974d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 50\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:359-414 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:245-300 | Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:256-305 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 50 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":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c87114c79b6e831c53910eadbe4dbe960adb1b6e608ef37d935771d25502e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:41-80 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:40-79 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1eb549198cce3fce5670d0d6d68f616b85b40706967ecf49f1b76e14fcc99d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:97-138 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:295-334 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3084d99c79349074759105de305585bd2b4b705f2d8db5a74175ebbe4e63b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:854-876 | Cosmostation/Fetcher/CosmosFetcher.swift:921-940 | Cosmostation/Fetcher/CosmosFetcher.swift:942-961 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa2d473cc6e61357ba42363fe31a90589bb412d97dd991e963a86b1341ad4fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:142-165 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift:140-162 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdb5a39ce0ecf13c57c6d8028cc1bdde78f51a4f944a2eec07a48e4ce239fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:59-95 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:174-206 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"674dfcbea859fd5871e15679966fcfdf2ef98b73cc9c914ed2310afd7f5f1920"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:502-528 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:431-457 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce54228452b6833430fac6ae7003d4e59bebce46ffe5b264d7e35bae5a394925"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 28\u002B corresponding lines): Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:140-172 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:208-235 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:237-264 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:266-293 \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":"Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c949409b124b777f8bc1350079a80ff7689ecb08d45b5c0ce0f4b79261367c86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): Cosmostation/Chains/BaseChain.swift:255-276 | Cosmostation/Chains/BaseChain.swift:278-299 | Cosmostation/Chains/BaseChain.swift:301-322 | Cosmostation/Chains/BaseChain.swift:324-342 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 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":"Cosmostation/Chains/BaseChain.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3084e5c333c35e0f35952ceda2197798c26abf1a01ffaa60ebcffcd1be777c86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:94-108 | Cosmostation/Controller/Main/MajorClass/Sui/Cell/SuiStakingCell.swift:57-76 \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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a04d42c1f864aea1a358de7992044c67f4acb9b245484bb5871db533e7e368"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Cosmostation/UI/Cell/VoteCell.swift:66-88 | Cosmostation/UI/Cell/VoteThreeItemsCell.swift:54-72 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/VoteCell.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d926d83af6507789ef164e7aef76d0b99e0ac8cbe4e4ef602fd4d14612a6036"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Cosmostation/Base/BaseAccount.swift:96-127 | Cosmostation/Base/BaseAccount.swift:130-161 \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":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bb44ffc3175a0dd982b174668b12cb89ae159cd5243a52e72c1d1e4ea4c5bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:144-170 | Cosmostation/Fetcher/InitiaFetcher.swift:44-70 | Cosmostation/Fetcher/ZenrockFetcher.swift:45-71 \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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c72e6663af155889d2f09578fe43008eaebbdbbfda0c66ff30645778a841597"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:242-261 | Cosmostation/Fetcher/EvmFetcher.swift:98-117 | Cosmostation/Fetcher/GnoFetcher.swift:126-145 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1f7ea82f0bbbe4557b547b38b9bf6981ac543d315c0f2f2777fb532618c22c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:108-140 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:102-126 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"64be516c489e7c64adad3f095a2220b6510bdd43ced98de457451491c64afabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:79-100 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:76-98 \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":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed05d6ddbb2cb4cde8c2e9a7527503d58690c3574af6fa4b7187a54b7eba9bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:126-165 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:122-152 \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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b9fcb58ee2a85b52843ca3ff4f099fa01dd8a2a15a8d418c5e2175b87bbf56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift:22-42 | Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift:95-119 \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":"Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1075c1da7a664661d78544e328dbb635c29744c153d2741c86bb63c25f08e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:144-164 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:145-165 \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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5c852d8072d9e6272cb8931f6343271ed70f5e3cc05aa79fe070ac86b36184"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Cosmostation/Controller/Main/MajorClass/Sui/Cell/SuiStakingCell.swift:36-55 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:94-109 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Sui/Cell/SuiStakingCell.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"892d27c2b6f186b04cda6ab9493c099ee57700922805a1a2018b5e6ff75d2639"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Cosmostation/Controller/Sheet/SheetCell/SelectFeeCoinCell.swift:32-47 | Cosmostation/Controller/Sheet/SheetCell/SelectFeeCoinCell.swift:49-64 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectFeeCoinCell.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"150266b13ba48bbfa1b3a8ea0f71342c13fc0c1c8544b28f940bfcb5e1a2cc65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:1157-1182 | Cosmostation/Fetcher/InitiaFetcher.swift:263-293 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"235da6ede89aa2aed4ac39a69bb040de13a0e9b6e936a2590019d59382e9e5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:592-607 | Cosmostation/Fetcher/CosmosFetcher.swift:609-624 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1fd2afcca47acf637949a369c7d2092b0d92c273a32bf0428514b939ff58f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Cosmostation/Fetcher/EvmFetcher.swift:142-161 | Cosmostation/Fetcher/EvmFetcher.swift:163-181 \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":"Cosmostation/Fetcher/EvmFetcher.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c1244bccabb2ffc1875ed989bcb65c3b05cf9b09d745e21246af1c3ca212cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:50-71 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:48-69 | Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:47-68 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 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":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e9a3c9d4f8a0183e2e6f467d1d241ce8aeef76ead30232df9f8b6d217b2ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift:89-124 | Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:138-165 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dfbbd04b39b6f0de270cae7782a93ec5f68f78a65546c7746c4187a583349f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:266-301 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:300-342 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:314-347 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6201b80b26f254af1e46bae421eb051851d9805529a38a6f1e6527593cdf3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Cosmostation/Controller/Sheet/AnnouncementPopUpSheet.swift:45-73 | Cosmostation/Controller/Sheet/SheetCell/SelectAdsInfoCell.swift:50-78 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/AnnouncementPopUpSheet.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b709cd2387c17444fc5f3139df5b560389574b3483cb550ee6b631716a035302"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:104-119 | Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift:89-104 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd24f5ec145167c2954f6e238b2b2ee922380c4edd100f25a44c7eac37b61fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:352-374 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift:341-361 \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":"Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79ab8c761fb80ef777532523fad52b59b7492b7ef0717f481dbb21ca2cfee68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift:99-131 | Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift:133-163 \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":"Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5232854e6b85d54872b630bb27209b16df7c1dec69265a3513497e6179704a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Cosmostation/UI/Transition/SlideInTransition.swift:18-36 | Cosmostation/UI/Transition/SlideOutTransition.swift:17-35 \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":"Cosmostation/UI/Transition/SlideInTransition.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"688c2915d25998594a407949303ff679297a8e3fc9ba867849ac83373a8638b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Cosmostation/Controller/Sheet/SheetCell/BaseImgMsgCheckCell.swift:31-66 | Cosmostation/Controller/Sheet/SheetCell/BaseImgMsgCheckCell.swift:68-102 \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":"Cosmostation/Controller/Sheet/SheetCell/BaseImgMsgCheckCell.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"626caefeee320ebfbefb54082171a3ec701ce15ae90d084e00c32cc9887bdd5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Cosmostation/Controller/Main/PortfolioVC.swift:648-672 | Cosmostation/Controller/Main/ServiceVC.swift:191-221 \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":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"7595a46e02b3220c0890b223d85135c51e86a9d52f18ca45881af1760ffe87d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:190-207 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:182-199 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"476df3667f3ab8cf2a805730d633c7afb5813d8d78fbdce092beb57b5c3a9db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:433-459 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:236-259 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:261-285 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"797a60a7ac4a02342f07319eb56f5517352b2193a2792a899a6c6f7b9ca5df5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Cosmostation/Controller/Sheet/AdsPopUpSheet.swift:25-54 | Cosmostation/Controller/Sheet/EcosystemPopUpSheet.swift:24-49 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/AdsPopUpSheet.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdf7332e8cf319073c8d89e23dc7a0c18ac51bf15a3620db399496be577e674"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:740-753 | Cosmostation/Fetcher/CosmosFetcher.swift:755-770 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9be209cf418ce8c3011d574d790d2a2a08054f101a53bafd4ad39dd546c5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift:32-57 | Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift:29-54 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2d05840f8e7edeb9286bf11648670a0e56004d348605ceb177a1c398b6b7aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Cosmostation/Fetcher/BtcFetcher.swift:32-47 | Cosmostation/Fetcher/BtcFetcher.swift:49-75 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BtcFetcher.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9628b3884195a8be7f17d859140b65c3cf7880e5582ba1b86ba4548d2448e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Cosmostation/Fetcher/IotaFetcher.swift:334-338 | Cosmostation/Fetcher/IotaFetcher.swift:340-344 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"416a4d9be7c4c5b6b88dadd807935ad253e4e3ad9bf2bd5806cd25f805704403"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Cosmostation/Controller/Sheet/DappDetailSheet.swift:278-294 | Cosmostation/Utils/WUtils.swift:393-409 \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":"Cosmostation/Controller/Sheet/DappDetailSheet.swift"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad256fb353d1ea250b47351652003b066d4b7c100fd5e8b556fe71c2bab1086"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Cosmostation/Controller/Sheet/TxAmountSheet.swift:183-207 | Cosmostation/Controller/Sheet/TxSendAmountSheet.swift:89-113 \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":"Cosmostation/Controller/Sheet/TxAmountSheet.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b327f5b934a4ced4f24600422c0265b09bd95f3af32c9a636473391dcdabfc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Cosmostation/Fetcher/IotaFetcher.swift:478-496 | Cosmostation/Fetcher/IotaFetcher.swift:504-526 \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":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c43928b3e4a257e1198009e158c8186662f18ff8ed34c328c08e2016182caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Cosmostation/Base/BaseAccount.swift:70-93 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift:378-399 \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":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd72de43b751ba16438e6217e2c1a7b7fb2897072aaa7f7a9ed232317bf04d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): Cosmostation/Controller/Main/ChainSelectVC.swift:171-198 | Cosmostation/Controller/Main/PortfolioVC.swift:161-181 | Cosmostation/Controller/Setting/WalletDeriveVC.swift:124-144 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f87bc2b7154e161a50823f7404848f12eafc7709bb8cdae97e81158ea52f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift:311-322 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:202-212 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6dee92a6941321f0fac6f2658221de8808f31fcc27aa6f85e038212d8760bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Cosmostation/Controller/Main/CosmosClass/Kava/KavaDefiVC.swift:22-45 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaEarnListVC.swift:23-45 \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":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaDefiVC.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8b12810cfc197dd60adf3dda259872256364fe9f93e8d98bd0319fea6950c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Cosmostation/Model/RefAddress.swift:23-41 | Cosmostation/Model/RefAddress.swift:44-63 \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":"Cosmostation/Model/RefAddress.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38141820fb17b9cae7bc47917d804c0838dfb99449ec5a15908d4e230603b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Controller/Sheet/SheetCell/BaseSheetCell.swift:48-61 | Cosmostation/Controller/Sheet/SheetCell/BaseSheetCell.swift:71-81 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/BaseSheetCell.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c129b1567c5c37e2bf4c3204020ac09049a1d8b6103d9fd1017db7609c7e1f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:161-181 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:163-183 \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":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf2651592b0e8da04a09c5d58bf2c47a6d7c747db8ec48ab2c36aeac77fb401"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:169-184 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:133-148 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8680ca620887c18feed5a25d369a0106b376680daa63733abcfac5b71f60d236"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:243-265 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:186-208 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:243-265 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:186-208 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b8845ea81c87f068e57bdc69d34945f2abd61300efcac168649a27512fe7ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Cosmostation/Controller/Main/MainTabVC.swift:44-61 | Cosmostation/Controller/Sheet/SendResultSheet.swift:85-102 \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":"Cosmostation/Controller/Main/MainTabVC.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a160492a2ffee35f8507dc0b058ec26c38d0f13d3cf707676a3a32452a10be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoSheet.swift:32-43 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoSheet.swift:45-54 \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":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoSheet.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"899c6f19e3e9b875206377742e2d0362492e213d3c8a5cfce2fdcfacad97e773"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:183-205 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:185-207 | Cosmostation/Controller/Main/AllChainVoteStartVC.swift:254-275 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 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":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"366e4d33019f38581e5d51695433428f6e5715162043d4e1b9800e0c1a30ddcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:55-86 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:53-77 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:57-82 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ed57041209d46b41ed0862b6d95ed1341e76e36448363d9f99643c291e48cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Cosmostation/Controller/Main/DappDetailVC.swift:1014-1023 | Cosmostation/Controller/Main/DappDetailVC.swift:1025-1038 \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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63a30bde6df586f785c4ec4d94ef7fdab9ea85f411368993cb083a5ae1e65ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:109-126 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:128-147 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:149-167 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9217891462b632f08c3f40756943f1a333ec13e901c010115d0a3e31bb6245c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Cosmostation/UI/View/TextInput.swift:13-29 | Cosmostation/UI/View/TextInput.swift:34-51 \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":"Cosmostation/UI/View/TextInput.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dff44f90905be31eb38563894182ff6830d6638b830eef418eca536484d11c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 14\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:169-182 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:217-231 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:162-175 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:245-259 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:279-293 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:230-244 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:292-306 | Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift:262-277 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dcc3028f9e956e58079d4248f3c79f000727ba78ec72d6f2ad29783fc99391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:463-481 | Cosmostation/Fetcher/CosmosFetcher.swift:483-496 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b46d5992eaa44c892eb81a0068e403c8453194b4578841861e238edb31c613"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift:282-305 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:175-197 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:190-212 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift:186-208 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ad05ab747d6c9e284f4b199ffd8668c1fa319cf429d8fe10491c7a8a62d25e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2261-2285 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:614-630 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7294b1ba91b0b16f0ef96b27505182f24b6b58682ba6422e238fa6066a1ad7f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:532-542 | Cosmostation/Fetcher/CosmosFetcher.swift:544-554 | Cosmostation/Fetcher/CosmosFetcher.swift:556-566 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a501136d38568d3d840eb333ffad90ead129d69c888fb0496a1ef265c73ed11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Cosmostation/Fetcher/InitiaFetcher.swift:96-107 | Cosmostation/Fetcher/InitiaFetcher.swift:109-119 | Cosmostation/Fetcher/InitiaFetcher.swift:121-131 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/InitiaFetcher.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"419b5bf9126f7e56ab02c71890fb359ddd548889c99ad13536ed6d9e4a2ccce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Cosmostation/Fetcher/IotaFetcher.swift:354-358 | Cosmostation/Fetcher/IotaFetcher.swift:360-364 | Cosmostation/Fetcher/IotaFetcher.swift:366-370 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"498227d79f7bd6d8a79147591bcee056dc4b1eec8cf2e4eb7f045e6715ff5bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Cosmostation/Fetcher/ZenrockFetcher.swift:97-108 | Cosmostation/Fetcher/ZenrockFetcher.swift:110-120 | Cosmostation/Fetcher/ZenrockFetcher.swift:122-132 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/ZenrockFetcher.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e563a8e40dc40477932ca2b5258075e8b7048cf88f1425582d1e69ace04d55c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:207-230 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:232-251 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:253-272 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:314-333 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34502a286917d19af7c7aa4006ad97019e64fe85cb46b65499461192aecfe90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Cosmostation/Utils/KeyFac.swift:22-37 | Cosmostation/Utils/KeyFac.swift:77-90 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/KeyFac.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7378cf47a1133714aacb0e192ec84b2f301cc29c145459f5079a7b1ac3b3ff58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Cosmostation/Controller/Main/ChainSelectVC.swift:276-296 | Cosmostation/Controller/Setting/WalletDeriveVC.swift:264-283 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3452e0c826e928691bf1b706bb0651ad876835eb88da7580d3db52f72006823"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:19-36 | Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:19-34 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"13165f16a8c0c3defeed4c072e6b1db1ab51ad18a9f06f4aeb9866256f1f0e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Cosmostation/Fetcher/BabylonFetcher.swift:115-128 | Cosmostation/Fetcher/BabylonFetcher.swift:130-143 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BabylonFetcher.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee20a0c53ea20dd9905642a9f2c0c8179844f486d76a4a02c6cba56ab7722c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 10\u002B corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:626-635 | Cosmostation/Fetcher/CosmosFetcher.swift:637-646 | Cosmostation/Fetcher/CosmosFetcher.swift:648-657 | Cosmostation/Fetcher/CosmosFetcher.swift:671-680 | Cosmostation/Fetcher/InitiaFetcher.swift:133-142 | Cosmostation/Fetcher/InitiaFetcher.swift:144-153 | Cosmostation/Fetcher/ZenrockFetcher.swift:134-143 | Cosmostation/Fetcher/ZenrockFetcher.swift:145-154 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f3686d17e05124f9bcc694b4bd8e7ccd47c3c1f992d362707f8c17b3350c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:55-73 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift:55-71 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21c7834ba999e01c2a22cb097388d89ae6cea39a074153c6607da3bd5cc2c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:219-230 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:223-234 \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":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"303a3447ed28c75525d10d0969891c4e92bbde676d1ae69528186fb606d7cbaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:56-79 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:56-79 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae86e502b936afb42d8ba9ca4dd87684541a8c06693b4ed0101b7516c55d9640"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:675-691 | Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:693-714 | Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:716-737 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28cb5a54d3882627a4ca382205c0dceb34cae4c1744402a3674ec6a20131caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Cosmostation/Fetcher/GnoFetcher.swift:280-298 | Cosmostation/Fetcher/GnoFetcher.swift:300-312 \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":"Cosmostation/Fetcher/GnoFetcher.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a144c3b041ee48a0cd2b1ddbea408d2374e2aaed88369e2a9d8c62be1836de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Cosmostation/UI/Cell/Portfolio2Cell.swift:35-53 | Cosmostation/UI/Cell/SelectChainCell.swift:30-46 \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":"Cosmostation/UI/Cell/Portfolio2Cell.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bda149f77679b6568420efe64478337d31c719992e0bb4816d7fa5d22730b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:195-211 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:190-206 \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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f118128c3ccd4529c33733ff40d807ee5c26c62b111580a7fc815837ce9c74e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Cosmostation/Controller/Main/DappDetailVC.swift:324-337 | Cosmostation/Controller/Main/DappDetailVC.swift:339-352 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e662f9224fb523fcaa835b8ba11438f4310195a4970e97b7e0d871ac71e765d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:203-215 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:126-135 | Cosmostation/Controller/Sheet/SendResultSheet.swift:64-72 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"023352e60f3a9d08071477ea3b0f0074509051c949f7c8a498fd1b30e0055489"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:31-55 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:31-52 | Cosmostation/Controller/Main/AllChainVoteStartVC.swift:34-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 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":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6ed5272e0d80fb28f96a9a37207927522dab783cf5b17f84347f27ab8dd908"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:145-169 | Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:322-346 | Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:348-372 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"065841506e79209475003c03a0a30f477e6e4c042c9dcf56a58b060d6623eb66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:149-159 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:82-94 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a90243717173d4a898f6619a42bc7be6c72bc22607eaa474d2e5b1f9b761979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:444-454 | Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:456-466 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxSendAddressSheet.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"988c410233ff3d342acfdc347f9bd78458a8dff855f8cdaac53982b7c34faee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:169-183 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:133-146 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"62135db57d0bd1cb9e664d30fe8127368d516c1d4e21a094ed04663f0df1671d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Cosmostation/UI/Cell/AssetCell.swift:244-259 | Cosmostation/UI/Cell/AssetCell.swift:295-310 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AssetCell.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5b5233ba79d6512244f854e1e81d217432f3a720c3d43af81fbb6187b8ba99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Cosmostation/Utils/Crypto/Signer.swift:672-686 | Cosmostation/Utils/Crypto/Signer.swift:688-703 \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":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"56585414042d4354d36d4aaa6283a4ea80714cd262c863ab8f34d19e464e377b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:240-258 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:198-215 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:161-174 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3052dda7eba898e0de516535d2fbcd89572c1e350fbdde973289e8f408effc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Cosmostation/Utils/Crypto/Signer.swift:988-1007 | Cosmostation/Utils/Crypto/Signer.swift:1009-1029 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff8991c7b82fa69d02ddaa9e34e9f71b4fbc75eed02cb3b97c9e3ce2df5b73a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Cosmostation/Controller/Sheet/CreateNameSheet.swift:40-52 | Cosmostation/Controller/Sheet/RenameSheet.swift:42-59 \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":"Cosmostation/Controller/Sheet/CreateNameSheet.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6c647801fb60c8c7d18c4c1a000003cbb24349fc2cfbb3a5be8e06c90c2dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Cosmostation/Utils/WDP.swift:28-34 | Cosmostation/Utils/WDP.swift:40-45 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/WDP.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a76edc108e90f2921b9e394ee7eb4851c880a2686b4ca77d761ebf23507a0da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Cosmostation/Fetcher/InitiaFetcher.swift:19-42 | Cosmostation/Fetcher/ZenrockFetcher.swift:20-43 \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":"Cosmostation/Fetcher/InitiaFetcher.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3115c1e713445d56edfd322e5b7bc462b06772bf8ef24310df11b47176e814f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:205-218 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:182-195 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4565d67ac2d3fc1954c255d14a33104beb4556f21e2384a63ca2375dd83d54f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Cosmostation/Fetcher/SuiFetcher.swift:587-595 | Cosmostation/Fetcher/SuiFetcher.swift:605-617 | Cosmostation/Fetcher/SuiFetcher.swift:619-630 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/SuiFetcher.swift"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d1909c12c8ed46dd020a0cb053178976080fe37569fae3d5094847e4ebba96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Cosmostation/Controller/Sheet/TxAddressLegacySheet.swift:26-49 | Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:32-51 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxAddressLegacySheet.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1548dff3082af9df36586551c8e25a173d8cbde61afbb4d4c17e5fe0b0ae813"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift:85-97 | Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift:78-88 | Cosmostation/Controller/Sheet/DappSuiSignRequestSheet.swift:87-96 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e7dbce69e67de902056b819dc032f4b62427ea7300bd45351c01d228433c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 5\u002B corresponding lines): Cosmostation/Fetcher/SolanaFetcher.swift:148-152 | Cosmostation/Fetcher/SolanaFetcher.swift:155-159 | Cosmostation/Fetcher/SolanaFetcher.swift:180-184 | Cosmostation/Fetcher/SolanaFetcher.swift:186-190 | Cosmostation/Fetcher/SolanaFetcher.swift:223-227 | Cosmostation/Fetcher/SolanaFetcher.swift:271-276 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/SolanaFetcher.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"87206b687fc9d8548209d37447e566323546b801b4bef96591ff86d0a34a16e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:134-146 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:116-125 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d78546096c8752510b5a1b4e56fa5572ebaa4ffe43ae21ad410b5699961bb41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:90-101 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:103-115 \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":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26a15a1d621bf3ea8ec533dc8ea34334759c1a01961cf0b07cb5919309d0951"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 21\u002B corresponding lines): Cosmostation/Chains/ChainMajor/ChainAptos.swift:43-63 | Cosmostation/Chains/ChainMajor/ChainBitCoin86.swift:48-69 | Cosmostation/Chains/ChainMajor/ChainIota.swift:42-64 | Cosmostation/Chains/ChainMajor/ChainSolana.swift:41-67 | Cosmostation/Chains/ChainMajor/ChainSui.swift:43-65 | Cosmostation/Chains/ClassEVM/ChainOktEVM.swift:48-69 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ChainMajor/ChainAptos.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67c3cb958b69b699a72d9a1ad6072a542084c2629cab6d9a7fea0e5b6e1bbc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:107-113 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:120-128 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:134-142 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:109-117 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:84-90 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0068b5fb9d2c13f672137b77aaf5c43dc9a6f8f37b74e46ef41d704f2f9a5b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:91-101 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:91-101 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:91-101 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"298e331f7730140d0d877d0e202e6aafa39bc7942f3068a58d5ec0cc8a39055c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Cosmostation/Controller/Setting/CheckMenmonicVC.swift:134-141 | Cosmostation/Controller/Setting/CheckPrivateKeyVC.swift:50-57 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Setting/CheckMenmonicVC.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81055d79249681789a497054d6e2ed6cb55ae4eac68c16809de74e4d0981aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Cosmostation/Controller/Setting/WalletDeriveVC.swift:222-234 | Cosmostation/Controller/Sheet/BaseSheet.swift:380-392 \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":"Cosmostation/Controller/Setting/WalletDeriveVC.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"098d9b13b588897b5e7b19dd56db88f6d27039924795493ec8484d737bbe355e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2046-2055 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:600-609 \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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":2046}}}],"partialFingerprints":{"codehealthFindingId/v1":"894ad23c602f8dbd3ce1b08ca2699e4d28bb596479fd790683a33db882439af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Controller/Init/CreateMnemonicVC.swift:57-69 | Cosmostation/Controller/Setting/CheckMenmonicVC.swift:54-64 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Init/CreateMnemonicVC.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8a1be4dcb124d36466ec5eab33de930261157fa6cef913e4429d9094cbdce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:232-240 | Cosmostation/Fetcher/GnoFetcher.swift:114-124 \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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"888e7037461fd6cf45b14bd1c37a308f90aac4330c671c4f32c10d8e5bad2946"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Cosmostation/Fetcher/IotaFetcher.swift:30-45 | Cosmostation/Fetcher/SuiFetcher.swift:34-50 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f01cbc37043f00ac2a60184bb462f6ca2b3fafa7fb35dc8e94b5963340fbab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Cosmostation/Fetcher/SuiFetcher.swift:412-424 | Cosmostation/Fetcher/SuiFetcher.swift:468-479 \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":"Cosmostation/Fetcher/SuiFetcher.swift"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36e43c5a88c9750c53d974b3f28084b6111333bf4469fd80268c38fb8864f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:425-436 | Cosmostation/Fetcher/SolanaFetcher.swift:108-119 \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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"af55d9acf8f0c91a664c07296c84a4a24ab0cf1806352ccb1421fa5806957b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:101-116 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:101-116 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"153aa19af318b41961dc503fb0e81ea609e090dccec612f38e1da3e8eeca8fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Cosmostation/Base/BaseData.swift:268-276 | Cosmostation/Base/BaseData.swift:278-287 \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":"Cosmostation/Base/BaseData.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f83b3c2ff74b4b52fc6155f8fb6cbeac5a425d750568f56a1857c4d9bd1c6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Controller/Pincode/PincodeVC.swift:187-198 | Cosmostation/Controller/Pincode/PincodeVC.swift:200-210 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Pincode/PincodeVC.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1daadbbe23f0beec8f32292e1ae565fb9102d62edc942aabe8e69ca5d8d5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Cosmostation/Fetcher/IotaFetcher.swift:465-469 | Cosmostation/Fetcher/IotaFetcher.swift:471-476 | Cosmostation/Fetcher/SolanaFetcher.swift:161-166 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c76dc66dfd83267ac1e790e9eba64cb9f919724a007330d2cc0ee09df25b944"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosReceiveVC.swift:41-54 | Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift:123-134 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosReceiveVC.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c89a5ddabde481b20a0695c4f9c26b6b738a533dcdb77e8948483de2a0f224a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:428-432 | Cosmostation/Fetcher/IotaFetcher.swift:295-298 | Cosmostation/Fetcher/IotaFetcher.swift:319-322 | Cosmostation/Fetcher/IotaFetcher.swift:324-327 | Cosmostation/Fetcher/IotaFetcher.swift:372-375 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxSendAddressSheet.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede898208faf93920ad270164c53d0eca7cac9fd9832ab25023768cb5c3d8755"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:191-200 | Cosmostation/Fetcher/InitiaFetcher.swift:72-81 | Cosmostation/Fetcher/NeutronFetcher.swift:107-114 | Cosmostation/Fetcher/ZenrockFetcher.swift:73-82 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a228348194b0e50eb86f657246272f97db144de4dc6a67a2ba0f0d965e3a9a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Cosmostation/Controller/Sheet/TxAddressLegacySheet.swift:116-126 | Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:371-379 \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":"Cosmostation/Controller/Sheet/TxAddressLegacySheet.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4320444fcb805a85e396caf61c3b7ed7cc39e91621f0112961c25d6f05020d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:878-889 | Cosmostation/Fetcher/NeutronFetcher.swift:160-168 | Cosmostation/Fetcher/NeutronFetcher.swift:170-178 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7421ef5601372019f3391b27e49040d5485966dfb020461ee4a6c4e6ce0a2a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:1204-1215 | Cosmostation/Fetcher/CosmosFetcher.swift:1221-1230 \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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5198fc4c1df86e5851017f9465736be87cef8b615d08cf0bb510fb1497b9958a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Fetcher/IotaFetcher.swift:407-418 | Cosmostation/Fetcher/IotaFetcher.swift:423-433 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab6307a4e7ebe9360b274d2f1f6ac3bd27ac0176be4757d99b8374ac9104499"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 21\u002B corresponding lines): Cosmostation/Chains/ClassEVM/ChainBeraEVM.swift:15-36 | Cosmostation/Chains/ClassEVM/ChainSaharaAiEVM.swift:13-33 | Cosmostation/Chains/ClassEVM/ChainTabiEVM.swift:13-33 | Cosmostation/Chains/ClassEVM/ChainWardenEVM.swift:13-33 | Cosmostation/Chains/ClassTestnet/ChainBeraEVM_T.swift:13-35 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ClassEVM/ChainBeraEVM.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7131196a6bd8cd053d6a49953e0886d098467571f248fa908705283e41959b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Cosmostation/UI/Cell/AssetCell.swift:27-41 | Cosmostation/UI/Cell/AssetCell.swift:43-60 \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":"Cosmostation/UI/Cell/AssetCell.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b271d4bf5a1553af89e5d47773e97abc0b1f4a0bde0a275ce11e81a61b3789f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Cosmostation/Chains/ChainMajor/ChainAptos.swift:106-110 | Cosmostation/Chains/ChainMajor/ChainAptos.swift:112-116 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ChainMajor/ChainAptos.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"119de890a9ef55fff6799adb00e749f8d3bdee2ca7c640eae8151c4b1c33ead8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 5\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:128-132 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:66-71 | Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift:66-70 | Cosmostation/Controller/Pincode/PincodeAlphabetVC.swift:62-79 | Cosmostation/Controller/Pincode/PincodeDecimalVC.swift:42-47 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dd19870443965e24b19cdc55bf151756b93bcd452d5718f4d471707646b23f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Controller/Main/CosmosClass/Kava/KavaEarnListVC.swift:131-141 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:218-228 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaEarnListVC.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e70fd9c6fa9b04a2d9ada1877f0e0ac322fcb851e778e53e06690367cd44096"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 8\u002B corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:336-343 | Cosmostation/Fetcher/CosmosFetcher.swift:355-362 | Cosmostation/Fetcher/InitiaFetcher.swift:168-175 | Cosmostation/Fetcher/InitiaFetcher.swift:188-195 | Cosmostation/Fetcher/NeutronFetcher.swift:139-146 | Cosmostation/Fetcher/NeutronFetcher.swift:148-155 | Cosmostation/Fetcher/ZenrockFetcher.swift:168-175 | Cosmostation/Fetcher/ZenrockFetcher.swift:187-194 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d294227ed16bd2aaaaf26e4097971bc10c56b95f7f5ddcce3518597383af494"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 4\u002B corresponding lines): Cosmostation/Fetcher/EvmFetcher.swift:137-140 | Cosmostation/Fetcher/EvmFetcher.swift:251-254 | Cosmostation/Fetcher/EvmFetcher.swift:256-259 | Cosmostation/Fetcher/EvmFetcher.swift:267-270 | Cosmostation/Fetcher/EvmFetcher.swift:272-275 | Cosmostation/Fetcher/EvmFetcher.swift:277-280 | Cosmostation/Fetcher/EvmFetcher.swift:282-285 | Cosmostation/Fetcher/EvmFetcher.swift:287-290 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/EvmFetcher.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da588e288485bba9fc0df56610f4a0d345d5a69781ac7d4116045e05e29d884"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Cosmostation/Fetcher/IotaFetcher.swift:285-288 | Cosmostation/Fetcher/IotaFetcher.swift:290-293 | Cosmostation/Fetcher/IotaFetcher.swift:329-332 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2904e2f91287bedf85c7dbb575b891cf2e8e8022ec66d88737578ba34bc6c2b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Cosmostation/Chains/ClassEVM/ChainArtelaEVM.swift:13-33 | Cosmostation/Chains/ClassTestnet/ChainArtelaEVM_T.swift:14-36 \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":"Cosmostation/Chains/ClassEVM/ChainArtelaEVM.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"12df816692f4230a41d7ecc575a8ad63e31280dff811b1a0635ccf92cba6d8bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Cosmostation/Controller/Sheet/TxAmountLegacySheet.swift:32-47 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:31-46 | Cosmostation/Controller/Sheet/TxSendAmountSheet.swift:33-45 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxAmountLegacySheet.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"42436acccf4f9e74fcfaa7d2a53ac5dda38db0c393b73204c9d76f9a22b7d06a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Cosmostation/Fetcher/BtcFetcher.swift:177-183 | Cosmostation/Fetcher/BtcFetcher.swift:185-193 | Cosmostation/Fetcher/BtcFetcher.swift:195-201 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BtcFetcher.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"663886627676084f6596e954bf3439525a3f5f185d38e38d3766cc1a927b9e35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:641-651 | Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:653-663 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9963bc4b5c35fa2806aaf90f18d93fc111172a3cdb8d6d28a0985e679aa416"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Cosmostation/Controller/Main/SwapStartVC.swift:799-803 | Cosmostation/Controller/Main/SwapStartVC.swift:805-809 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba86b1cf7610d04c58262a840c3f39f138f197043fcda16f5ad27c74367cbba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Cosmostation/Utils/WDP.swift:251-260 | Cosmostation/Utils/WDP.swift:262-271 \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":"Cosmostation/Utils/WDP.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"222983058b05d6b7f5b28e8404222b8c0bc1a424e3158ff74f3428ddf3a6b51e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:462-474 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:198-210 | Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift:202-214 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16316a23fb6c8f5fe149b7ea47826f800cdf441b8110b70d673020cc0a3b5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:46-64 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:46-64 \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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5098165ed107b71798f7d88068f24d3b12aef03cbbd02e85a5a67791f6723c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Cosmostation/Controller/Setting/ChainListVC.swift:197-205 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:136-144 \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":"Cosmostation/Controller/Setting/ChainListVC.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7939dac9c515d0be348c1bccd06aa5701737db184f9c54290fc99651d23a42e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): Cosmostation/Controller/Main/DappDetailVC.swift:299-310 | Cosmostation/Controller/Main/DappDetailVC.swift:312-322 | Cosmostation/Controller/Main/DappDetailVC.swift:354-363 | Cosmostation/Controller/Main/DappDetailVC.swift:365-374 | Cosmostation/Controller/Main/DappDetailVC.swift:376-385 | Cosmostation/Controller/Main/DappDetailVC.swift:387-397 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa17ec2b33324d18a58802078a52086223717fcfd7c8540e4f6e083c3609f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): Cosmostation/Fetcher/CoreumFetcher.swift:32-39 | Cosmostation/Fetcher/CosmosFetcher.swift:310-317 | Cosmostation/Fetcher/CosmosFetcher.swift:373-380 | Cosmostation/Fetcher/EvmFetcher.swift:90-96 | Cosmostation/Fetcher/SolanaFetcher.swift:100-106 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CoreumFetcher.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a2f9a74d7461d53cbbf17ca384b4aa98cec0ccf0e37f37d85d6eb60c47ca63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Cosmostation/Fetcher/OktFetcher.swift:135-140 | Cosmostation/Fetcher/OktFetcher.swift:146-151 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/OktFetcher.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bb1aefacac1a1612bd240fb3ca2f6d33fad67a243d2599b4cc24cf6a0262ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:416-431 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:339-355 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f8ace6cae0e1edbb13f15d36415f95f5f53d83feaa995f4e0afab72c1b5330"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): Cosmostation/Utils/WDP.swift:175-183 | Cosmostation/Utils/WDP.swift:203-211 | Cosmostation/Utils/WDP.swift:231-239 | Cosmostation/Utils/WDP.swift:241-249 | Cosmostation/Utils/WDP.swift:273-281 | Cosmostation/Utils/WDP.swift:291-299 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/WDP.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30bbf4f2cd398d5cb82c7f3c1554a7b6b17c2e25cc0b3465e26c511f5110e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:806-813 | Cosmostation/Controller/Setting/AddressBookListVC.swift:111-118 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:172-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 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"8248c2c14e1d60b82f279de49d542c71464d787f188b55c51ea578f61112cee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift:116-126 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:82-92 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift:80-90 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"47911f40c923fc4a8f48b03a68817e6913926fa22011e57ff332c64e0ce43e7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:193-203 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:135-145 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:194-204 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:136-146 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdf93d5456ecff45121f048ecbf4e98df05f05ab6ca9df8faaa2b99839bf875"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Cosmostation/Controller/Main/ServiceVC.swift:61-69 | Cosmostation/Controller/Main/ServiceVC.swift:71-78 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/ServiceVC.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7498e0049af5c7a74d7cc345fec8734115951bfeec71bd193cf62021cc3969"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Cosmostation/Controller/Main/SwapStartVC.swift:267-281 | Cosmostation/Controller/Main/SwapStartVC.swift:292-306 \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":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4d5a0fac45a06cc8bf3a11d19c7036a4c895851b5267240dde7870db22f8b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Cosmostation/Controller/Sheet/TxAmountLegacySheet.swift:120-127 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:227-234 | Cosmostation/Controller/Sheet/TxSendAmountSheet.swift:133-140 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxAmountLegacySheet.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafef2cf5cf96dfc16bcf0ebf8de1b79742f200a4898a885684e196e6ea3c747"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Cosmostation/Base/BaseData.swift:397-407 | Cosmostation/Base/BaseData.swift:409-417 \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":"Cosmostation/Base/BaseData.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"e932c915411497eb5af91906078ab2551802b645a21887f3116b8e6615194ed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:237-244 | Cosmostation/Controller/Main/AllChainClaimStartVC.swift:255-263 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:240-247 | Cosmostation/Controller/Main/AllChainVoteStartVC.swift:447-454 | Cosmostation/Controller/Main/AllChainVoteStartVC.swift:456-463 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b5e27e5821e54c8c90f297cab54865b0995a134af3db837de3007425769b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): Cosmostation/Base/BaseData.swift:544-551 | Cosmostation/Base/BaseData.swift:559-566 | Cosmostation/Base/BaseData.swift:574-581 | Cosmostation/Base/BaseData.swift:595-602 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseData.swift"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"155fe621fd9849e21e12052e4aad3ed3c60fb131fe7b347e0602f6eaeebbf60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:344-356 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:358-370 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:277-293 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcabab9ce48c342712fcfe902483571c658eaefcb0dea18771db76173b83153"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Cosmostation/Chains/ClassCosmos/ChainOkt996Keccak.swift:15-33 | Cosmostation/Chains/ClassEVM/ChainOktEVM.swift:18-39 \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":"Cosmostation/Chains/ClassCosmos/ChainOkt996Keccak.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f31518422c7ff35569ebd4ef6c1e7d62aa5d428c416d68009e7a91c20ada65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 5\u002B corresponding lines): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:67-72 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:54-59 | Cosmostation/Controller/Main/AllChainVoteStartVC.swift:62-67 | Cosmostation/Controller/Main/ChainSelectVC.swift:104-108 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e425d6fdcb6616b177c44a0a6b8dfae66f2f26361f002f378adc32c700c0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Cosmostation/Fetcher/BabylonBTCFetcher.swift:437-447 | Cosmostation/Fetcher/BabylonFetcher.swift:68-77 | Cosmostation/Fetcher/CosmosFetcher.swift:1041-1052 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BabylonBTCFetcher.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3058e3c3a89c7e15eca6b50d723bf052c66662c6657dd03f4c40767af310fec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Cosmostation/Fetcher/InitiaFetcher.swift:159-166 | Cosmostation/Fetcher/InitiaFetcher.swift:177-186 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/InitiaFetcher.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7886f180fcde339194fe56aabdc5a36f3b7c61afe76fe932c5718d7859b49c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Cosmostation/Utils/WDP.swift:99-104 | Cosmostation/Utils/WDP.swift:106-111 | Cosmostation/Utils/WDP.swift:117-123 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/WDP.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4621fe3072e724b759bf275d62329cd4462103a3563dff3f68bc460b7d753c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Cosmostation/Fetcher/BabylonBTCFetcher.swift:409-422 | Cosmostation/Fetcher/GnoFetcher.swift:349-360 \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":"Cosmostation/Fetcher/BabylonBTCFetcher.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53e5c66631b6d4783add2214fa6c1cc61c06b9e095f8fc65637de8b964420eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Utils/Crypto/Signer.swift:64-74 | Cosmostation/Utils/Crypto/Signer.swift:77-87 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d839cface07278797ffdef6dc498b49704b70efad8025ee2f6cdebdabef15d5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Cosmostation/Base/BaseData.swift:538-542 | Cosmostation/Base/BaseData.swift:553-557 | Cosmostation/Base/BaseData.swift:568-572 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseData.swift"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb04b861a30f4fff2842e0855817c19b4a82664fad42a279a1863926a92d9b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:402-410 | Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:412-420 \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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a8cee8c9045871cfcdb08ad92ed03afc853d208b1fce1d63964eb69615922b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:372-383 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:385-396 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"717e1a0581ecf5a28b49d2b22623c8a3d1c1b0a2738dfa8bfbe043c250888518"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:246-257 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:241-251 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"659a852bc02ea6fa50384136e928d300f326ab3070ea1e1c9b0ba039830e9e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Cosmostation/Controller/Sheet/SheetCell/SelectDisplayTokenCell.swift:30-35 | Cosmostation/Controller/Sheet/SheetCell/SelectDisplayTokenCell.swift:101-106 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectDisplayTokenCell.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26ac677dc6a7a05cc757277f2fc04d6a217ca0b7acf42eacf6e54f6518637b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): Cosmostation/Base/BaseData.swift:804-811 | Cosmostation/Base/BaseData.swift:836-843 | Cosmostation/Base/BaseData.swift:851-860 | Cosmostation/Base/BaseData.swift:869-878 | Cosmostation/Base/BaseData.swift:887-894 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseData.swift"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebac7940951255e50dd17a9dfba309671d217468f2e127a8d19d1494760d2beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:153-163 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:165-175 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:177-187 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:189-199 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a53f52f014ae9da00d26b1aa58875ec51f96be9512c5f670990a609b1df4d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:230-238 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:185-196 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:148-159 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e285ff584e896f1ab25137a046389c3ef5c274c3d4b41a08308481634043b3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Cosmostation/Fetcher/BabylonBTCFetcher.swift:164-172 | Cosmostation/Fetcher/CosmosFetcher.swift:415-423 \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":"Cosmostation/Fetcher/BabylonBTCFetcher.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4fe29e3292781a6a8e1c94cb0835d0bada6f5253a749438d22ea102169a050"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:144-154 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:119-129 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"037f3922817052d1c6fd6cd804d32bfe0967b42ac2a2c0367f2bf12b6e267941"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:81-93 | Cosmostation/Controller/Setting/WalletDeriveVC.swift:146-156 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"af71da1691757b91a33403f9764ba37095e52bef8adf3c726f2e641980fe2d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Cosmostation/Controller/Pincode/PincodeVC.swift:169-172 | Cosmostation/Controller/Pincode/PincodeVC.swift:174-177 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Pincode/PincodeVC.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b40ae47b5b67be0cd3ea18e1dd6267b94b311011fec9691d363611e316a774"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Cosmostation/Controller/Init/ImportMnemonicCheckVC.swift:63-67 | Cosmostation/Controller/Init/ImportMnemonicVC.swift:26-30 | Cosmostation/Controller/Init/ImportPrivKeyVC.swift:26-30 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Init/ImportMnemonicCheckVC.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c577430a40223ac4117e8376a1ca0c114602ba92cd1185bf3d777b09280973"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:111-115 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:84-88 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4ac93f28a461ee04c26885599cabedfa64f444ea4e58b85566fe150901e3c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Cosmostation/Controller/Setting/AccountListVC.swift:131-137 | Cosmostation/Controller/Setting/AccountListVC.swift:139-145 | Cosmostation/Controller/Setting/AccountListVC.swift:147-153 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Setting/AccountListVC.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"96446051b02f6b3991ab61ea4cefb5f662e1874b7a3f9f5fa34d878433467820"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Cosmostation/Controller/Main/DappDetailVC.swift:1287-1296 | Cosmostation/Controller/Main/DappDetailVC.swift:1298-1308 \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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafe26e6e6d818e1d0109b5633621e07d2eaa5a7cae66c7edd92a20a013004d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:584-598 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:265-278 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"d418b4615f21112c9adfbfe2df0651a1ea827d7fd7ddfef8b64cd49e156a8321"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Cosmostation/Fetcher/SolanaFetcher.swift:169-172 | Cosmostation/Fetcher/SolanaFetcher.swift:175-178 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/SolanaFetcher.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af3492f40773f13c895ab48187374389dba410f807427cb22bc3310e40b2db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:303-313 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:315-325 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:327-337 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:339-350 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63bf528814f56474041bf4814830387771d83c5073407da4c9ca19a73a99f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Cosmostation/Base/BaseAccount.swift:34-41 | Cosmostation/Legacy/MWords.swift:23-30 | Cosmostation/Model/AddressBook.swift:19-27 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"869ad29513cf2c1ab70e084bdd1b3c9616c014001d7eb21d9ebebd84a942763b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:70-73 | Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift:70-73 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74bcbb7196ddf32e76230374720f3b55ae8abd65b96657070f76205e8a81e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Cosmostation/Controller/Sheet/AdsPopUpSheet.swift:126-131 | Cosmostation/Controller/Sheet/AdsPopUpSheet.swift:133-138 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/AdsPopUpSheet.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6665949940423c7df064b786f30c3b378a66a10e42474955dafa0a3ab60559"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Cosmostation/Controller/Sheet/DappGnoSignRequestSheet.swift:48-58 | Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift:64-76 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappGnoSignRequestSheet.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0454d3f5af3a3afe16cd1cfa626c9fd260722f2ff22f77a883b4fb3807483012"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Cosmostation/Base/BaseData.swift:507-512 | Cosmostation/Base/BaseData.swift:616-622 | Cosmostation/Base/BaseData.swift:629-635 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseData.swift"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"207cf3602a86e1a9b23ba7f4f0bdf280a396e2335592cd81fe8600246e6b702e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Cosmostation/Controller/Main/DappDetailVC.swift:977-980 | Cosmostation/Controller/Main/DappDetailVC.swift:982-985 | Cosmostation/Controller/Main/DappDetailVC.swift:996-999 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"802ccbba89f40556512b56df6b55f3b10f93dcc05f831c8281e7492e198a9af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:466-474 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:232-240 \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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad661d2d96c36df9bfdeb35d58de5dc2e9168f3807217b483705ba48ead5ff38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Cosmostation/Fetcher/AptosFetcher.swift:152-155 | Cosmostation/Fetcher/BtcFetcher.swift:131-134 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/AptosFetcher.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2e433b3c78f61d6db12884a88fa2fd551f4d77d99e8adb6845eb893d97d4af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Cosmostation/Legacy/LModel/L_Generator.swift:16-26 | Cosmostation/Legacy/LModel/L_Generator.swift:50-59 \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":"Cosmostation/Legacy/LModel/L_Generator.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdd182c4b798865e484ac8feb81be2265b43bb5989ccaea09063ed4a5403885"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): Cosmostation/Chains/ChainMajor/ChainIota.swift:121-130 | Cosmostation/Chains/ChainMajor/ChainIota.swift:132-141 | Cosmostation/Chains/ChainMajor/ChainSui.swift:111-121 | Cosmostation/Chains/ChainMajor/ChainSui.swift:123-132 | Cosmostation/Chains/ChainMajor/ChainSui.swift:134-143 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ChainMajor/ChainIota.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43c50fa2b18f0a0f113da10dccdf90a57b33eab33045be5f4d9aafd20b1e9d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 4\u002B corresponding lines): Cosmostation/Controller/Main/ChainSelectVC.swift:83-86 | Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:89-92 | Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:74-77 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:74-77 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:71-74 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:111-114 | Cosmostation/Controller/Setting/WalletDeriveVC.swift:103-106 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0f2639cbc6f71f7eeeab3de7e02d3f9a193c1976a47026889bc4e501ef80d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:142-149 | Cosmostation/Controller/Main/CosmosClass/CosmosReceiveVC.swift:78-87 | Cosmostation/Controller/Main/MajorClass/MajorReceiveVC.swift:66-74 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78ddc05f6c1a13d65f6361c2957849955cf419abccc47f8e9f3f4b32aea4343"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Cosmostation/Chains/ChainMajor/ChainAptos.swift:96-104 | Cosmostation/Chains/ChainMajor/ChainIota.swift:99-107 | Cosmostation/Chains/ChainMajor/ChainSui.swift:100-108 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ChainMajor/ChainAptos.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"670e62076167ce2ef22c9712720619810a669033f390cb860c1d37ca5693460c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:200-210 | Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:134-142 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:135-143 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a7af6693ea9975ea443507886daa1e2940dc7d0608a9fd2687e80a898f3082"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:202-205 | Cosmostation/Fetcher/InitiaFetcher.swift:83-86 | Cosmostation/Fetcher/NeutronFetcher.swift:116-119 | Cosmostation/Fetcher/ZenrockFetcher.swift:84-87 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbdc785bb920e3b89c704c2b06aa9b12be01096461a2fdac3daa3447bf7f222"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:235-241 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:230-236 \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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"37613b8296c41bf46ab845d2a78f111f94651bb5655312ce4162e0021f977183"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Cosmostation/Chains/ClassEVM/ChainSeiEVM.swift:37-43 | Cosmostation/Chains/ClassCosmos/ChainOkt996Secp.swift:24-29 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ClassEVM/ChainSeiEVM.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e477f8a3f7087c05f37e527caf0449cc6fe0566d211e10aec7fc428fac210cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:38-41 | Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:36-39 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:37-40 | Cosmostation/Controller/Sheet/SelectEndpointSheet.swift:98-101 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"833fce6f86bf9d253cae17d5882435eb2cee8bbfabe5981f2ed953940ca04d39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:91-98 | Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift:162-169 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1791226e86791b84614080283b44b07cfadb0c54daced43ac88c9bd992b96e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Cosmostation/Controller/Main/SwapStartVC.swift:163-173 | Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift:103-108 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cc3c4eed985ef374b6adb2d3f2591f78a46232b733b22f315525c88435157d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Cosmostation/Controller/Pincode/PincodeAlphabetVC.swift:99-101 | Cosmostation/Controller/Pincode/PincodeDecimalVC.swift:67-69 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Pincode/PincodeAlphabetVC.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"607e35786d24d1375d1621bfe486cc56f666d41ba8c5cdeb6a9e5a20f7637f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:207-210 | Cosmostation/Fetcher/InitiaFetcher.swift:88-91 | Cosmostation/Fetcher/NeutronFetcher.swift:121-124 | Cosmostation/Fetcher/ZenrockFetcher.swift:89-92 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d399dffbf9b3eb95f57ada99fdcaf9bfa5460abea035e833506fee0ad4119b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Cosmostation/Resource/AptosJS.swift:40-43 | Cosmostation/Resource/BtcJS.swift:133-136 | Cosmostation/Resource/SolanaJS.swift:45-48 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/AptosJS.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a0ee1d5651e84a03d1315c4151a6bc896fe086fc254dda12d7348d4d020f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): Cosmostation/Chains/ChainMajor/ChainBitCoin44.swift:13-25 | Cosmostation/Chains/ChainMajor/ChainBitCoin49.swift:13-25 | Cosmostation/Chains/ChainMajor/ChainBitCoin84.swift:13-25 | Cosmostation/Chains/ClassTestnet/ChainBitCoin44_T.swift:13-26 | Cosmostation/Chains/ClassTestnet/ChainBitCoin49_T.swift:13-26 | Cosmostation/Chains/ClassTestnet/ChainBitCoin84_T.swift:13-26 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ChainMajor/ChainBitCoin44.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baa362ae28c524222a92602cc54839b149eba857634d70176192471c0384c48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:536-543 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:466-477 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:382-392 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"706e50d970858d62ab550d77394f6d7f07f6879e8a56b075fcf56002c122324f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:213-219 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:208-214 \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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ba44b2df7016ba513ffdab7b00162dfae7ab07690bee50b41e3d270087d767"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Cosmostation/Controller/Main/PortfolioVC.swift:368-370 | Cosmostation/Controller/Main/SettingsVC.swift:77-79 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b591a4c338c23924490e0e0ce389cf6fa56adc6be3005ce3dbee71921f82afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Cosmostation/Fetcher/AptosFetcher.swift:298-302 | Cosmostation/Fetcher/SolanaFetcher.swift:217-221 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/AptosFetcher.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d484c82c19688ebede823931b9fff22919ba9d3113af4181bfff3b5ca70f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosNftVC.swift:122-126 | Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift:68-72 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosNftVC.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd84231d64b41747d526e9b76d759ca6f1acba0001f30f35dc89055409d5df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:183-191 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:184-192 \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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc35cfc776581bc89cd335a4866eeecdeb674d642e9f455fc59d3f83b2dd8c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Cosmostation/Fetcher/BabylonBTCFetcher.swift:215-218 | Cosmostation/Fetcher/OktFetcher.swift:161-164 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BabylonBTCFetcher.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff570336cbd76d97aa4837bd1f8d9495c8ba50eb36fe2fcc0f44fd44d4672f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Cosmostation/Resource/BtcJS.swift:138-141 | Cosmostation/Resource/SolanaJS.swift:50-53 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/BtcJS.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d26a69a0877ae197a8804f561c8f513a9fa5b583cd9b57dd91e9607afd9140a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:80-86 | Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift:79-87 \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":"Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf78a248a62fe00bfeae36d7b7d69887b5ffb2ffbde5bed2a139e342185e2c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): Cosmostation/Controller/Sheet/CreateNameSheet.swift:28-31 | Cosmostation/Controller/Sheet/RenameSheet.swift:29-33 | Cosmostation/Controller/Sheet/TxAddressLegacySheet.swift:51-54 | Cosmostation/Controller/Sheet/TxAmountLpSheet.swift:62-66 | Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:53-56 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/CreateNameSheet.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"295e7eb1bf2d1ab720b164cab1b9bf8457a4846a1a1e1d65850dea3dcdcead6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Cosmostation/Controller/Init/IntroVC.swift:189-194 | Cosmostation/Controller/Setting/AccountListVC.swift:109-114 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Init/IntroVC.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f033d232ed278205ec9df56dc7f95bd98b1583502cce4d5b3651bdc9cadbc910"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Cosmostation/Controller/Sheet/SheetCell/SelectDisplayTokenCell.swift:37-45 | Cosmostation/UI/Cell/RewardDetailCell.swift:28-34 \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":"Cosmostation/Controller/Sheet/SheetCell/SelectDisplayTokenCell.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf93230ef90f77a4075889a6143206599804d85ea9bcb79a10f1195e20f9df5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Cosmostation/Controller/Init/CreateMnemonicVC.swift:168-173 | Cosmostation/Controller/Setting/WalletDeriveVC.swift:174-180 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Init/CreateMnemonicVC.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed971f87aa8f1f0d66b9b5ad0caa723b9dbc0c61c8f5fb2c6112472167161e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift:50-53 | Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:91-94 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:83-86 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:84-88 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:75-79 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1f016f319ee674d690606be901ca3cad5f921b75819f1386ccfeccc8638535"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Cosmostation/Fetcher/EvmFetcher.swift:292-297 | Cosmostation/Fetcher/SuiFetcher.swift:277-282 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/EvmFetcher.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"632b0c7001d182c51ddbc1daa49fa3e024952afeb8848ea8c7c625d49fde80a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 3\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:89-91 | Cosmostation/Controller/Main/CosmosClass/CosmosNftVC.swift:128-130 | Cosmostation/Controller/Main/DappListViewController.swift:315-317 | Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift:89-91 | Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift:74-76 | Cosmostation/Controller/Main/MajorClass/MajorNftVC.swift:139-141 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"470d25386773baed0cb9181e64a4c1ab351ed373e5f298fe60b1e5608d6c1cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Cosmostation/Controller/Main/CosmosClass/Kava/KavaDefiVC.swift:78-85 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaEarnListVC.swift:124-129 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaDefiVC.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7798d47021598e06825180b75760893f88fc6f9eaa35adfa15ce1180563030e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Cosmostation/Resource/BtcJS.swift:128-131 | Cosmostation/Resource/SolanaJS.swift:40-43 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/BtcJS.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3839e5f115a2147c17603b76a0a8470949cf5fe85f79053168f2725860d459d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 4\u002B corresponding lines): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:62-65 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:66-69 | Cosmostation/Controller/Main/AllChainVoteStartVC.swift:74-77 | Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:43-46 | Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:41-44 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:42-45 | Cosmostation/Controller/Sheet/SelectEndpointSheet.swift:103-106 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"995eefc877d3147e016d4d4112b5eb33f8c9bb7f834e6193dedbf030efb98d51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Cosmostation/Controller/Sheet/TxAddressLegacySheet.swift:84-87 | Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:78-81 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxAddressLegacySheet.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"572a4d17da3fcfa2b7e04c6d7ace079c05b071745d719b705a75bc711783b0b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 3\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:141-143 | Cosmostation/Controller/Main/SwapStartVC.swift:319-321 | Cosmostation/Controller/Sheet/TxAmountLegacySheet.swift:64-66 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:170-172 | Cosmostation/Controller/Sheet/TxSendAmountSheet.swift:76-78 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9bfafc9cbf88157225c47fba56eccb81ff0298cf34ea309be2a9b4d619afed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:277-279 | Cosmostation/Fetcher/GnoFetcher.swift:147-149 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb6a1e544cdd70d341a46473d8b50b5dc4221a3ef1fc4c4e13a7fb6443afa58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:75-77 | Cosmostation/Controller/Main/CosmosClass/CosmosNftVC.swift:104-106 | Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift:75-77 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3795e33306448d6972715e1c4a7fd51148e0cbc7d787d79fc00855d459d92f1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Cosmostation/Controller/Pincode/PincodeAlphabetVC.swift:103-105 | Cosmostation/Controller/Pincode/PincodeDecimalVC.swift:71-73 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Pincode/PincodeAlphabetVC.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"785b13b2b8a0dcde6feaec5c26b480cd02e2ea9d343609e3ce3e4fff76f57605"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:212-214 | Cosmostation/Fetcher/GnoFetcher.swift:97-99 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9994a0bba71848e5279ca37502f8ef86c0198a80bb3bfb843e5d234b961e7d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Cosmostation/Fetcher/CosmosFetcher.swift:263-265 | Cosmostation/Fetcher/GnoFetcher.swift:169-171 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d3e5a565ff25e1d86b41568b74a8667b97662b72d69db8a6fc78ccee99d422"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 4\u002B corresponding lines): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:150-153 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:152-155 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:282-285 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:231-234 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:281-284 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:184-187 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"26147a1b043af9a7e9255b6377c60640d1d1b361abdbae73bc594961bfe0a9ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Cosmostation/Controller/Main/AllChainVoteStartVC.swift:219-222 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:210-213 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:207-210 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/AllChainVoteStartVC.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b2cd3ae7a67397eddf860a8f44508bd6e640e404571555a63d8f4825321105"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:247-250 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:254-257 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd3e7106bf729ed962fa093e66c077f9c071686d8faf811bdf3732f59d4e2da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:326-329 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift:210-213 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:121-124 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:122-125 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c2531e6aa56e3146c28bb2666ade5d44a00184ae1f7c7734b9b082e8ca3f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:261-264 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:295-298 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5691f77d328c00de541833ae7c7802e4a47c85b0e77ac1b817c901d1b09eeb3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift:220-223 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:858-861 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:395-398 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d854d6a38048ff3d7e711e3a8088dcd0278251e7a678b128335da1d4ba9779"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:177-180 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:178-181 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9c06459907be12db917a93696e574f6f39d95d6342e273446d6cc1a41fcaa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:84-89 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift:112-117 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3b0561f595b455808ebd52e53176074c323af86f15e044f7017a084f2d8da3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:141-144 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:167-170 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift:164-167 | Cosmostation/Controller/Main/SwapStartVC.swift:461-464 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c4e31123251af12faee80445b7a859663d7744e826f5f222fab77a3c7be551"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Cosmostation/Controller/Main/CosmosClass/Kava/KavaEarnListVC.swift:116-122 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:206-212 \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":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaEarnListVC.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a353d9fc07d87731eb33c6a605ddf726e0d4453ff1aef87000288ddfdd170b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:126-133 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:127-134 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"963339aca35b316edb52608f27cae604e926eebe4d693bf5cc27dfe6cef594f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201337 lines \u00D7 2): Cosmostation/Chains/ClassCosmos/ChainInitia.swift:45-79 | Cosmostation/Chains/ClassCosmos/ChainNeutron.swift:46-82 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/ClassCosmos/ChainInitia.swift\u0060 and \u0060Cosmostation/Chains/ClassCosmos/ChainNeutron.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 73 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 \u0060Cosmostation/Chains/ClassCosmos/ChainInitia.swift:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ClassCosmos/ChainInitia.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f721562c0ba82209b80029172404400d4e74f84cf15342ed90af1e92226221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:639-666 | Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:673-701 \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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:639\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b7c901b512af67c6f2f9241507548422af2de916a85c64d26e86a47e3e3674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): Cosmostation/UI/Cell/StakeDelegateCell.swift:64-97 | Cosmostation/UI/Cell/StakeDelegateCell.swift:125-158 \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":"Cosmostation/UI/Cell/StakeDelegateCell.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"06da9f3508223efeaf0903a7d1e685fada2cf385d5534f94e24a68b4187f9b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): Cosmostation/UI/Cell/DeriveCell.swift:66-91 | Cosmostation/UI/Cell/Portfolio2Cell.swift:78-103 | Cosmostation/UI/Cell/SelectChainCell.swift:71-96 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/DeriveCell.swift\u0060 and \u0060Cosmostation/UI/Cell/Portfolio2Cell.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 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 \u0060Cosmostation/UI/Cell/DeriveCell.swift:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/DeriveCell.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5250f4ca239148b202b451f3cfc0873acc76ae49cb78cd5e98eb9f0ffac3546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:945-968 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1034-1057 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1139-1162 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b0d2b6e94acb6127afdeb0de6bfaca8ca0855be4effddb1a9a136fb45e0999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): Cosmostation/Controller/Init/ImportMnemonicCheckVC.swift:71-94 | Cosmostation/Controller/Setting/CheckMenmonicVC.swift:85-107 \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 \u0060Cosmostation/Controller/Init/ImportMnemonicCheckVC.swift:71\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":"Cosmostation/Controller/Init/ImportMnemonicCheckVC.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a267a9e33cb422972a6aa25e11ce58ebf5680a7d542a9417f2760888af8833c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:129-151 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:152-173 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:125-146 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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 \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:129\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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0832dc50b55e09434c98ae4b6bfb31f4cea6bbbdd60724ed36d7690e949f3ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:31-53 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:31-53 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:31-53 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 179 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":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5776dbc67c67df856210a157fd23a6fb02616244a3a8542e913f5fbd60f3582c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1679-1701 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1753-1775 \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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1679\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b73170b330e80cd9e871258c0bdf82027dbf86709a11108a24a56d4e9766aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/SelectRefAddressCell.swift:42-64 | Cosmostation/UI/Cell/CheckPrivateKeyCell.swift:42-62 \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 \u0060Cosmostation/Controller/Sheet/SheetCell/SelectRefAddressCell.swift:42\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":"Cosmostation/Controller/Sheet/SheetCell/SelectRefAddressCell.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e986f4a8e3253bb1c4d8079a4dc9f9fa46771aa9fd7b2ba5db5c787afe67c835"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:1233-1255 | Cosmostation/Fetcher/CosmosFetcher.swift:1259-1281 \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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d126b2456426c9dc6d0ea18f736d861c15bd6fb2f371b3c820653374b9f5ed39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:65-86 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:57-75 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:59-77 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:59-77 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 246 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:65\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, \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:60\u0060 calls \u0060getBabylonBtcFetcher\u0060, \u0060claimableRewards\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:54\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd917ded23e1f9b7c4f72bad1451d23dfca2551584e26dc824282bb0cf26c224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): Cosmostation/Controller/Main/PortfolioVC.swift:586-607 | Cosmostation/Controller/Main/ServiceVC.swift:161-182 | Cosmostation/Controller/Main/SettingsVC.swift:349-370 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aea5164d935a5d0efa8533c4441d78febaca8c0c1a41e0a9ca6c92da8f06f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Cosmostation/Controller/Sheet/TxAmountSheet.swift:186-207 | Cosmostation/Controller/Sheet/TxSendAmountSheet.swift:92-113 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Sheet/TxAmountSheet.swift\u0060 and \u0060Cosmostation/Controller/Sheet/TxSendAmountSheet.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 \u0060Cosmostation/Controller/Sheet/TxAmountSheet.swift:186\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":"Cosmostation/Controller/Sheet/TxAmountSheet.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e0e89b3abcfa992c142c5e8a680553916cd353653e178e30fa69d25bdc7ec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Cosmostation/Model/MintscanProposal.swift:89-110 | Cosmostation/Model/MintscanProposal.swift:117-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Model/MintscanProposal.swift:89\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":"Cosmostation/Model/MintscanProposal.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d325595c9b5fa3b21269301b1d7802e7376248046d92f17d762cc2b25aa4e5de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 6): Cosmostation/UI/Cell/DeriveCell.swift:85-105 | Cosmostation/UI/Cell/PopupReceiveCell.swift:70-90 | Cosmostation/UI/Cell/Portfolio2Cell.swift:97-117 | Cosmostation/UI/Cell/PortfolioCell.swift:50-70 | Cosmostation/UI/Cell/ReceiveCell.swift:69-89 | Cosmostation/UI/Cell/SelectChainCell.swift:90-110 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/DeriveCell.swift\u0060 and \u0060Cosmostation/UI/Cell/Portfolio2Cell.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 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":"Cosmostation/UI/Cell/DeriveCell.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b857544a5f78a71eab3ea57da341f5a4f6d46213d27123d89c0fcfa5cb6b138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:262-282 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:292-312 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0978207f111d1c45eefebb467371c5e75ddae65098e796736f2ea2fd767289e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:287-307 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:286-306 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 298 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:287\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c3621805fe4189cd63ae20936709ad0101bec51fd21c753706254673c909d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201321 lines \u00D7 3): Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift:219-221 | Cosmostation/UI/Cell/ClaimAllChainCell.swift:139-159 | Cosmostation/UI/Cell/ClaimAllChainCell.swift:197-217 \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 \u0060Cosmostation/UI/Cell/ClaimAllChainCell.swift:139\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift:221\u0060 calls \u0060multiplying\u0060, \u0060dpValue\u0060 and \u0060Cosmostation/UI/Cell/ClaimAllChainCell.swift:217\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":"Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccf18ea3740e418aa2d65fd4cdb06d5ac1f9b306e72f3f6f828e82273a3ed76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 4): Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift:239-258 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift:297-312 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift:319-333 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift:339-356 \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 \u0060Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift:239\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80a9a4ec9b762938f39e873ee5cec98f39e869847ca671d04c0ec249000e9f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:222-242 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:224-244 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:224-244 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 179 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":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a94e765352627b938e2e8bffe5f3de0cd1f1b6dfd25fcdb0fa315e55d34c46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201319 lines \u00D7 4): Cosmostation/UI/Cell/AssetBabylonCell.swift:110-113 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:119-136 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:234-252 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:315-332 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/AssetBabylonCell.swift\u0060 and \u0060Cosmostation/UI/Cell/AssetCosmosClassCell.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 70 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/UI/Cell/AssetCosmosClassCell.swift:117\u0060 calls \u0060dpAmount\u0060, \u0060rewardAmountSum\u0060, \u0060multiplying\u0060 and \u0060Cosmostation/UI/Cell/AssetBabylonCell.swift:110\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":"Cosmostation/UI/Cell/AssetBabylonCell.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"703ea3afb40da2a5df78d41168c6d3d6fe1897ecbf9c3870bc3507163675a472"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:151-169 | Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:328-346 \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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:151\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0a31071c7911175b81c4bf4a0b2096564388e321f17bba5b2688c28f46d5db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:307-325 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:194-212 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:307\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"20baaeeccad77f4c1741eae4f0a6b43638b656214d92dd4f79cc4c49edb3f32f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): Cosmostation/Controller/Main/SwapStartVC.swift:565-582 | Cosmostation/Controller/Main/SwapStartVC.swift:591-609 \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 \u0060Cosmostation/Controller/Main/SwapStartVC.swift:565\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":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"7735bef245c42b8522a2a1479aad334ae6e40a76ce48edf2d24ca60192d3267b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 14): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:235-252 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:175-192 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:125-142 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:142-159 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:174-191 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:158-175 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:219-236 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:277-294 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:145-162 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:211-228 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:123-140 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:136-153 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:100-117 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:156-173 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:235\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf893bfae302c6419d0c936c702d744936afe5fa59d8893ed311cb6ef6eac6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Cosmostation/Chains/ClassCosmos/ChainKava118.swift:17-34 | Cosmostation/Chains/ClassCosmos/ChainKava459.swift:17-34 \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 \u0060Cosmostation/Chains/ClassCosmos/ChainKava118.swift:17\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":"Cosmostation/Chains/ClassCosmos/ChainKava118.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71e0e03d0879a730aa229d54e6821c5ec62c6b2e03d493a360dc6d4cb68490d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Cosmostation/UI/Cell/AssetCell.swift:174-191 | Cosmostation/UI/Cell/AssetCell.swift:208-225 \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 \u0060Cosmostation/UI/Cell/AssetCell.swift:174\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":"Cosmostation/UI/Cell/AssetCell.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"222a8f187ef40b8d0cf2472cabd6ab30d3f2cbf2200f29ce42e18a5110abda5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 14): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:341-357 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:262-277 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:212-227 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:210-226 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:261-276 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:226-242 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:318-334 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:374-390 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:212-227 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:305-321 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:190-205 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:239-254 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:187-202 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:233-249 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:341\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d343aca73c58040df38461290110f4eb0a37d6dd41e539dbbe11a2d7ded41b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 10): Cosmostation/Chains/ClassCosmos/ChainAgoric118.swift:13-29 | Cosmostation/Chains/ClassCosmos/ChainAlthea118.swift:13-29 | Cosmostation/Chains/ClassCosmos/ChainFetchAi60Old.swift:13-29 | Cosmostation/Chains/ClassCosmos/ChainFetchAi60Secp.swift:13-29 | Cosmostation/Chains/ClassCosmos/ChainKava118.swift:13-29 | Cosmostation/Chains/ClassCosmos/ChainKava459.swift:13-29 | Cosmostation/Chains/ClassCosmos/ChainMantra.swift:13-29 | Cosmostation/Chains/ClassCosmos/ChainPersistence750.swift:13-29 | Cosmostation/Chains/ClassCosmos/ChainSei.swift:13-29 | Cosmostation/Chains/ClassCosmos/ChainXpla.swift:13-28 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 10 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Chains/ClassCosmos/ChainAgoric118.swift:13\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":"Cosmostation/Chains/ClassCosmos/ChainAgoric118.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b5811dfca8fb9a706356dff428b624f74437c90f8479dd32673faad073f132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:167-183 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:107-123 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:104-120 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift:134-150 | Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:105-121 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:104-120 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"685b3803456fae277939131895b4e60666f8edebbe9da60dc166b34c7a37b9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift:105-121 | Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift:147-163 | Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift:98-114 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift:105\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":"Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"875769ac55656623fd96f68325b2100b32436174f8a659be544d4bbcde5bd1ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:287-301 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:326-342 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:333-347 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 167 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:287\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b32bba022e4c0a9fcd40dbad14a176fcfd9408072c9a1af73b25f394eaf3a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:397-413 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:442-458 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:429-445 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 167 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:397\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e51995c2c6b6d5bba34e91302a0f3caa649c1a7e9d115fc7467b3496a06a04d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:103-129 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:103-129 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:103-129 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 179 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":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d11d169e65374147903c084c96d4899ad4b80d5a52654876fe83fa6ddaa2b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): Cosmostation/Controller/Main/PortfolioVC.swift:648-664 | Cosmostation/Controller/Main/ServiceVC.swift:191-207 | Cosmostation/Controller/Main/SettingsVC.swift:379-395 \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 \u0060Cosmostation/Controller/Main/PortfolioVC.swift:648\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":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf6e89f7522649716018ab3b3c08dcef2e217be303ee79fc0389d78388c46bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): Cosmostation/Utils/Crypto/Signer.swift:274-290 | Cosmostation/Utils/Crypto/Signer.swift:308-324 | Cosmostation/Utils/Crypto/Signer.swift:342-358 \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 \u0060Cosmostation/Utils/Crypto/Signer.swift:274\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":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"99362699dba94e0668c5c2a0aade7998560e8d6f1426fb071521527bb13b7fb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:244-260 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:274-290 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24ae55e5c62fe374f56ccc063d88fe181aba0975ad7cbfa06592da38d83549f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:237-253 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:262-278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0423a5731e63c5559ca679b3c58f33b16531bfa35bbe250a3101b1a11e93ae3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:840-856 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:377-393 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:840\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e6073284db65e6ac4d81a43ff4b0a6064548811fc35201f89f707ff6cc087a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1517-1537 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:464-484 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1517\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1539\u0060 calls \u0060suiInputs\u0060, \u0060suiCoinType\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift:485\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a9b4d7d1f7a7e7a125fa7b142ef37f43ea779b11edabb846e41ed8e84d1a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1585-1605 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:527-547 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1585\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c48dba34e4c3dbbba718dd708616f142ac6999c663f5e040aac31f48e2d8ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift:45-61 | Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift:64-77 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c75e829caa87898c0ee12814389ba414d37133f44689b2e84d88e46ab35970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Cosmostation/UI/Cell/NeutronSingleVoteCell.swift:22-38 | Cosmostation/UI/Cell/VoteThreeItemsCell.swift:21-37 \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":"Cosmostation/UI/Cell/NeutronSingleVoteCell.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5c1cbea79e1d8bb8bcac23a92a2eab363903f346ed1704fe79c0af0cc66902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 18): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:417-432 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:354-369 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:338-353 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:307-322 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:358-373 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:329-344 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:452-467 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:537-552 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:314-329 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:444-459 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:337-352 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:245-260 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:315-330 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:252-267 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:330-345 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:355-370 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:398-413 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:347-362 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:417\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bfe1e803b44a73efd9509c2c6468ce2982a501a03096d367ed281a97006502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 8): Cosmostation/Chains/BaseChain.swift:220-234 | Cosmostation/Chains/ClassCosmos/ChainBabylon.swift:64-77 | Cosmostation/Chains/ClassCosmos/ChainGno.swift:94-108 | Cosmostation/Chains/ClassCosmos/ChainInitia.swift:74-89 | Cosmostation/Chains/ClassCosmos/ChainNeutron.swift:77-92 | Cosmostation/Chains/ClassCosmos/ChainOkt996Keccak.swift:66-81 | Cosmostation/Chains/ClassEVM/ChainBeraEVM.swift:80-93 | Cosmostation/Chains/ClassEVM/ChainOktEVM.swift:100-114 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/BaseChain.swift\u0060 and \u0060Cosmostation/Chains/ClassCosmos/ChainBabylon.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 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 \u0060Cosmostation/Chains/BaseChain.swift:220\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Chains/ClassEVM/ChainOktEVM.swift:96\u0060 calls \u0060valueTokenCnt\u0060, \u0060allTokenValue\u0060 and \u0060Cosmostation/Chains/ClassCosmos/ChainOkt996Keccak.swift:64\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":"Cosmostation/Chains/BaseChain.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9836d43b41b5bd391db65d97aec7a50e151150e7b0790960a13ae491e006bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:23-38 | Cosmostation/Controller/Main/CosmosClass/CosmosNftVC.swift:25-40 | Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift:23-38 | Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift:23-38 | Cosmostation/Controller/Main/MajorClass/MajorNftVC.swift:25-40 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:23\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:39\u0060 calls \u0060register\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.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":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42a46c3930f058619b99fe3a91c6d1533c0e5921a59359e2c3a8ea56d97ac37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:55-69 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:38-52 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:35-49 | Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift:32-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:55\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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cb586215427edcb7aa9dee4020ec844ffb7676ab1ddcb30e0c89c6d3684b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:27-42 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:25-40 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:26-41 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:27\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":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1247e3d220e3f48a029bb75a8a9b11733ebcff2d9e43b081f4896524b5072e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:476-491 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:242-256 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"22115ced92e0962808ae9c340abd64a377415c6d5ca5373b9477ac3857782791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1711-1726 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1789-1804 \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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1711\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d2792848e53c02673499438b818f7ff2d0b1874ab13e21aa79d266aaeed205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:56-71 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:56-71 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 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 \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"642a941f1bf25d99c218017b59db04238dea66398bac78f15e9151a10abc42eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:247-265 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:190-208 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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 \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:247\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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc5fb7d0951c9159e64d5c852219c54dbba4a181ba8fa798755498725c82ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:247-265 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:190-208 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 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 \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:247\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":"Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"624f1b8ccc061f53ac1c4aabd3d31347994987da191ecb294a36a53fff843099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Cosmostation/UI/Cell/AssetSuiCell.swift:78-101 | Cosmostation/UI/Cell/AssetSuiCell.swift:123-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/UI/Cell/AssetSuiCell.swift:78\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":"Cosmostation/UI/Cell/AssetSuiCell.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d763db9576ec428f6bf4016431eaddb3025f53778544455245920107f3b14a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 24): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:320-334 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:299-313 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:250-264 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:249-263 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:298-312 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:265-279 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:358-372 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:415-429 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:251-265 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:345-359 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:229-243 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:198-212 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:252-266 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:196-210 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:261-275 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:274-288 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:224-238 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:272-286 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1913-1927 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2005-2019 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2066-2080 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2137-2151 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2198-2211 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:559-573 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:320\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c574627f564963d88a665cbe2dfb668250ead34cb59ec85d2661bca671d631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1938-1952 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2030-2044 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2094-2108 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2162-2176 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2222-2236 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:584-598 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1938\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe8c19656ba818d394734c77262bd10662abc4b72c4364f0138455ceaf4141d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:45-59 | Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift:32-46 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:31-45 | Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift:29-43 | Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:24-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"594aa9ad45e08302d24eb53f15599f648e771025bbd7a5e635afc36de24e34cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:61-75 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:52-66 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:65-79 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:67-81 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:77-91 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 145 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:61\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"786cee792512f5646ed0df4a1bdeaf4432ec124e9bf6a55df87d19c198315250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:439-452 | Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:497-511 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:238-251 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:263-276 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:439\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:253\u0060 calls \u0060getNeutronFetcher\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:454\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":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"5349a1ece3561c8c6c5d9b9b166995595c4076c081b10b084b811b6762fad377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:53-67 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:69-83 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:75-89 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:67-81 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 195 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:53\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e7158ae39926b71c51dcc9e2e9040e1363ae5d91036ec0a0d61a0286e2be3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:183-197 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:198-212 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift:194-208 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:183\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ad335670630946b7036c03ed46d8625722f87489e7e625d595035b03dbab91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:114-128 | Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:174-188 | Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:192-206 \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":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf8c75d9a0b605b969de6b7c0724e1e2486ba6070d440b26d09087694b1832f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): Cosmostation/UI/Cell/DeriveCell.swift:194-216 | Cosmostation/UI/Cell/Portfolio2Cell.swift:173-195 | Cosmostation/UI/Cell/SelectChainCell.swift:153-175 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/DeriveCell.swift\u0060 and \u0060Cosmostation/UI/Cell/Portfolio2Cell.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 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":"Cosmostation/UI/Cell/DeriveCell.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b1fa87b8913890de002e3c0447696e2bb2edb53f261b85ac3ad0881a6b1711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201315 lines \u00D7 3): Cosmostation/Base/AppDelegate.swift:143-145 | Cosmostation/Base/AppDelegate.swift:172-186 | Cosmostation/Controller/Main/MainTabVC.swift:75-89 \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 \u0060Cosmostation/Base/AppDelegate.swift:143\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":"Cosmostation/Base/AppDelegate.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b113bef6aa451f1f02b4af2a1786d03c6128e88de3aa077605b96d4d3cc0a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): Cosmostation/Controller/Init/IntroVC.swift:196-214 | Cosmostation/Controller/Setting/AccountListVC.swift:155-172 \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 \u0060Cosmostation/Controller/Init/IntroVC.swift:196\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":"Cosmostation/Controller/Init/IntroVC.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc68ee6a106dfc77213fa16a57d1e22c54134f18721069c3b4d361bd8eef5fb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:694-709 | Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:717-732 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"868ca9accb1449550aba35072f9c693891013c3099f7dbd9e02361e96c56bfa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:57-71 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:56-70 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 113 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 \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96396f38e82b448499586519dab71708c67bd038f08762201ddd1643c8e0fa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Cosmostation/Controller/Main/SwapStartVC.swift:741-756 | Cosmostation/Controller/Main/SwapStartVC.swift:765-780 \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 \u0060Cosmostation/Controller/Main/SwapStartVC.swift:741\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":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57cf0311672b228573c18ff3d7edbc0bd58dae070b9a1fb4944332aa8d1ec2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201315 lines \u00D7 2): Cosmostation/Controller/Sheet/AdsPopUpSheet.swift:37-51 | Cosmostation/Controller/Sheet/EcosystemPopUpSheet.swift:38-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Sheet/AdsPopUpSheet.swift:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/AdsPopUpSheet.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1f9458c7cb9d5a150f04304aa28dd216a101c4bb97de652dafe8a765f9fc6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:91-105 | Cosmostation/Fetcher/NeutronFetcher.swift:51-65 \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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4344a5ebf24ab526414a0adaaaa5733e82379ffe6d4bfa4271eae2f29eb924c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:1168-1182 | Cosmostation/Fetcher/InitiaFetcher.swift:279-293 \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 \u0060Cosmostation/Fetcher/CosmosFetcher.swift:1168\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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2792482104326efe3220298c3709cfb8a30f5e1a85b40b5c6c4cf30679c94ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): Cosmostation/Utils/Crypto/Signer.swift:244-256 | Cosmostation/Utils/Crypto/Signer.swift:378-392 \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 \u0060Cosmostation/Utils/Crypto/Signer.swift:378\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":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3825f7ed415f72f086c7e9566f51309b18e99c8c7e2801280fbb13ad71b12032"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 10): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:325-338 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:309-322 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:279-291 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:329-342 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:300-313 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:413-425 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:486-498 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:278-290 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:412-424 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:308-321 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 204 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:325\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4a5e6b97d6b132a237af22500afdf23081ad0c3b9267117c9e3b0d11762df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1498-1511 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1566-1579 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:444-458 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:508-521 | Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:227-241 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:170-184 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:227-241 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:170-184 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34c92ccfa382a67ed2a6513820c476cbc60206d6a9d323353aa05ee88e8f4a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1483-1498 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:429-444 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:212-227 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:155-170 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1483\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce70fac92ceba803a0b69ff51dc0d33680e1d8351940b7c31ada6ecb0634c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:94-106 | Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:112-124 | Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:148-161 \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 \u0060Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:94\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":"Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff08cefd377fca9972e94bde246d88df04ab3cb6b02540633267fc3371fd155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Cosmostation/Controller/Sheet/TxAmountLegacySheet.swift:77-90 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:183-196 | Cosmostation/Controller/Sheet/TxSendAmountSheet.swift:89-102 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Sheet/TxAmountSheet.swift\u0060 and \u0060Cosmostation/Controller/Sheet/TxSendAmountSheet.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 \u0060Cosmostation/Controller/Sheet/TxAmountLegacySheet.swift:77\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, \u0060Cosmostation/Controller/Sheet/TxAmountSheet.swift:197\u0060 calls \u0060multiplying\u0060 and \u0060Cosmostation/Controller/Sheet/TxAmountLegacySheet.swift:91\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":"Cosmostation/Controller/Sheet/TxAmountLegacySheet.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6901d9dfceacf2e576c0c69d42993e750a4cb32c1cddd6d244b8b846d1dc3f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift:112-124 | Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:152-165 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift:112\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":"Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"41421f1aaad1c5c3960c9ee9921df0f677b04283c2be4da028bb2227259f0d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:322-335 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:369-382 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 231 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:322\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2cf729055509ccca295be3664666abdc9b6f45dd58001f4f00b2254131dba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Cosmostation/Controller/Main/DappDetailVC.swift:1187-1200 | Cosmostation/Controller/Main/DappDetailVC.swift:1224-1236 \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 \u0060Cosmostation/Controller/Main/DappDetailVC.swift:1187\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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76743ae971ebb6c96dc0a186a71b0812e37e20a0a43eb2a7b01ec671f92ad63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1324-1337 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1361-1374 \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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1324\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"52770f85283fddc097ff37cfaa9ffd4aaed36a8c8eca42bbf3418fe99cdf3682"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2287-2300 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:632-645 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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, \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2302\u0060 calls \u0060onInputedAmount\u0060, \u0060onUpdateAmountView\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift:647\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":2287}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e125951970f72e2c03beb8979f3c7c9497306d363a744b99d2b3fd51601475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:379-390 | Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:400-413 \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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:400\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":"Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d182b2b2894f247f3fac0c4ecee82b4f1661436086a9bd60b3519aaa1d91a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift:117-130 | Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift:148-160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift:117\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":"Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef19ac0ae3cfa94239c6d91c99034a4d0c7a1e7c0710dbfee1a420f3eb49f43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Cosmostation/Controller/Sheet/DappDetailSheet.swift:279-292 | Cosmostation/Utils/WUtils.swift:394-407 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappDetailSheet.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7a7447751e8ef11644dd9a152fc33ec092b9cf58d44ef03627bab36fe901e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/BaseImgMsgCheckCell.swift:38-51 | Cosmostation/Controller/Sheet/SheetCell/BaseImgMsgCheckCell.swift:75-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Sheet/SheetCell/BaseImgMsgCheckCell.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Controller/Sheet/SheetCell/BaseImgMsgCheckCell.swift:36\u0060 calls \u0060String\u0060 and \u0060Cosmostation/Controller/Sheet/SheetCell/BaseImgMsgCheckCell.swift:73\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":"Cosmostation/Controller/Sheet/SheetCell/BaseImgMsgCheckCell.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"246b27b583bfae2ba81d0abbd532350976ec766d0b87cd84aa328c9887396621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:111-124 | Cosmostation/Fetcher/CosmosFetcher.swift:984-997 \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 \u0060Cosmostation/Fetcher/CosmosFetcher.swift:111\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5d73558438fe6fb4c602e73db3a047cd31bc9de3dfe5253fa913b4f3adb1df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Cosmostation/Model/RefAddress.swift:25-38 | Cosmostation/Model/RefAddress.swift:47-60 \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 \u0060Cosmostation/Model/RefAddress.swift:25\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/RefAddress.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"045a48c524077e9a3a2a615ad5d5b34de0c7c285663a37593b00e814bfbade73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Cosmostation/UI/Cell/AssetBabylonCell.swift:87-100 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:85-98 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/AssetBabylonCell.swift\u0060 and \u0060Cosmostation/UI/Cell/AssetCosmosClassCell.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 70 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 \u0060Cosmostation/UI/Cell/AssetBabylonCell.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/UI/Cell/AssetBabylonCell.swift:86\u0060 calls \u0060getBabylonBtcFetcher\u0060 and \u0060Cosmostation/UI/Cell/AssetCosmosClassCell.swift:84\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":"Cosmostation/UI/Cell/AssetBabylonCell.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef721680cebd8dc53d5a7b7a880b97f5fc7b5ad74f1c53a3caf6b47f2a77bbcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 75): Cosmostation/Chains/ClassCosmos/ChainAgoric564.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainAkash.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainAllora.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainAndromeda.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainArchway.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainAtomone.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainAxelar.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainBabylon.swift:15-28 | Cosmostation/Chains/ClassCosmos/ChainBand.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainBeezee.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainBitBadges.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainBitsong.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainBitway.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainC4E.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainCarbon.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainCelestia.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainCheqd.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainChihuahua.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainCoreum.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainCosmos.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainCrescent.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainCryptoorg.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainCudos.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainDecentr.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainDoraVota.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainDungeon.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainDydx.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainEmoney.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainFetchAi.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainFinschia.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainGitopia.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainGovgen.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainGravityBridge.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainIris.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainIxo.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainJackal.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainJuno.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainKima.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainKyve.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainLava.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainLombard.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainLumera.swift:12-25 | Cosmostation/Chains/ClassCosmos/ChainManifest.swift:12-25 | Cosmostation/Chains/ClassCosmos/ChainMedibloc.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainMilkyway.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainNeutron.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainNibiru.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainNillion.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainNoble.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainNolus.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainNyx.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainOmniflix.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainOrai.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainOsmosis.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainPassage.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainPersistence118.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainProvenance.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainQuasar.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainQuicksilver.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainRegen.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainSaga.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainSeda.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainSentinel.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainShentu.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainSommelier.swift:13-25 | Cosmostation/Chains/ClassCosmos/ChainSource.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainStafi.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainStarname.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainStride.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainSunrise.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainTerra.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainTerraClassic.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainXion.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainZenrock.swift:13-26 | Cosmostation/Chains/ClassCosmos/ChainZigChain.swift:13-26 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/ClassCosmos/ChainBabylon.swift\u0060 and \u0060Cosmostation/Chains/ClassCosmos/ChainNeutron.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Cosmostation/Chains/ClassCosmos/ChainAgoric564.swift:13\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":"Cosmostation/Chains/ClassCosmos/ChainAgoric564.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b582014547ecfadb9e7a815dfa857a22948fc359e01998458e54d3aef71ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 10): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:194-206 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:144-156 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:161-173 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:193-205 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:177-189 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:238-250 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:296-308 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:164-176 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:230-242 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:142-154 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 204 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6be0a689748e75f526ca09d51740de09aabdc988fd63d53bcc9942420b20ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:63-75 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:68-80 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:59-71 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:72-84 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:70-82 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:74-86 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:84-96 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 116 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e5d7efbb073597ce17ac5f4e5e1ea1b47a89ccd2860d85994c3ac0e6c35290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 5): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:60-71 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:43-54 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:40-51 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift:39-50 | Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift:37-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:73\u0060 calls \u0060register\u0060, \u0060UINib\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:56\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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b2723b586aa68fed42444d167e83af756d53ef09d78759e8b3c942bb2ac66e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Cosmostation/Controller/Main/ChainSelectVC.swift:32-44 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:26-38 | Cosmostation/Controller/Setting/WalletDeriveVC.swift:31-43 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/ChainSelectVC.swift\u0060 and \u0060Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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 \u0060Cosmostation/Controller/Main/ChainSelectVC.swift:32\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":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"736c92099b255d05d2806bc00878bea257493b62efb1047b626b76dc30643929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Cosmostation/UI/Cell/AssetCell.swift:82-95 | Cosmostation/UI/Cell/AssetCell.swift:143-156 | Cosmostation/UI/Cell/AssetCell.swift:229-242 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/UI/Cell/AssetCell.swift:82\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":"Cosmostation/UI/Cell/AssetCell.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f47718bf63af80a9fc24287132f7af1c1be4ad8787bb0674eebfea4106d282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:502-519 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:431-448 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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 \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:502\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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce418cdc3932efd450d949050fa4fef903bb12f4831562134e5fb99644b45f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:74-86 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:47-57 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 53 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:74\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, \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:71\u0060 calls \u0060register\u0060, \u0060UINib\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAssetVC.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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d105957823c470513184561cd7b327167efe649926f1739666ee51b12675c8ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201313 lines \u00D7 5): Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift:183-195 | Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:233-245 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:204-207 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:205-208 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:205-208 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift:183\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:207\u0060 calls \u0060endUpdates\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:245\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":"Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c36d3feed1c400560c9331ee5f04fc9398d4148c44b4de8018be907fed8dec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:54-66 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:50-61 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 231 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:54\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf142f45c42b9f308280882d0b9f30a5dc5a47a06e1959961086dafb99fa6a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:155-167 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:119-131 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 231 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e05d8497318979c1d10b8494ff29c8447e52f66d15cbb1c5a62d463e8c782e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:509-520 | Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:527-539 \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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:527\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":"Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6c30876683617243ef41f3a6c83cf1f13e39e933519274af66cc9c026be3cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:102-114 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:300-312 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7edef1e88ae9e3794078ee7f6404235473315b575243dfdaad7bb74944944d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Cosmostation/Fetcher/BabylonFetcher.swift:43-55 | Cosmostation/Fetcher/CosmosFetcher.swift:1054-1065 \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":"Cosmostation/Fetcher/BabylonFetcher.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"638a77f5cf2f953407493edb6c7d8f0b9daf6123091ef0a617e0fb71b9f08402"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Cosmostation/Model/MintscanHistory.swift:758-773 | Cosmostation/Model/MintscanHistory.swift:822-837 \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 \u0060Cosmostation/Model/MintscanHistory.swift:758\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":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaf7df25359c034c75b87e4f08de2cd5d53b3fec7ad8147ca3497fcccfae599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Cosmostation/UI/View/FixCardView.swift:14-26 | Cosmostation/UI/View/FixCardView.swift:32-44 \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":"Cosmostation/UI/View/FixCardView.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"954339d62e5e86625471f70a6aff5f3360311adabaa336294329ab63ed6cf687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Cosmostation/Utils/Crypto/Signer.swift:992-1004 | Cosmostation/Utils/Crypto/Signer.swift:1014-1026 \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 \u0060Cosmostation/Utils/Crypto/Signer.swift:992\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a6a5d475b760e9a26136b755e5ef1d360e24ea33cfab79f084fd5bb9293481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 14): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:272-283 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:212-223 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:162-173 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:180-191 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:211-222 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:196-207 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:256-267 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:314-325 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:182-193 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:248-259 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:160-171 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:173-184 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:137-148 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:203-214 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:272\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d47ef8f10b3cb8e2a06959467a454952f88fdff86c3833ed86e19df7d93a9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1319-1330 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1356-1367 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1935-1946 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2027-2038 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2091-2102 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2159-2170 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2219-2230 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:581-592 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1319\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1334\u0060 calls \u0060onShowToast\u0060 and \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1950\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e498d4945b649e8dfe673d2091f26ba756ebc8760c4f9d0a8c7126be1ecf7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:50-61 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:52-63 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:51-62 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:50-61 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 253 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:50\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, \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:66\u0060 calls \u0060addGestureRecognizer\u0060, \u0060UITapGestureRecognizer\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:66\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c723e2d8f0df0ef6751899569ddba5ffb560f51a52262c8d64d9f831480a17bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): Cosmostation/UI/Cell/AssetCell.swift:83-94 | Cosmostation/UI/Cell/AssetCell.swift:144-155 | Cosmostation/UI/Cell/AssetCell.swift:230-241 | Cosmostation/UI/Cell/AssetCell.swift:265-275 \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 \u0060Cosmostation/UI/Cell/AssetCell.swift:83\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":"Cosmostation/UI/Cell/AssetCell.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f36cc395abe2eb5ae08e913270f1ceda8a1d2f6d5e761746d9608a8907a418c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:108-120 | Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:89-101 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:102-114 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:108\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":"Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a051febede3f822c84ab4e2b4fa9e1263e4ca4e920082baeb11fae001ac4562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:434-444 | Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:462-473 | Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:492-503 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8759a14f4c92ae95f37f760cffdcc3b184d3d46c8b9bcb839c49c44543146bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosReceiveVC.swift:17-28 | Cosmostation/Controller/Main/EvmClass/EvmReceiveVC.swift:17-28 | Cosmostation/Controller/Main/MajorClass/MajorReceiveVC.swift:17-28 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosReceiveVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmReceiveVC.swift\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosReceiveVC.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4452bf941956ba192cce0d940b18ae3b9556881b8c0c40291d70360f980989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:219-235 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:248-264 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:277-293 \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 \u0060Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:219\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":"Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"581fbd12a76f8db953b5f0b07f2c11ec61ea06c581815fbd0b847b5e3b9b78a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:154-165 | Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:188-199 | Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:203-214 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxSendAddressSheet.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fdd5ec7f8616801fa71e55a4e1efb70c0f35f695ee0a1ca6073f36e8150b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Chains/BaseChain.swift:169-180 | Cosmostation/Chains/ClassCosmos/ChainBabylon.swift:42-53 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/BaseChain.swift\u0060 and \u0060Cosmostation/Chains/ClassCosmos/ChainBabylon.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 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 \u0060Cosmostation/Chains/BaseChain.swift:169\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/BaseChain.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f409f11b18e18de36961d90617123150087dec21b7e9650351f5dfae7f6feff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:205-216 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:182-192 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 157 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 \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:205\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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"134b76f43df3ee287487eeeb430bbf247ce63505f1a73e3138859401c6cfffcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:220-230 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:197-208 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 157 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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaea7c5a813670a35cd84219c8ce418f7d2f584fd0a707e3ffc5aba59a58116"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:232-242 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:210-221 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 157 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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddeff580d3fca31bde1ffc968716bb44e3e58eea4cc0f982662bc804e9593b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:284-294 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:223-234 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 157 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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b7fcad2c12824e1463aa47429829060dfb573e73b648644243a6ffe64a687d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:445-456 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:365-376 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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 \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:445\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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f1462d787db50c600a8113b32281241bd0b089b2485df259adee0c8e5cf6b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:94-105 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:83-94 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 104 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e386d5fd15caede09c248d08b7aa87ccf648f779781efb7589bb7bb3d510f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:108-119 | Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift:93-104 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:108\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a870b757e94d6df4385ca4279f174b7fc4cbc5a02162d6a667c23480bfdf78bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:252-263 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:259-270 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 195 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:252\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee5afde3f5cd3afd5acdb0e05a2783e51d51a26b8daab97d20bdccea685f3b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:69-80 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:71-82 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 231 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:69\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"819745f70c87786e3cd5603f774b595d7379bd58738211ffa656a34006ebc23e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:142-153 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift:140-151 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 101 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:142\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b584baa942d2f6d6a379da6a44ba301ad8dd920757bde129a58e81d977980623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Controller/Main/DappDetailVC.swift:1208-1219 | Cosmostation/Controller/Main/DappDetailVC.swift:1232-1243 \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 \u0060Cosmostation/Controller/Main/DappDetailVC.swift:1208\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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"274b10fd1acc31af9b52e14cb19be7023cddac376d3a06fc262e18c950234cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:166-177 | Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:195-206 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 71 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 \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:166\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bcf75b3c2de382a136f059a893052b7a68e103034003a17c8370efdba4bffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Fetcher/AptosFetcher.swift:176-187 | Cosmostation/Fetcher/AptosFetcher.swift:267-278 \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 \u0060Cosmostation/Fetcher/AptosFetcher.swift:176\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":"Cosmostation/Fetcher/AptosFetcher.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ea3f7e9a14f573daaab9b25480c3d72230633cb6fd905748a9883b4c71fd1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:840-851 | Cosmostation/Fetcher/NeutronFetcher.swift:86-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Fetcher/NeutronFetcher.swift:86\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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"382d54330c50714e1d7c41c31dd932cafa59cd6e8cbc818e79f32673b19b5f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Utils/Crypto/Signer.swift:200-211 | Cosmostation/Utils/Crypto/Signer.swift:216-227 \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":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ed557c7d8e4f44fb6087d48910062edcf1aa64462ec618ab6173eb0d55ac69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Utils/Crypto/Signer.swift:1084-1095 | Cosmostation/Utils/Crypto/Signer.swift:1097-1108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b18a47792ac8e7b6b21565ace6f68231788d86e63291827ac43b7eb2b367af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:38-48 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaDefiVC.swift:28-38 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:33-43 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:31-41 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:32-42 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:37-47 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:37-47 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:37-47 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:35\u0060 calls \u0060getNeutronFetcher\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:36\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":"Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e645cc8b2f5dc99e6d14c01052f6f8c81128f707adb02985a825796b99424f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201311 lines \u00D7 10): Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:62-64 | Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift:136-138 | Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:177-187 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:141-151 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:142-152 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:142-152 | Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:61-63 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:60-62 | Cosmostation/Controller/Main/SettingsVC.swift:61-63 | Cosmostation/Controller/Setting/AccountListVC.swift:310-312 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:62\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:177\u0060 calls \u0060NSLocalizedString\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:62\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":"Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"97176fb998b3a0e19de8e8056acb6b85709caaccef4377fcc8e6cc7ab517a404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:209-219 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:173-183 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:174-184 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:174-184 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"500dad51e358151cd8b5c573f154ffe2bd4724c49a754b4eda838f64ac2d161c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:185-196 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:186-197 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:186-197 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 179 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 \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:185\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":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fad84ede5df08b2907b27cba3bb414f7d62a89697bf01266fbacfe1104e8912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): Cosmostation/Controller/Main/PortfolioVC.swift:487-500 | Cosmostation/Controller/Main/PortfolioVC.swift:504-517 | Cosmostation/Controller/Main/PortfolioVC.swift:521-536 \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 \u0060Cosmostation/Controller/Main/PortfolioVC.swift:521\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"611aa6dfff2985774a8a29ac4c6f92376e3151d7860ad343732c9fd0a4542f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): Cosmostation/Fetcher/CosmosFetcher.swift:109-118 | Cosmostation/Fetcher/CosmosFetcher.swift:982-991 | Cosmostation/Fetcher/CosmosFetcher.swift:1005-1015 \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 \u0060Cosmostation/Fetcher/CosmosFetcher.swift:1005\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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f7f9410edb5be35120a212116f84ce6626d6b3ad2b66cba6a8f56499a57214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Cosmostation/UI/Cell/AssetBabylonCell.swift:95-105 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:216-226 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:290-300 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/AssetBabylonCell.swift\u0060 and \u0060Cosmostation/UI/Cell/AssetCosmosClassCell.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 70 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":"Cosmostation/UI/Cell/AssetBabylonCell.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a741f76d080dceb5fb55ae0bc31f144a76f85580cc3340f315f1224f33a1610"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Cosmostation/Chains/ClassCosmos/ChainBabylon.swift:43-53 | Cosmostation/Chains/ClassCosmos/ChainGno.swift:72-82 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/ClassCosmos/ChainBabylon.swift\u0060 and \u0060Cosmostation/Chains/ClassCosmos/ChainGno.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Chains/ClassCosmos/ChainBabylon.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":"Cosmostation/Chains/ClassCosmos/ChainBabylon.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bf05da1cd81f9279d48a2d07a9d64cd08fb349a2e0d68600ea5a636695c04f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:90-100 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:88-98 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/AllChainClaimStartVC.swift\u0060 and \u0060Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Cosmostation/Controller/Main/AllChainClaimStartVC.swift:90\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":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdeb3dc4c9ba634dbbe3966dcef5b1c5476b1b7e6882b118f48811c7706ada3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:195-205 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:197-207 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/AllChainClaimStartVC.swift\u0060 and \u0060Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Cosmostation/Controller/Main/AllChainClaimStartVC.swift:195\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":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ac0787f77fc41b1695ce4d8b09b500afb7e8528e8b13d579dfaa0deb79a527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:56-66 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:53-63 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 162 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":"Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f3077793e11af034c13912921ff13e76b97bf0f95649584f58986bb064422c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:106-116 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:103-112 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 260 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:106\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecafab7fe28f08ebb6454b4b9a53e65ea74d3ceb14f2974e684e721f5ce19bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201311 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:204-206 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:313-322 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:336-346 | Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:545-547 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:313\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:313\u0060 calls \u0060onStartMainTab\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:204\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4457ef8a5bbb7a57ec3e6c3cda2a10fac418864124b0db54d25d0711cd75788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Cosmostation/Controller/Sheet/DappDetailSheet.swift:96-106 | Cosmostation/Controller/Sheet/DappDetailSheet.swift:130-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 \u0060Cosmostation/Controller/Sheet/DappDetailSheet.swift:96\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":"Cosmostation/Controller/Sheet/DappDetailSheet.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06791248cd4d0369941d315090376bcd0a6598af2bf5fc9eac07d591d6c2908"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:67-79 | Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:146-158 \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 \u0060Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:67\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":"Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a3c72a99c620a0abb939d2345d72cb3c0dff89e0637851087f211da346bb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Cosmostation/Model/MintscanHistory.swift:269-279 | Cosmostation/Model/MintscanHistory.swift:308-318 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Model/MintscanHistory.swift:269\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":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8acfd48dc5c040e2bf9a6e7c4d3ee22bb6519a803fe16e1e12072d3ed76c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 21): Cosmostation/Controller/Main/ChainSelectVC.swift:36-45 | Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:51-60 | Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift:38-47 | Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift:34-43 | Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:40-49 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:57-66 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:57-66 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaDefiVC.swift:30-39 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaEarnListVC.swift:30-39 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:35-44 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:33-42 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:34-43 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:39-48 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:39-48 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:39-48 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:37-46 | Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift:35-44 | Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:30-39 | Cosmostation/Controller/Setting/ChainListVC.swift:29-38 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:30-39 | Cosmostation/Controller/Setting/WalletDeriveVC.swift:35-44 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/ChainSelectVC.swift\u0060 and \u0060Cosmostation/Controller/Setting/ChainListVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:61\u0060 calls \u0060register\u0060, \u0060UINib\u0060 and \u0060Cosmostation/Controller/Main/ChainSelectVC.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":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ada607007c9e556b3e38058d721b7962b1338942f08009946ed3a4ca6a0c9d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 14): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:387-395 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:323-332 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:307-316 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:277-285 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:327-336 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:298-307 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:412-420 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:485-493 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:276-284 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:411-418 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:306-315 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:320-328 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:367-375 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:303-312 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:387\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed43f1e75789314e2f1288b92cd120d377de714337388253082ce3312a925663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:93-102 | Cosmostation/Controller/Main/CosmosClass/CosmosNftVC.swift:132-141 | Cosmostation/Controller/Main/DappListViewController.swift:319-328 | Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift:93-102 | Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift:78-87 | Cosmostation/Controller/Main/MajorClass/MajorNftVC.swift:143-152 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b65a19432a40769f28a6cf0b7f4ea606df0f9670748968cd4353b3eef082ecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): Cosmostation/UI/Cell/AssetBabylonCell.swift:93-102 | Cosmostation/UI/Cell/AssetCell.swift:67-76 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:91-100 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:214-223 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:288-297 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:357-366 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/AssetBabylonCell.swift\u0060 and \u0060Cosmostation/UI/Cell/AssetCosmosClassCell.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 70 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":"Cosmostation/UI/Cell/AssetBabylonCell.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bb7abede85a994c011c3c1f8ff531120790effffe60e3ad6d84f291c0dbcfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:71-79 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:63-71 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:65-73 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:65-73 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:65-74 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 246 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:71\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c3f26b7b172934980936e4f5d4bc5a599194a127addc5d6b7c9f5abc027de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): Cosmostation/UI/Cell/AssetCell.swift:84-93 | Cosmostation/UI/Cell/AssetCell.swift:145-154 | Cosmostation/UI/Cell/AssetCell.swift:231-240 | Cosmostation/UI/Cell/AssetCell.swift:266-275 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:167-176 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AssetCell.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2d59cb97721b2b6329a596bfacd7c10ba8abf9a939e0756c8ecc2b851e59f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Cosmostation/Chains/ChainMajor/ChainAptos.swift:84-93 | Cosmostation/Chains/ChainMajor/ChainIota.swift:87-96 | Cosmostation/Chains/ChainMajor/ChainSolana.swift:89-98 | Cosmostation/Chains/ChainMajor/ChainSui.swift:88-97 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/ChainMajor/ChainIota.swift\u0060 and \u0060Cosmostation/Chains/ChainMajor/ChainSui.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Chains/ChainMajor/ChainAptos.swift:84\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Chains/ChainMajor/ChainAptos.swift:82\u0060 calls \u0060balanceAmount\u0060 and \u0060Cosmostation/Chains/ChainMajor/ChainIota.swift:85\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":"Cosmostation/Chains/ChainMajor/ChainAptos.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"df311ef358ee94883b19f770476a63e78d2d353a2967c68e2a8543303b8463a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:93-102 | Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:111-120 | Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:129-137 | Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:147-156 \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 \u0060Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:93\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":"Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8008ca9ec3f4ebec026b2dcf8c3ac44241b4bf518c0fbcb4fc0e4bb1cb743e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Cosmostation/Controller/Init/CreateMnemonicVC.swift:143-155 | Cosmostation/Controller/Init/ImportMnemonicVC.swift:32-44 | Cosmostation/Controller/Init/ImportPrivKeyVC.swift:32-44 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Init/ImportMnemonicVC.swift\u0060 and \u0060Cosmostation/Controller/Init/ImportPrivKeyVC.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"Cosmostation/Controller/Init/CreateMnemonicVC.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f19d155546aad1953565cf21a230c50ff2718f110dff3a43ed218376515e5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Cosmostation/UI/Cell/CosmosProposalCell.swift:107-116 | Cosmostation/UI/Cell/NeutronMultiVoteCell.swift:83-92 | Cosmostation/UI/Cell/NeutronSingleVoteCell.swift:60-69 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/CosmosProposalCell.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76224408383693db3e70b1ffcca139dfb165b4a6be9bbf98c3095ccc582bab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Chains/ClassCosmos/ChainOkt996Keccak.swift:55-64 | Cosmostation/Chains/ClassEVM/ChainOktEVM.swift:86-95 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/ClassCosmos/ChainOkt996Keccak.swift\u0060 and \u0060Cosmostation/Chains/ClassEVM/ChainOktEVM.swift\u0060 as WHOLE FILES: this scan already matched 4 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Chains/ClassEVM/ChainOktEVM.swift:96\u0060 calls \u0060valueTokenCnt\u0060, \u0060allTokenValue\u0060 and \u0060Cosmostation/Chains/ClassCosmos/ChainOkt996Keccak.swift:66\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":"Cosmostation/Chains/ClassCosmos/ChainOkt996Keccak.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"75041388198ba42658d979425065cc3a39fffa559d62a579a210aefb62c54e83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:247-256 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:184-186 | Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:219-228 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bddfa894abaa377d161a9bf0916fd9d067517750934f8d76f2b187f3b56e6bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift:48-57 | Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift:45-54 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1810eee86d0ef86093f4b49084cfefcf1f15a72065ab3f77a63083f1d9db888"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:408-417 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:285-294 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 98 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:408\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b50a769fecf479788f0c7f3166ad913f3f37551ad39ea38dd230b4df138101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcDelegate.swift:83-92 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift:66-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 \u0060Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcDelegate.swift:83\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":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcDelegate.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f5ac38c695cd1d3a4416e09766f8a2fa12e7a1b233a32b4a622934676982c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:107-116 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:107-116 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 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 \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:107\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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"accffc7aa0828876ac5abb0dca4d693c68d311b630e850ee9017eec2515daf43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:144-159 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:145-160 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 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 \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:144\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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6289aec3dbc804f6f2bf476be1fadca1eae816550e3952290f550600e607429"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Main/SettingsVC.swift:266-275 | Cosmostation/Controller/Main/SettingsVC.swift:283-292 \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 \u0060Cosmostation/Controller/Main/SettingsVC.swift:266\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":"Cosmostation/Controller/Main/SettingsVC.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c5b41234209329dba92b4d07cced6614e7aa6727272218d03e238b118ad82c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Main/SwapStartVC.swift:836-845 | Cosmostation/Controller/Main/SwapStartVC.swift:886-895 \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 \u0060Cosmostation/Controller/Main/SwapStartVC.swift:836\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":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"b366842767102f3e31dd8ef747e70eb835f7236e2e7bc015cf9fa485133675a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:135-144 | Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:157-166 \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 \u0060Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:135\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:145\u0060 calls \u0060NSLocalizedString\u0060 and \u0060Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:167\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":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"71daf00adce053bdfacc94cf4fee963129264ce9b51a3fe296836608af4d4021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift:33-42 | Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.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 \u0060Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift:33\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8185439a186b7ab667db15dcbbc51355dd6bed359b1bbedfcdbdc1ba027f58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:162-171 | Cosmostation/UI/Cell/StakeUnbondingCell.swift:59-68 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift\u0060 and \u0060Cosmostation/UI/Cell/StakeUnbondingCell.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85535d84d54ab7dbeecee1d92acfa62fdae3b6c536a312d1d876d4c61027e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Model/MintscanHistory.swift:60-69 | Cosmostation/Model/MintscanHistory.swift:778-787 \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 \u0060Cosmostation/Model/MintscanHistory.swift:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a0cde3450675401136490b7d0a764d4fa85414041d3fcd55cd0414aca953a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Utils/WDP.swift:192-201 | Cosmostation/Utils/WDP.swift:220-229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"Cosmostation/Utils/WDP.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"736c26ed2b676d928241840ad455eccf6c190f748be39f99100b9f5ed560305e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 21): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:417-425 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:354-362 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:338-346 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:307-315 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:358-366 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:329-337 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:452-460 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:537-545 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:314-322 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:444-452 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:337-345 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:245-253 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:315-323 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:252-260 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:398-406 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:443-451 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:330-338 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:430-438 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:355-363 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:398-406 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:347-355 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"46603c64cf6a26b9ef13aaa371891b8cde2797215fc1e4aa8628f726d8b206c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:222-230 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:225-233 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:358-366 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:403-411 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:299-307 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:392-400 | Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift:446-454 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:368\u0060 calls \u0060onInputedAmount\u0060, \u0060onUpdateAmountView\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:232\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9169d9a2c0540511034ffe1865c8ec1b698f18d1cebe1c395ef78f77d96bfa52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:177-185 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:241-249 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:169-177 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:132-140 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:88-96 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:96-104 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 242 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:177\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1409f56580bf039a6f864354fa430252dd9e09c71783f8656ea9c35b45fc48e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): Cosmostation/Controller/Main/DappDetailVC.swift:578-586 | Cosmostation/Controller/Main/DappDetailVC.swift:600-608 | Cosmostation/Controller/Main/DappDetailVC.swift:611-619 | Cosmostation/Controller/Main/DappDetailVC.swift:623-631 | Cosmostation/Controller/Main/DappDetailVC.swift:634-642 | Cosmostation/Controller/Main/DappDetailVC.swift:646-654 \u2014 all 6 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 \u0060Cosmostation/Controller/Main/DappDetailVC.swift:578\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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83e6861a35c59f6a78299270211d49137fe89ff84715a47c4d71d82eafe2ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): Cosmostation/Controller/Main/CosmosClass/CosmosRewardListPopupVC.swift:20-28 | Cosmostation/Controller/Main/ServiceVC.swift:17-25 | Cosmostation/Controller/Setting/AddressBookListVC.swift:19-27 | Cosmostation/Controller/Setting/ChainAnnouncementVC.swift:18-26 | Cosmostation/Controller/Sheet/OktSelectValidatorSheet.swift:25-33 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Main/CosmosClass/CosmosRewardListPopupVC.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":"Cosmostation/Controller/Main/CosmosClass/CosmosRewardListPopupVC.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeda6aff06afa3cac3d93bac4db0bd827ca457a4e0fb876ab1fecc355c85e331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Cosmostation/Chains/ClassCosmos/ChainInitia.swift:60-68 | Cosmostation/Chains/ClassCosmos/ChainNeutron.swift:63-71 | Cosmostation/Chains/ClassCosmos/ChainOkt996Keccak.swift:55-63 | Cosmostation/Chains/ClassEVM/ChainOktEVM.swift:86-94 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/ClassCosmos/ChainInitia.swift\u0060 and \u0060Cosmostation/Chains/ClassCosmos/ChainNeutron.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 73 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":"Cosmostation/Chains/ClassCosmos/ChainInitia.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"362fff2bf909d9c7bc0d26f7e0276f19a8f237da1804c3861700257d88314b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1551-1559 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:493-501 | Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:212-220 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:155-163 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1551\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"9232a27705eaa089d1b95c8970cf52b4b924df5e99a8203d7828534ae656b370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Cosmostation/Chains/BaseChain.swift:183-191 | Cosmostation/Chains/BaseChain.swift:199-207 | Cosmostation/Chains/ClassCosmos/ChainBabylon.swift:55-63 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/BaseChain.swift\u0060 and \u0060Cosmostation/Chains/ClassCosmos/ChainBabylon.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/BaseChain.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceaf8637023035384b5612d56ece62d02021ba4023a2528832e2a47998252ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Cosmostation/Controller/Init/CreateMnemonicVC.swift:158-166 | Cosmostation/Controller/Init/ImportMnemonicVC.swift:47-55 | Cosmostation/Controller/Init/ImportPrivKeyVC.swift:46-54 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Init/ImportMnemonicVC.swift\u0060 and \u0060Cosmostation/Controller/Init/ImportPrivKeyVC.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"Cosmostation/Controller/Init/CreateMnemonicVC.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6808146471c452ce8082117eddde9ecd216461ef5b239d7ad68750d0c3427d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Cosmostation/Controller/Main/ChainSelectVC.swift:235-243 | Cosmostation/Controller/Main/PortfolioVC.swift:349-357 | Cosmostation/Controller/Setting/ChainListVC.swift:169-177 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/ChainSelectVC.swift\u0060 and \u0060Cosmostation/Controller/Main/PortfolioVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 44 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 \u0060Cosmostation/Controller/Main/ChainSelectVC.swift:235\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":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7097d3899cce4b201109309c9c9421f9cd23c5a7ea90b333edeaa3c8c6fb3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:211-218 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:222-229 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:187-195 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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 \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:211\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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae775ab51d4934a40794fb7e0e61f279dcf925a0cd905f0fd69c702e09ac046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:504-512 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:433-441 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:354-363 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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 \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:504\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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f80efa9f2b9f3481f26876e4632245752be77c1f641b21b48e9400b67a958ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:19-27 | Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:19-27 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:19-27 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:19\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, \u0060Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:30\u0060 calls \u0060register\u0060, \u0060UINib\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:30\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":"Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc77c02ef5bed8322ef3683bfaff87b95ba23f67c80fbf6ae18f09788984324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:134-142 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:116-124 | Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:107-115 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 104 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:134\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, \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:144\u0060 calls \u0060starEvmAddressAnimation\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:116\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":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83ad8e135ad17caee4271cd678b1a2f594d6f712bdccc75b096c75cb598ab3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:150-158 | Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:327-335 | Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:353-361 \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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:150\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aca571fbbbfc56a450e5adfa255b7eb24ac7cc12dc5e20b6716c927e61aeb31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:302-310 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:325-333 | Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:428-436 \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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:302\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41b54e6f0f1d7b23a6ec100035ca2b1f293d81a075442f0d2d9f551a11768c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:305-312 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:329-336 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:351-359 \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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:305\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b36a02740b5036d305d57f11b4b82845b3e910a29de9bf3f47abbdafac9fc77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:71-79 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:71-79 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:71-79 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 179 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":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a45d94312e6c024e93c1344a18c8e4d1a02fa3e0ecd50638eb85ec6d3bb0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:268-275 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:314-322 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:201-209 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:314\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c968e2a635c1c291934d19260564ed961808fa2e4fba103ec45de33c6ef0e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Cosmostation/Fetcher/AptosFetcher.swift:160-169 | Cosmostation/Fetcher/AptosFetcher.swift:208-217 | Cosmostation/Fetcher/AptosFetcher.swift:254-263 \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 \u0060Cosmostation/Fetcher/AptosFetcher.swift:160\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Fetcher/AptosFetcher.swift:172\u0060 calls \u0060Data\u0060, \u0060toHexString\u0060 and \u0060Cosmostation/Fetcher/AptosFetcher.swift:221\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":"Cosmostation/Fetcher/AptosFetcher.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fc871b7c37297c8492d9fc7924f2651d1544b60417578890d7c463e1a6b838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Cosmostation/Fetcher/AptosFetcher.swift:174-182 | Cosmostation/Fetcher/AptosFetcher.swift:221-229 | Cosmostation/Fetcher/AptosFetcher.swift:265-273 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Fetcher/AptosFetcher.swift:170\u0060 calls \u0060Int64\u0060, \u0060Date\u0060, \u0060Data\u0060 and \u0060Cosmostation/Fetcher/AptosFetcher.swift:263\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":"Cosmostation/Fetcher/AptosFetcher.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ac4580670f421e8440639d4698178df8b1462eb3ea4938fafb5a93698269b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Base/BaseAccount.swift:103-111 | Cosmostation/Base/BaseAccount.swift:137-145 \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 \u0060Cosmostation/Base/BaseAccount.swift:103\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":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb0fbfe1da88e3488abdc3c91853f4a8cbb344fbf2cf436eae950d271b45015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Chains/BaseChain.swift:210-218 | Cosmostation/Chains/ClassEVM/ChainBeraEVM.swift:71-79 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/BaseChain.swift\u0060 and \u0060Cosmostation/Chains/ClassEVM/ChainBeraEVM.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/BaseChain.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e043c4aa1ca96dfa03198781e9acc280c18f361b620f540bc9c60526f53c894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:148-156 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:127-135 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdbe93b030a74a91becbd0beac69472f5fa9b421a7d7cf750c5a22d42881ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:218-224 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:156-164 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"163600abb2da2763c12e10a46900832b38bfc981682198e865c5967618cbcd91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:117-128 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:139-150 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 298 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:117\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff5dc8ee0c95824fa0881210b04ed9f67c40559733dabb3b1b37e1068a6000b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:345-355 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:349-359 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 298 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:345\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d143d1dc2ab5da00990662b6c1f977c409cd5f377cbb67cfdff6cf1dd9e81e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Main/DappDetailVC.swift:589-597 | Cosmostation/Controller/Main/DappDetailVC.swift:658-666 \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 \u0060Cosmostation/Controller/Main/DappDetailVC.swift:589\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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"474f0b8cf83137cdd650d42c82d1ab14de09c8cd312aade93880ca133338d226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Main/DappDetailVC.swift:648-656 | Cosmostation/Controller/Main/DappDetailVC.swift:660-668 \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 \u0060Cosmostation/Controller/Main/DappDetailVC.swift:648\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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9023806f9bfe87358722ce93e2cc5af077fe8fce41122fe1ae347bdd6d7ec4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:982-991 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1069-1078 \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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ae8eb34680c52e447470364b35e8f89cc2ee813277fdc44d3af1dbcfd6afe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2270-2278 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:615-623 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2270\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":2270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c14618d4d494ebeb05b5172bde1dde6553d09ca213f1594ec16d88383b92b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:193-201 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:135-143 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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 \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6668976408e0788993259f366a6d42cb2a051dbc0f0a35542642a0b07f52ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:84-92 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:84-92 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift\u0060 as WHOLE FILES: this scan already matched 6 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea62504cdc77f6033f27fe9fa9c96d7b643049c13eb15c56967751ba98827c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:368-377 | Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift:450-459 \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":"Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a8c462ac5bbba8107754027ccc3a3ab4aba40c7be0f98c760ff28894d9d911"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:194-202 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:136-144 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 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 \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:194\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":"Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e96e90e27f04c493a6b065f9cd715c8ab158bdf5eb1b277de8437e41ee846f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Main/SwapStartVC.swift:849-857 | Cosmostation/Controller/Main/SwapStartVC.swift:899-907 \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 \u0060Cosmostation/Controller/Main/SwapStartVC.swift:849\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":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f123682bb4db63ede50126db28323348e4a1e8515e2b94d1ea9a8a31a4cc99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Setting/ChainListVC.swift:87-95 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:71-79 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Setting/ChainListVC.swift\u0060 and \u0060Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Setting/ChainListVC.swift:87\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":"Cosmostation/Controller/Setting/ChainListVC.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0060ba0eb4ab4c42f01e0339dab7dfea3f5de4fbeaf9aa09c88d88fc72cd2d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Sheet/AddressBookSheet.swift:292-300 | Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:508-516 \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":"Cosmostation/Controller/Sheet/AddressBookSheet.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae08bdb8c4c9907bb3a0572af9c25e27d2bd702a47d900f30fca499250e497f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Sheet/AnnouncementPopUpSheet.swift:65-73 | Cosmostation/Controller/Sheet/SheetCell/SelectAdsInfoCell.swift:70-78 \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 \u0060Cosmostation/Controller/Sheet/AnnouncementPopUpSheet.swift:65\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":"Cosmostation/Controller/Sheet/AnnouncementPopUpSheet.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"008cca02a7b9beca4cc74a1e52a5605655cd15feb61259a3a243486e15aca4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift:23-31 | Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift:96-104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift:23\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/BaseMsgSheetCell.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b67e17105b4b19cb7625c00ce58035727878bdb3faf22f2833289ff8716e15c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:112-120 | Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:126-134 \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 \u0060Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxSendAddressSheet.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"820ef9ca14a13bc430f9b7eaa651c06e426de60f28ddd64a216ca355fbfa42a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Fetcher/BabylonFetcher.swift:212-220 | Cosmostation/Fetcher/BabylonFetcher.swift:262-270 \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":"Cosmostation/Fetcher/BabylonFetcher.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb391a910ef7dfe050b210f9333d0d56dbb2542f3840410a1e819b593c217393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:119-127 | Cosmostation/Fetcher/NeutronFetcher.swift:79-87 \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 \u0060Cosmostation/Fetcher/CosmosFetcher.swift:119\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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52d765108709d005c07d1847d1a5ea856308dda85751e61215e45f69bcfe649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Cosmostation/Model/MintscanHistory.swift:789-796 | Cosmostation/Model/MintscanHistory.swift:798-806 \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 \u0060Cosmostation/Model/MintscanHistory.swift:798\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note 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":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f88a925fb38ae6809da3bd77505f8cb5845462ae9a4901ae30b1c14d27b7fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Cosmostation/Model/MintscanHistory.swift:811-821 | Cosmostation/Model/MintscanHistory.swift:843-853 \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 \u0060Cosmostation/Model/MintscanHistory.swift:811\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":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"618eb873e5d8951d52c58d1305276b1be9e2315748af68ded8c4d040f4862fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/UI/Cell/AssetCosmosClassCell.swift:264-272 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:335-343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/UI/Cell/AssetCosmosClassCell.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":"Cosmostation/UI/Cell/AssetCosmosClassCell.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a084b01d2f10b8fdd8aa46bf9229802ccbe4bd9abc6577c4ecd229c3c9c188"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/UI/Cell/AssetSuiCell.swift:59-67 | Cosmostation/UI/Cell/AssetSuiCell.swift:104-112 \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":"Cosmostation/UI/Cell/AssetSuiCell.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c1fbb5632f306dc75e23427eba11ad85e92f39e50a690514d9633a0b24ea43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Cosmostation/UI/Cell/BtcStakingCell.swift:36-46 | Cosmostation/UI/Cell/UnstakingApproxCell.swift:48-58 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/BtcStakingCell.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69fc41f9b5ba0272b631d74fd1006233603e7dc8b16c2cdb3479890f8e2cc2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/UI/Cell/DeriveCell.swift:116-124 | Cosmostation/UI/Cell/SelectChainCell.swift:116-124 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/DeriveCell.swift\u0060 and \u0060Cosmostation/UI/Cell/SelectChainCell.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 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 \u0060Cosmostation/UI/Cell/DeriveCell.swift:116\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":"Cosmostation/UI/Cell/DeriveCell.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"365e266cddf5e0ee566b0d00cfb23ccc59593463f9cdf2b2ce70d75f821d9f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/UI/Cell/VoteAllChainCell.swift:30-38 | Cosmostation/UI/Cell/VoteCell.swift:39-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/UI/Cell/VoteAllChainCell.swift:30\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":"Cosmostation/UI/Cell/VoteAllChainCell.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"580de9151935f4764055369fd5eaaf5b90c9968e6466aee765a987fd1a90095f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 21): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:242-248 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:182-188 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:132-138 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:149-155 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:181-187 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:165-171 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:226-232 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:284-290 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:152-158 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:218-224 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:130-136 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:69-76 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:74-81 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:65-72 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:78-85 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:76-83 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:80-87 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:90-97 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:143-149 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:107-113 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:163-169 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:86\u0060 calls \u0060getAsset\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:90\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d513f94602c9c2adff69ec698a515f5780a5ad5b7e6e626be5bb52a0d53517e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 18): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:386-393 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:322-329 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:306-313 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:276-283 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:326-333 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:297-304 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:275-282 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:305-312 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:221-229 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:224-232 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:357-365 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:402-410 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:298-306 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:391-399 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:319-326 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:366-373 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:302-309 | Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift:445-453 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:386\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a314277a82a9c361e9137ab967c40b07ee7d350c90963fb69e1bac37931001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12): Cosmostation/Chains/BaseChain.swift:227-235 | Cosmostation/Chains/ChainMajor/ChainAptos.swift:86-94 | Cosmostation/Chains/ChainMajor/ChainIota.swift:89-97 | Cosmostation/Chains/ChainMajor/ChainSolana.swift:91-99 | Cosmostation/Chains/ChainMajor/ChainSui.swift:90-98 | Cosmostation/Chains/ClassCosmos/ChainBabylon.swift:71-78 | Cosmostation/Chains/ClassCosmos/ChainGno.swift:101-109 | Cosmostation/Chains/ClassCosmos/ChainInitia.swift:81-90 | Cosmostation/Chains/ClassCosmos/ChainNeutron.swift:84-93 | Cosmostation/Chains/ClassCosmos/ChainOkt996Keccak.swift:73-83 | Cosmostation/Chains/ClassEVM/ChainBeraEVM.swift:87-94 | Cosmostation/Chains/ClassEVM/ChainOktEVM.swift:107-115 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/BaseChain.swift\u0060 and \u0060Cosmostation/Chains/ClassCosmos/ChainBabylon.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 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 \u0060Cosmostation/Chains/BaseChain.swift:227\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Chains/ChainMajor/ChainAptos.swift:82\u0060 calls \u0060balanceAmount\u0060 and \u0060Cosmostation/Chains/ChainMajor/ChainIota.swift:85\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":"Cosmostation/Chains/BaseChain.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f333607280cae2dca7a933ea45c428f9e4ebc315d4453a6972eed00e9501c079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20138 lines \u00D7 16): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:61-62 | Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:63-70 | Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:28-29 | Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:73-79 | Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift:47-53 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:55-61 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:52-58 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:46-52 | Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift:44-50 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift:52-58 | Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:67-73 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:28-29 | Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift:51-57 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:66-72 | Cosmostation/Controller/Main/PortfolioVC.swift:55-61 | Cosmostation/Controller/Main/SettingsVC.swift:23-24 \u2014 there are 16 copies across 15 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 16 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:60\u0060 calls \u0060register\u0060, \u0060UINib\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:59\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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d8c348b79b4d29dff0dc5286f7955cb969f89831d8f4592942901b61e9fe6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:173-180 | Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:220-227 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:113-120 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronDaoVC.swift:76-83 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:110-117 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:160-167 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift:140-147 | Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:111-118 | Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:189-196 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:110-117 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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, \u0060Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:185\u0060 calls \u0060showEvenReview\u0060, \u0060isSupportMobileDapp\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:171\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79e7955ad4169e48659be37a699a7d18de09c9227fb57f82a14bf0c49dbb484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 7): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:169-180 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:217-229 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:162-173 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:245-257 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:279-291 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:230-242 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:292-304 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 116 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:169\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d39e37422c4d2326f00f149544a0680940a4fb4926afc47a5133f362fe4f77b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift:44-51 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:43-50 | Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift:41-48 | Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:64-71 | Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:36-43 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:63-70 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"261ee9d1235203bff3e9419dcd1b3c5f124e6f6bc36ec3ad8c34d6bf992a6cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:189-197 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:153-161 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:154-162 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:154-162 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift:189\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":"Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e90b84c533ed58aefec1250b766851b8913f71c52721b7ca580e25c0ed5690a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:521-528 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:450-457 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:367-374 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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 \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:521\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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"55113f465041b485a0a8be27d3862cceabbc8249beddf89d72df7b298ec7176d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:105-112 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:119-126 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:133-140 \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 \u0060Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:105\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":"Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"62924d548c25a18e6377ebb7744c4095e2b767057de5e64189b1993885734ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Controller/Main/DappDetailVC.swift:589-596 | Cosmostation/Controller/Main/DappDetailVC.swift:658-665 | Cosmostation/Controller/Main/DappDetailVC.swift:670-677 \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 \u0060Cosmostation/Controller/Main/DappDetailVC.swift:589\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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a193536d62db4a714c75cee80390e3cece512667e067d8670fd5f44f09610c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Controller/Setting/ChainListVC.swift:86-93 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:70-77 | Cosmostation/Controller/Setting/WalletDeriveVC.swift:82-89 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Setting/ChainListVC.swift\u0060 and \u0060Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Setting/ChainListVC.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaea35a09a417eea94a65ca802c75f618c44fc9fa3c6ff463d60b4cf342e8c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:57-64 | Cosmostation/UI/Cell/PendingUnbondingCell.swift:42-49 | Cosmostation/UI/Cell/StakeUnbondingCell.swift:40-47 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift\u0060 and \u0060Cosmostation/UI/Cell/StakeUnbondingCell.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d375dbdb4f0da8ffec55df570f922ccdeffe7fb70770a414af545f368f860a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:55-62 | Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:84-91 | Cosmostation/UI/Cell/StakeUnbondingCell.swift:38-45 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift\u0060 and \u0060Cosmostation/UI/Cell/StakeUnbondingCell.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf3153bd53985ff4aca2dea869a531789c99bdfa7049b4fab94287c3b7e4db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Fetcher/CosmosFetcher.swift:254-261 | Cosmostation/Fetcher/EvmFetcher.swift:110-117 | Cosmostation/Fetcher/GnoFetcher.swift:138-145 \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 \u0060Cosmostation/Fetcher/CosmosFetcher.swift:254\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3e72ea519ae674c4ec18c262a287e27658a1eab6111900a9d8bdd88cb0ca09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 3): Cosmostation/Model/MintscanHistory.swift:108-117 | Cosmostation/Model/MintscanHistory.swift:261-274 | Cosmostation/Model/MintscanHistory.swift:300-313 \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 \u0060Cosmostation/Model/MintscanHistory.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":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52c46352398bb77827ab78a7dc9a183bcf9d7529c6ca775119c57c34b492e6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Utils/WDP.swift:176-183 | Cosmostation/Utils/WDP.swift:204-211 | Cosmostation/Utils/WDP.swift:232-239 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/WDP.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1691d8b1f2298df05adda203c3802c464ffca3cdcb5a5753cddd998c1c533880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:320-327 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:338-345 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 195 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:320\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a72d04a3f0a2ad400caecc15c05d4b3e2fae1da8097ec6680d37814874ffedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:77-84 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:91-98 \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 \u0060Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:77\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":"Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"912fcf809f965da2abe89f66bab96644b1a6ef2f39140a8187f7941c24b24fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:606-613 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:284-291 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:606\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, \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:616\u0060 calls \u0060getUserSelectedFee\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift:292\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"35aad53726dd7cde23af8cccc565c610efbf680a97d97c2cb6e1e21bbb76a5a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1655-1668 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1737-1750 \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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1655\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"575a925194d1be50c4843a6e39024ca9daa794c31328289626032d8e71c184e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:140-156 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:139-155 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42280bb61ec900f6010041f9bc614f06f1a4eea5282e1301508bb20a399c6ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/Controller/Sheet/BaseSheet.swift:169-176 | Cosmostation/Controller/Sheet/BaseSheet.swift:179-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b50f4ecd16362f07755856c6e2d57d249e7fbca0085011e90cff57813ec95d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift:350-357 | Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift:370-376 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21c35c9dbb664954be3788770ec25a3cc8572080e9fa0a60f285a44b993f810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Fetcher/CoreumFetcher.swift:22-30 | Cosmostation/Fetcher/CosmosFetcher.swift:300-308 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CoreumFetcher.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"611bae7d5a7cfb2c47c883ff2cf39faf10fb7fc5a1ce7ed8af600f037c4fcf87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Model/MintscanHistory.swift:914-923 | Cosmostation/Model/MintscanHistory.swift:924-933 \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":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d8f9c056602eb1be5d82e2d4c82c7e45c84b526a12577b13f274059fe90599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/UI/Cell/DeriveCell.swift:124-131 | Cosmostation/UI/Cell/PortfolioCell.swift:76-83 \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 \u0060Cosmostation/UI/Cell/DeriveCell.swift:124\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":"Cosmostation/UI/Cell/DeriveCell.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d242c2c67dd9a2bd9f27f86d339bbadedecbf409c063017172ee4a62afd47678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/UI/Cell/NeutronSingleVoteCell.swift:40-47 | Cosmostation/UI/Cell/VoteThreeItemsCell.swift:39-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/NeutronSingleVoteCell.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1454b7cd3646adf1fecbdd338504c0b960d7e224ec519167c3884f36ec40025f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/UI/Cell/PendingUnbondingCell.swift:40-47 | Cosmostation/UI/Cell/StakeUnbondingCell.swift:81-88 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/PendingUnbondingCell.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa10d6645e2c2e1902608d63c11695d20249ea11ab17be5053773c17b0456d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/UI/Cell/StakeDelegateCell.swift:50-57 | Cosmostation/UI/Cell/StakeDelegateCell.swift:112-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 \u0060Cosmostation/UI/Cell/StakeDelegateCell.swift:50\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, \u0060Cosmostation/UI/Cell/StakeDelegateCell.swift:58\u0060 calls \u0060NSDecimalNumber\u0060, \u0060multiplying\u0060 and \u0060Cosmostation/UI/Cell/StakeDelegateCell.swift:121\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":"Cosmostation/UI/Cell/StakeDelegateCell.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecc54a7f513eb1d6bb7504e27260078dc98f74069c0485e5995d03bd20673ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/Utils/WDP.swift:242-249 | Cosmostation/Utils/WDP.swift:274-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. 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":"Cosmostation/Utils/WDP.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"da30cc7ef0c0a5a82bf19cfcb29e4e08d9509db0097d5a0de2f22cca67782e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 28): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:272-278 | Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:341-347 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:212-218 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:262-268 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:162-168 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:212-218 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:180-186 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:210-216 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:211-217 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:261-267 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:196-202 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:226-232 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:256-262 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:318-324 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:314-320 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:374-380 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:182-188 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:212-218 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:248-254 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:305-311 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:160-166 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:190-196 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:173-179 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:239-245 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:137-143 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:187-193 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:203-209 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:233-239 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"61eea5bf252d8ab411352a2324e91df70c80863ea5e2632470d3e70e6f6d7f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 16): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1108-1114 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1318-1324 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1355-1361 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1457-1463 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1520-1526 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1588-1594 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1811-1817 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1883-1889 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1934-1940 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2026-2032 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2090-2096 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2158-2164 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:2218-2224 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:467-473 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:530-536 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:580-586 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1108\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2724e8bfbd64efb81963886696ec3a8116bfceb7d37b826139a70355bc6a9bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 11): Cosmostation/Controller/Sheet/TxAmountSheet.swift:54-59 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:62-67 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:70-75 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:78-83 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:86-93 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:96-101 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:104-109 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:112-117 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:120-125 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:135-140 | Cosmostation/Controller/Sheet/TxAmountSheet.swift:143-149 \u2014 all 11 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 \u0060Cosmostation/Controller/Sheet/TxAmountSheet.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxAmountSheet.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2285d02be8f1ad8f23bfea1db7d4dec5e2421e003cfb4a03e2396922b9a0da3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:71-77 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:94-100 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:63-69 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:65-71 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:65-71 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:65-72 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:71-77 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 204 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:71\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, \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:78\u0060 calls \u0060onInitView\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:101\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4604d19e0cfeba382296526c9b3cc550dc4979c25a3ad60f89fa797b5b54cba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): Cosmostation/UI/Cell/AboutSocialsCell.swift:50-56 | Cosmostation/UI/Cell/AboutSocialsCell.swift:72-78 | Cosmostation/UI/Cell/AboutSocialsCell.swift:87-93 | Cosmostation/UI/Cell/AboutSocialsCell.swift:97-103 | Cosmostation/UI/Cell/AboutSocialsCell.swift:106-112 | Cosmostation/UI/Cell/AboutSocialsCell.swift:115-121 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AboutSocialsCell.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f017006cb2c56780e8971ca4005926a48571a3f3350e6196e151084a424665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:74-83 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:88-97 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:102-110 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:116-124 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:130-138 \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 \u0060Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"566c472845d6623fb66379bb952b8a380f6f81b33e743e1655f2e9f04d36f69b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:411-417 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:484-490 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:410-416 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:288-295 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 242 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:411\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, \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:406\u0060 calls \u0060onUpdateFeeView\u0060, \u0060onSimul\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:408\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb62481631ec4229a6f998049e6fe27bcf555b2bca112367bf1a1736f8be7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:279-285 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:305-311 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:329-335 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:351-357 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 181 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"453088e48aba4015d72423755367f2ad17915b56f091a5624a7c4ab3d0661f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:56-62 | Cosmostation/UI/Cell/PendingUnbondingCell.swift:41-47 | Cosmostation/UI/Cell/StakeUnbondingCell.swift:39-45 | Cosmostation/UI/Cell/StakeUnbondingCell.swift:82-88 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift\u0060 and \u0060Cosmostation/UI/Cell/StakeUnbondingCell.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a78e91ed1bcb64af17d7215e3254137e473ede95487699a26f276e92b0a9b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:170-179 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:212-221 | Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:126-135 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c91058ced2c0f35c7d626d16127e28ef1aafa0fea103b3424061d9b104d7fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:120-126 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:144-150 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:142-148 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 298 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7f8c4cbc657bc55068c83ffbbb273347b035e6a9fc6268d9459f8a24ea382c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:244-251 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:254-261 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:264-271 \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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:244\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50ab1e24386e9ccbe6ab5b53eb1e11a69b8e3e5e1275bff76d83f369f2e4b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:91-97 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:91-97 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:91-97 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 179 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 \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dd8fa86e8175a28921672c0c25affe94c6b462618da26202d242cefe129cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Cosmostation/Controller/Main/PortfolioVC.swift:346-355 | Cosmostation/Controller/Setting/ChainListVC.swift:166-175 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:104-113 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/PortfolioVC.swift\u0060 and \u0060Cosmostation/Controller/Setting/ChainListVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:114\u0060 calls \u0060NSLocalizedString\u0060 and \u0060Cosmostation/Controller/Main/PortfolioVC.swift:356\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":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aeeeddacc67f2da29d43dbb59b82fc11411f8f3bcea3691622961a7ee71a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Cosmostation/Fetcher/CosmosFetcher.swift:1122-1128 | Cosmostation/Fetcher/InitiaFetcher.swift:225-231 | Cosmostation/Fetcher/ZenrockFetcher.swift:220-226 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Fetcher/CosmosFetcher.swift:1122\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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"162b6f3be3c5b5b0c3f97ce36b66c62f73ff29941bd1569e9a05dec76986287e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Cosmostation/Fetcher/IotaFetcher.swift:409-418 | Cosmostation/Fetcher/IotaFetcher.swift:424-433 | Cosmostation/Fetcher/SuiFetcher.swift:515-524 \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 \u0060Cosmostation/Fetcher/IotaFetcher.swift:409\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7007947cc4ff861328a70c22208b3bf42b3b695cbc706f87e84f83f35e675bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Base/BaseAccount.swift:196-202 | Cosmostation/Base/BaseAccount.swift:231-237 \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 \u0060Cosmostation/Base/BaseAccount.swift:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9f506d3cb062cd9dd81a9f78962e62fb6b979b86020e6eb6d0148f97d52909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): Cosmostation/Base/BaseAccount.swift:206-212 | Cosmostation/Controller/Main/ChainSelectVC.swift:132-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Base/BaseAccount.swift:206\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":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe0387f68d4d88afb7d85017ca770a72d64f63ef50f732502a27d23f5b4dad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/ChainSelectVC.swift:50-56 | Cosmostation/Controller/Main/PortfolioVC.swift:65-71 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/ChainSelectVC.swift\u0060 and \u0060Cosmostation/Controller/Main/PortfolioVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 44 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":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b99223cd13ff0d80338f4aa3d00793ad774917d40710cc131aa0ec238b4ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/ChainSelectVC.swift:174-180 | Cosmostation/Controller/Setting/WalletDeriveVC.swift:128-134 \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 \u0060Cosmostation/Controller/Main/ChainSelectVC.swift:174\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":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c622008b9a815d1cb7cdc92e7336c4aea5eaff35349c590fb52321c632971c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:65-71 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:63-69 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:65\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":"Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb14117383f99db15f6f46b6dd9878e76d7ac7a905cbc10dec2e4d5fee5ab99a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:192-198 | Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:218-224 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c406959379e1c3000fee70aa219aa83e255473967587c4b607626b7e4157b56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:386-392 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:314-321 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 162 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:386\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":"Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaa88aa505cb49b0814229a9f0ed2121b7791e9b3fab86f81ec75eb78b29ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:91-97 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:104-110 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:111\u0060 calls \u0060filter\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift:98\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":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaSwapListVC.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"27234879b57dbe8802008aa82640c5f666fd9ffd53544ee6b02f9fa4ab7788a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/DappDetailVC.swift:325-331 | Cosmostation/Controller/Main/DappDetailVC.swift:340-346 \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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"287badf31fcaa70fe41947783dd40e222d5fc7519fd58440ba958a7f4cf20780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/DappDetailVC.swift:539-545 | Cosmostation/Controller/Main/DappDetailVC.swift:567-573 \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 \u0060Cosmostation/Controller/Main/DappDetailVC.swift:539\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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"806b6d558c42f28d63cc7991e1fcbdf22878ee7b9203e68e3320794c98babae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 4): Cosmostation/Controller/Main/DappListViewController.swift:58-59 | Cosmostation/Controller/Main/DappListViewController.swift:60-66 | Cosmostation/Controller/Main/DappListViewController.swift:360-361 | Cosmostation/Controller/Main/DappListViewController.swift:362-368 \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 \u0060Cosmostation/Controller/Main/DappListViewController.swift:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Cosmostation/Controller/Main/DappListViewController.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1ab53b24492f11a21a5095f8b6b9c13b52bddf24f39fb6a2b0746ddcbd43cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:64-70 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:67-75 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 53 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 \u0060Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:64\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e4096281362d86a0c008e4882720d379e92494fd2b9bd5c33cb6154f4e7809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift:125-131 | Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:183-189 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e64d8cc961bd85205f3b4b33a7ac12bdd7e0a4ae610537796c38bd7426ed2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcDelegate.swift:293-299 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift:221-227 \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 \u0060Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcDelegate.swift:293\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":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcDelegate.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c83d850b832da25211a678b36d88c56bfc0ccfde2c511f6baa4035d58b0508"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/PortfolioVC.swift:48-54 | Cosmostation/Controller/Main/SettingsVC.swift:16-22 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Main/PortfolioVC.swift:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/SettingsVC.swift:24\u0060 calls \u0060register\u0060, \u0060UINib\u0060 and \u0060Cosmostation/Controller/Main/PortfolioVC.swift:56\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":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8fc80b24888a6766e589f7f05b7835de832e196b7d9c1d521e207c998940c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Setting/ChainListVC.swift:43-49 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:44-50 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Setting/ChainListVC.swift\u0060 and \u0060Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Setting/ChainListVC.swift:51\u0060 calls \u0060UIBarButtonItem\u0060, \u0060UIImage\u0060 and \u0060Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:52\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":"Cosmostation/Controller/Setting/ChainListVC.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2fa1c6c6d9707ecc38035719f04352830446e72119bf9c9916764e39be5531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:61-66 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:176-182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6b09f4c71a573f9a548116390ebd39ccee48ca6a3c7b42c092cf05a1f0eb25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:195-201 | Cosmostation/UI/Cell/BtcStakingCell.swift:48-53 \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":"Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd9ac25808c6da4509aadfc06d36f76d184d53ed32e53e615f379ceb1b2d7a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Sheet/TxAmountLpSheet.swift:85-91 | Cosmostation/Controller/Sheet/TxAmountLpSheet.swift:102-108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxAmountLpSheet.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ba41abddac1bc74ced0d63ba2e914426d35910495a1b4dbd94689b06d0d920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/UI/Cell/CosmosProposalCell.swift:49-55 | Cosmostation/UI/Cell/OnChainProposalCell.swift:45-51 \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 \u0060Cosmostation/UI/Cell/CosmosProposalCell.swift:49\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":"Cosmostation/UI/Cell/CosmosProposalCell.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86a9a6d60221222291eac8910d3a31c2434d3206f4559335c3cb358883b1030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/UI/Cell/HistoryCell.swift:145-151 | Cosmostation/UI/Cell/HistoryCell.swift:260-267 \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 \u0060Cosmostation/UI/Cell/HistoryCell.swift:145\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":"Cosmostation/UI/Cell/HistoryCell.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4602a05edc2b5b22620e20d9d15d8a831d7e50f7d722d45836ce614e04999a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/UI/Cell/PopupReceiveCell.swift:31-37 | Cosmostation/UI/Cell/ReceiveCell.swift:35-41 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/PopupReceiveCell.swift\u0060 and \u0060Cosmostation/UI/Cell/ReceiveCell.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/UI/Cell/PopupReceiveCell.swift:31\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":"Cosmostation/UI/Cell/PopupReceiveCell.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae302c2268a4b466f6ac95a2f543a959ea7c1ebe07f0ec62563511d55e7b1ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/UI/Cell/PopupReceiveCell.swift:42-48 | Cosmostation/UI/Cell/PopupReceiveCell.swift:53-59 \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":"Cosmostation/UI/Cell/PopupReceiveCell.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe178db51bf383320bccecec2aba11d165864fa6e8f4822792ae45e8470b960f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Cosmostation/UI/Cell/VoteCell.swift:66-77 | Cosmostation/UI/Cell/VoteThreeItemsCell.swift:54-65 \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 \u0060Cosmostation/UI/Cell/VoteCell.swift:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/VoteCell.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a16ab7b4153acd9780172bb07d6d22ebc9c9966aa4f4431c10d2fa038f5c2f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/UI/Transition/SlideInTransition.swift:24-30 | Cosmostation/UI/Transition/SlideOutTransition.swift:23-29 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/UI/Transition/SlideInTransition.swift:24\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":"Cosmostation/UI/Transition/SlideInTransition.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0d79c9196251a2c70f7d14b0822e09d8bdea4b5bb361b6647ad631811f1743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): Cosmostation/Utils/Crypto/Signer.swift:289-294 | Cosmostation/Utils/Crypto/Signer.swift:396-402 \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 \u0060Cosmostation/Utils/Crypto/Signer.swift:289\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":"Cosmostation/Utils/Crypto/Signer.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad1f108aeb6339e26524bfdcc88819b0740048767d921bba5f57d9cfd8d5027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 12): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:225-231 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:175-181 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:193-199 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:224-230 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:209-215 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:327-333 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:195-201 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:261-267 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:173-179 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:186-192 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:150-156 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:216-222 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 204 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:225\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e588278ee1555df6b65d1d8c34e84ae68e54ed9c9e7746d4fa89f3c6292c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:85-90 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:56-61 | Cosmostation/Controller/Setting/AccountListVC.swift:43-48 | Cosmostation/Controller/Setting/ChainListVC.swift:43-48 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:44-49 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 53 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Setting/ChainListVC.swift:51\u0060 calls \u0060UIBarButtonItem\u0060, \u0060UIImage\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:92\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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"19122f5c3c047eae6401dbfac5d4aaeb82ccb40f8856cd4aa8549b4d3fe36409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Cosmostation/Model/MintscanHistory.swift:177-183 | Cosmostation/Model/MintscanHistory.swift:187-193 | Cosmostation/Model/MintscanHistory.swift:197-202 | Cosmostation/Model/MintscanHistory.swift:291-296 | Cosmostation/Model/MintscanHistory.swift:525-530 \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 \u0060Cosmostation/Model/MintscanHistory.swift:177\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":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f431dc82fd3099ff10759081a9a058cd8c419fb7e11312e32c076965ee5bbb02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Cosmostation/Controller/Main/ChainSelectVC.swift:44-52 | Cosmostation/Controller/Setting/AccountListVC.swift:37-45 | Cosmostation/Controller/Setting/ChainListVC.swift:37-45 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:38-46 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/ChainSelectVC.swift\u0060 and \u0060Cosmostation/Controller/Setting/ChainListVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1d46cfcf60f1d426b0951300f04ffda6ed3bb630fb17b67afd6e68eb4d274a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:95-100 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:110-115 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:125-130 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:140-145 \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":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cb56311cc4116aa923fe8ed7f069d432308a7b94b943c2cd26be8fc4adf6e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:606-611 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:840-846 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:284-289 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:377-383 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift\u0060 and \u0060Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 243 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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:606\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":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"1119e63a124f082c962f974ca8c1ca7792f2d5333b6a179c34708304e02bb7c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:89-96 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:72-79 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:89-96 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:72-79 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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 \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:89\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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f71267a44cc888a8d9be788d619bfb7968ba6fe786eb7a4b93662640927096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Cosmostation/Controller/Main/ChainSelectVC.swift:302-311 | Cosmostation/Controller/Setting/ChainListVC.swift:225-234 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:181-190 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/ChainSelectVC.swift\u0060 and \u0060Cosmostation/Controller/Setting/ChainListVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"11791c8ba28e9ba58fd8fc90e0be1ddc36976ccacea5bb8a148574d7b1823494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:31-36 | Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:29-34 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:30-35 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:31\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:27\u0060 calls \u0060register\u0060, \u0060UINib\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:26\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef07f8a5535606b6947882f88c080dab89e7d2c8cea33b24c5cd82a5f5ae094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:94-99 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:83-88 | Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:82-87 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 104 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:92\u0060 calls \u0060fetchValidatorInfos\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:80\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":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"755fcfb2c66ddd09e23937a6fdcd47c974df2dc26981da99aab5d97c6cbe2922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:122-138 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:149-165 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift:147-162 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:122\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f704711dfd464b077ce4b15c02bb8bcfb24e281bab999228ebaff04f80e412e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/Kava/KavaDefiVC.swift:110-115 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaDefiVC.swift:117-122 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaDefiVC.swift:124-129 \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 \u0060Cosmostation/Controller/Main/CosmosClass/Kava/KavaDefiVC.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaDefiVC.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c4eee2506937ef5a5a1423bcc3bbcaf36e78811f13bff68358f407fea6da81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:132-139 | Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:154-161 | Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:210-217 \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 \u0060Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:132\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":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb9060a00927a29173a57d6fc4e307df72e0d556fe4ab23cd19d25ae8d951f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Fetcher/CosmosFetcher.swift:247-252 | Cosmostation/Fetcher/EvmFetcher.swift:103-108 | Cosmostation/Fetcher/GnoFetcher.swift:131-136 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Fetcher/CosmosFetcher.swift:247\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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3659fd7bea3a0a57d574f6cd0d1b173b20aaa6b944ba8996b236d5dbc3c67e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Fetcher/CosmosFetcher.swift:537-542 | Cosmostation/Fetcher/InitiaFetcher.swift:102-107 | Cosmostation/Fetcher/ZenrockFetcher.swift:103-108 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Fetcher/CosmosFetcher.swift:537\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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a8ca14b54e6af18e50b7494adfc727bdffb47432b823f9d5abaee290744261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Fetcher/CosmosFetcher.swift:549-554 | Cosmostation/Fetcher/InitiaFetcher.swift:114-119 | Cosmostation/Fetcher/ZenrockFetcher.swift:115-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Fetcher/CosmosFetcher.swift:549\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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d3f5d56fa60102d1cff70bbfb6811d94553d5bf9449fba274cdd719fa53299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Fetcher/CosmosFetcher.swift:561-566 | Cosmostation/Fetcher/InitiaFetcher.swift:126-131 | Cosmostation/Fetcher/ZenrockFetcher.swift:127-132 \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 \u0060Cosmostation/Fetcher/CosmosFetcher.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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5cdceddb4035a25d957b4ea50fd69327d7482f1e347691de6cde4c85696794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Base/AppDelegate.swift:165-170 | Cosmostation/Controller/Main/MainTabVC.swift:68-73 \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 \u0060Cosmostation/Base/AppDelegate.swift:165\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":"Cosmostation/Base/AppDelegate.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1a02570e7ce7e0b494ddb39ed71e82b4c7c6f96db0543e359a1c79a790fd80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Base/BaseAccount.swift:221-226 | Cosmostation/Controller/Main/ChainSelectVC.swift:144-149 \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 \u0060Cosmostation/Base/BaseAccount.swift:221\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":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be7d01d0c6a22e0410d30b686327585f3405f6dfeda1757603cf34c4701b6ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:110-117 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:93-101 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 104 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:110\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":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e839ed9f79d24e2b93b7b89ccf01e62bcadeeae05dac35f762f4d25f540a1e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:190-197 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:182-189 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:190\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3eb397c64a1dc67266d8440ac92bea4d76d922e5ba4d41e63e68be3199fab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:95-100 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:37-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:95\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0774deecd794fb3fc00ead7a1246eaaaff1ac519672e9bde6f81f9a9218159b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:102-107 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:44-49 \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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:102\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d948ec75e14926f3c29e7864b6ab25e3d5f546214734d0070d2f2ab483f2a93a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:109-114 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaIncentiveCell.swift:51-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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:109\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3aa5a4aa33c5e2341ddb626a913e46ccd907b277fb0c87424d2825ac5a8c58d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:91-96 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:97-102 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 109 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6d135ad6a4b2e77d3bb18053657d6242b05b6e45eedb8362af7fab4f7e7a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:349-358 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:392-401 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 231 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:349\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b812c510a635cfcabb7c0bc626cf612b128a512e9e47dab15aec354877e0878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/DappDetailVC.swift:436-441 | Cosmostation/Controller/Main/DappDetailVC.swift:445-450 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c73415fda55d22d0ed89729fd70930b03cf4a75b7055060c63390f28c338a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/DappDetailVC.swift:714-719 | Cosmostation/Controller/Main/DappDetailVC.swift:816-821 \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 \u0060Cosmostation/Controller/Main/DappDetailVC.swift:714\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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ead14c9764dd878ff6902f33058590b52876c9176dc0798e7d7219944c4cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/DappDetailVC.swift:881-886 | Cosmostation/Controller/Main/DappDetailVC.swift:896-901 \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 \u0060Cosmostation/Controller/Main/DappDetailVC.swift:881\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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"f117787573a80aa9755b7278522e95b25542c8eb8f919ee9c47dfd52db2ba47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/DappListViewController.swift:68-73 | Cosmostation/Controller/Main/DappListViewController.swift:370-375 \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 \u0060Cosmostation/Controller/Main/DappListViewController.swift:68\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":"Cosmostation/Controller/Main/DappListViewController.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"beecaef745240efdccc47c8427df3f9c58fa59264c45bd8e499b030c7067eca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:538-543 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:547-552 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"2693f9ed245ea7b52111ca069625b8cfa0e749394b008bb9674db8c2a5f62d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1302-1309 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1340-1347 \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 \u0060Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:1302\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d198c09b46c799b63d11a580d1e7dbb4a8072e6b660d3f41bf8c05df546a97a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcDelegate.swift:106-113 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift:84-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcDelegate.swift:106\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcDelegate.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2bac14a6c3a8b81e43114e0e05abe7ff3520497e933b762a137610a1335b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/PortfolioVC.swift:164-170 | Cosmostation/Controller/Main/PortfolioVC.swift:173-179 \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 \u0060Cosmostation/Controller/Main/PortfolioVC.swift:164\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":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8053718310ada886fbb22ad2225ab08c0b28fa22a70d49ca29d511a6f0e41978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/PortfolioVC.swift:239-244 | Cosmostation/Controller/Main/PortfolioVC.swift:248-253 \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":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"977b9691b4f2201333b476ffee75dc9713b7b886707142dd4fcae49b85e015f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/ServiceVC.swift:64-69 | Cosmostation/Controller/Main/ServiceVC.swift:73-78 \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 \u0060Cosmostation/Controller/Main/ServiceVC.swift:64\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/ServiceVC.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7263affbf86754c3b19f760b39b2172e3d9f348d0cd060ab44ff00de6bf88ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/SwapStartVC.swift:558-563 | Cosmostation/Controller/Main/SwapStartVC.swift:734-739 \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 \u0060Cosmostation/Controller/Main/SwapStartVC.swift:558\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":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be0ba3db7bfda36a375c39ad55a3f6252d04976cde544cb9049b53808603b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/SwapStartVC.swift:584-589 | Cosmostation/Controller/Main/SwapStartVC.swift:758-763 \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 \u0060Cosmostation/Controller/Main/SwapStartVC.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"426381a27c993f3a69bc9eb86ecae70cdf90a3fe707c3f6ebad15d0bee8a0f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Sheet/AddressBookSheet.swift:184-189 | Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:137-142 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/AddressBookSheet.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7748a88fb54e2808911680c1d75364e01bdea7ebe92fcd00fbd69da48a999a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift:90-95 | Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift:80-85 | Cosmostation/Controller/Sheet/DappSuiSignRequestSheet.swift:89-94 \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 \u0060Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift:90\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":"Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a661124997431572faeb0196713302ea5e8235d549734373eeaa67fd354bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift:250-256 | Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift:269-275 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40d839de4ddda6783b085f6b42c40ccf1f8470bfd8b74474074e48548445a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/SelectFeeCoinCell.swift:35-47 | Cosmostation/Controller/Sheet/SheetCell/SelectFeeCoinCell.swift:52-64 \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 \u0060Cosmostation/Controller/Sheet/SheetCell/SelectFeeCoinCell.swift:35\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":"Cosmostation/Controller/Sheet/SheetCell/SelectFeeCoinCell.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbde8642f0da96bf4a2ecd841db046e651160b68309680a50b4c8e74c80f9bb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:185-190 | Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift:216-221 \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":"Cosmostation/Controller/Sheet/SheetCell/SelectValidatorCell.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03668bf76cbe155f81c87984b763643e941d3a2cfea4a638cc06d6647601e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Fetcher/BabylonFetcher.swift:68-73 | Cosmostation/Fetcher/CosmosFetcher.swift:1041-1046 \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 \u0060Cosmostation/Fetcher/BabylonFetcher.swift:68\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":"Cosmostation/Fetcher/BabylonFetcher.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad21d5aa3be4952dd2f907dd0d88a7d5cf5650508d19923c9b91353ac25efc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Fetcher/BabylonFetcher.swift:237-242 | Cosmostation/Fetcher/BabylonFetcher.swift:250-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BabylonFetcher.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e81889a1c1ada49238f0af0099379decf7b8d413ec5a4a51f773522f8fb75c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:599-607 | Cosmostation/Fetcher/CosmosFetcher.swift:616-624 \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 \u0060Cosmostation/Fetcher/CosmosFetcher.swift:599\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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f00e56e08ad097dddace5ab927e705cd34e776f7e3b8495c1e89def623dbaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:1071-1081 | Cosmostation/Fetcher/SuiFetcher.swift:251-261 \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 \u0060Cosmostation/Fetcher/CosmosFetcher.swift:1071\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f16d8eca91db13b354e355e1c84a8847966d96f2cf93df6e41241e33bd4e380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/UI/Cell/AssetBabylonCell.swift:126-131 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:195-200 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/AssetBabylonCell.swift\u0060 and \u0060Cosmostation/UI/Cell/AssetCosmosClassCell.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 70 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 \u0060Cosmostation/UI/Cell/AssetBabylonCell.swift:126\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":"Cosmostation/UI/Cell/AssetBabylonCell.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30851c6b7aa23f579dd27b8a66379fb2984ad61e95bdee6835c65f07adc9407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/UI/Cell/HistoryCell.swift:247-252 | Cosmostation/UI/Cell/HistoryCell.swift:379-386 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/UI/Cell/HistoryCell.swift:247\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":"Cosmostation/UI/Cell/HistoryCell.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98f8115c661668720411f7ae604dae97c50c9aac3ebae59251e6dac5cbd3775"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/UI/Cell/PendingDelegateCell.swift:52-57 | Cosmostation/UI/Cell/StakeDelegateCell.swift:176-182 \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 \u0060Cosmostation/UI/Cell/PendingDelegateCell.swift:52\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, \u0060Cosmostation/UI/Cell/PendingDelegateCell.swift:58\u0060 calls \u0060NSDecimalNumber\u0060, \u0060multiplying\u0060 and \u0060Cosmostation/UI/Cell/StakeDelegateCell.swift:184\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":"Cosmostation/UI/Cell/PendingDelegateCell.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4a2712bf15d3767cd2587fab239c3b8995bd9abd5b6a2d856f6982be743fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/UI/UITextField\u002BDecimalCheck.swift:24-29 | Cosmostation/UI/UITextField\u002BDecimalCheck.swift:30-35 \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 \u0060Cosmostation/UI/UITextField\u002BDecimalCheck.swift:24\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":"Cosmostation/UI/UITextField\u002BDecimalCheck.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab55967923afd3ce73045797051b3095c822d577e6744590144fae28a72d73c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 28): Cosmostation/Model/MintscanHistory.swift:103-107 | Cosmostation/Model/MintscanHistory.swift:143-147 | Cosmostation/Model/MintscanHistory.swift:157-161 | Cosmostation/Model/MintscanHistory.swift:168-172 | Cosmostation/Model/MintscanHistory.swift:181-187 | Cosmostation/Model/MintscanHistory.swift:191-197 | Cosmostation/Model/MintscanHistory.swift:201-205 | Cosmostation/Model/MintscanHistory.swift:227-231 | Cosmostation/Model/MintscanHistory.swift:250-254 | Cosmostation/Model/MintscanHistory.swift:277-282 | Cosmostation/Model/MintscanHistory.swift:287-291 | Cosmostation/Model/MintscanHistory.swift:294-300 | Cosmostation/Model/MintscanHistory.swift:316-322 | Cosmostation/Model/MintscanHistory.swift:375-379 | Cosmostation/Model/MintscanHistory.swift:386-390 | Cosmostation/Model/MintscanHistory.swift:400-406 | Cosmostation/Model/MintscanHistory.swift:413-417 | Cosmostation/Model/MintscanHistory.swift:438-444 | Cosmostation/Model/MintscanHistory.swift:463-469 | Cosmostation/Model/MintscanHistory.swift:490-494 | Cosmostation/Model/MintscanHistory.swift:504-508 | Cosmostation/Model/MintscanHistory.swift:521-525 | Cosmostation/Model/MintscanHistory.swift:529-533 | Cosmostation/Model/MintscanHistory.swift:549-553 | Cosmostation/Model/MintscanHistory.swift:560-564 | Cosmostation/Model/MintscanHistory.swift:576-582 | Cosmostation/Model/MintscanHistory.swift:594-600 | Cosmostation/Model/MintscanHistory.swift:613-619 \u2014 all 28 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 \u0060Cosmostation/Model/MintscanHistory.swift:103\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, \u0060Cosmostation/Model/MintscanHistory.swift:301\u0060 calls \u0060NSLocalizedString\u0060, \u0060contains\u0060 and \u0060Cosmostation/Model/MintscanHistory.swift:108\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":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad80abe743f4d2984b6dc9eebf3fdaa840be80d9fee2e8d258027e2f98d9592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 35): Cosmostation/Model/MintscanHistory.swift:91-94 | Cosmostation/Model/MintscanHistory.swift:99-104 | Cosmostation/Model/MintscanHistory.swift:139-144 | Cosmostation/Model/MintscanHistory.swift:153-158 | Cosmostation/Model/MintscanHistory.swift:164-169 | Cosmostation/Model/MintscanHistory.swift:209-212 | Cosmostation/Model/MintscanHistory.swift:223-228 | Cosmostation/Model/MintscanHistory.swift:235-238 | Cosmostation/Model/MintscanHistory.swift:246-251 | Cosmostation/Model/MintscanHistory.swift:273-279 | Cosmostation/Model/MintscanHistory.swift:284-288 | Cosmostation/Model/MintscanHistory.swift:312-318 | Cosmostation/Model/MintscanHistory.swift:326-329 | Cosmostation/Model/MintscanHistory.swift:337-343 | Cosmostation/Model/MintscanHistory.swift:351-354 | Cosmostation/Model/MintscanHistory.swift:371-376 | Cosmostation/Model/MintscanHistory.swift:382-387 | Cosmostation/Model/MintscanHistory.swift:396-402 | Cosmostation/Model/MintscanHistory.swift:409-414 | Cosmostation/Model/MintscanHistory.swift:434-440 | Cosmostation/Model/MintscanHistory.swift:448-451 | Cosmostation/Model/MintscanHistory.swift:459-465 | Cosmostation/Model/MintscanHistory.swift:478-481 | Cosmostation/Model/MintscanHistory.swift:486-491 | Cosmostation/Model/MintscanHistory.swift:500-505 | Cosmostation/Model/MintscanHistory.swift:512-515 | Cosmostation/Model/MintscanHistory.swift:517-522 | Cosmostation/Model/MintscanHistory.swift:537-540 | Cosmostation/Model/MintscanHistory.swift:545-550 | Cosmostation/Model/MintscanHistory.swift:556-561 | Cosmostation/Model/MintscanHistory.swift:572-578 | Cosmostation/Model/MintscanHistory.swift:590-596 | Cosmostation/Model/MintscanHistory.swift:625-631 | Cosmostation/Model/MintscanHistory.swift:641-644 | Cosmostation/UI/Cell/HistoryCell.swift:173-175 \u2014 there are 35 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 35 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Model/MintscanHistory.swift:91\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, \u0060Cosmostation/Model/MintscanHistory.swift:91\u0060 calls \u0060NSLocalizedString\u0060 and \u0060Cosmostation/Model/MintscanHistory.swift:164\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":"Cosmostation/Model/MintscanHistory.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3be9c879967cc2a90734514dde75a40c7e5f6c43c027d0f619adaa04cb6e0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 22): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:349-353 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:270-274 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:220-224 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:218-222 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:269-273 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:234-238 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:326-330 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:382-386 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:220-224 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:313-317 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:198-202 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:173-177 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:221-225 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:166-170 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:249-253 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:283-287 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:234-238 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:296-300 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:247-251 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:195-199 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:241-245 | Cosmostation/Controller/Main/SwapStartVC.swift:529-533 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:349\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"46032438b78ebca7d9bed42bc34d63b50bb279d0ba0302416331a28b7562c573"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 16): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:227-232 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:167-174 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:117-124 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:134-141 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:166-173 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:150-157 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:211-218 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:269-276 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:137-144 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:203-210 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:115-122 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:128-133 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:92-97 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:148-153 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:299-306 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:186-191 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b0d007270d412d4e0e31e000cc7e5e3278e33e6038dbac64b89effd906bb60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 11): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:165-169 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:115-119 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:132-136 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:164-168 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:148-152 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:209-213 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:267-271 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:135-139 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:201-205 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:113-117 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:298-301 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 204 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:165\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"505ad1194edd5bb1dc9b317a336ccf103f42521ab6c5c831fd9d4d33c0fe504a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 19): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:289-291 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:231-235 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:181-185 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:199-203 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:230-234 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:215-219 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:275-277 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:333-336 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:201-205 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:267-270 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:179-183 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:192-194 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:156-160 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:222-226 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:709-711 | Cosmostation/Controller/Main/GenTx/CommonTransfer.swift:731-733 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:334-338 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcDelegate.swift:218-220 | Cosmostation/Controller/Sheet/AdditionalFeeSheet.swift:82-84 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:231\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:272\u0060 calls \u0060delegatableAmount\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:227\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b122a8684bc15e44175a609c6672aff49787ed1af3f5693b793f1ff5e064a97b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): Cosmostation/Controller/Main/ChainSelectVC.swift:49-54 | Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:84-89 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:55-60 | Cosmostation/Controller/Main/PortfolioVC.swift:64-69 | Cosmostation/Controller/Setting/AccountListVC.swift:42-47 | Cosmostation/Controller/Setting/ChainListVC.swift:42-47 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:43-48 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/ChainSelectVC.swift\u0060 and \u0060Cosmostation/Controller/Main/PortfolioVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 44 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, \u0060Cosmostation/Controller/Setting/ChainListVC.swift:51\u0060 calls \u0060UIBarButtonItem\u0060, \u0060UIImage\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:92\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":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96dd541e6367fa08b8525c4c954cd82dd36da296a5f8559d5eb9e8ba3a3e8cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:143-147 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:211-215 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:240-244 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:269-273 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:298-302 | Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:339-343 \u2014 all 6 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":"Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e12874a9ec9766991f06d7964d683be2edb5a783d75901de89384aad58fec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): Cosmostation/Fetcher/CosmosFetcher.swift:269-275 | Cosmostation/Fetcher/CosmosFetcher.swift:283-289 | Cosmostation/Fetcher/GnoFetcher.swift:153-159 | Cosmostation/Fetcher/GnoFetcher.swift:175-181 | Cosmostation/Fetcher/IotaFetcher.swift:215-221 | Cosmostation/Fetcher/SuiFetcher.swift:189-195 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 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 \u0060Cosmostation/Fetcher/CosmosFetcher.swift:269\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21987a8cf49ab8804c1ccfeaec7cba72b277c568ead5d0d54dfa77e081e57f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 7): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:163-167 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:176-179 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:132-135 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:239-243 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:273-277 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:204-208 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:286-290 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 116 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:163\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:161\u0060 calls \u0060dpCoin\u0060, \u0060getPrice\u0060, \u0060NSDecimalNumber\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:176\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce25a79e83498dc768b4752e0ebcc76bad819bd19796a3e716344e05b6ca6391"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Cosmostation/Base/BaseAccount.swift:206-210 | Cosmostation/Base/BaseAccount.swift:221-225 | Cosmostation/Controller/Main/ChainSelectVC.swift:132-136 | Cosmostation/Controller/Main/ChainSelectVC.swift:144-148 \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. 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":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3dd8e1293d50a6e39ce2b1d2e852c13938ca2cbb93cd86928adccd0401eb2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:340-346 | Cosmostation/UI/Cell/DeriveCell.swift:206-212 | Cosmostation/UI/Cell/Portfolio2Cell.swift:185-191 | Cosmostation/UI/Cell/SelectChainCell.swift:165-171 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/DeriveCell.swift\u0060 and \u0060Cosmostation/UI/Cell/Portfolio2Cell.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:340\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":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"035bb8a9fff8b27e5389516a7d97e70f940a6d26b71fc7956d01770b242295e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:121-126 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:73-78 | Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift:72-77 | Cosmostation/Controller/Main/PortfolioVC.swift:98-103 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 53 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:128\u0060 calls \u0060dismissKeyboard\u0060, \u0060endEditing\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:80\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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a1020bc9e8bcd4de50016fd402a8f5b97922abaf46201b8131e62b5340e517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:254-258 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:145-149 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:101-105 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:113-117 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 93 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:254\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5dbcd94eb049ee666de394e61776795314ff5333dc0c31beee11c975a62143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:102-107 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:117-122 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:132-137 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:147-152 \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 \u0060Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift:102\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":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaMintListVC.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"370563c2abae9f4c230fd540b297c72d270ad95ff7d2d3ed8fc7922336066ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Cosmostation/Controller/Main/SwapStartVC.swift:558-563 | Cosmostation/Controller/Main/SwapStartVC.swift:585-589 | Cosmostation/Controller/Main/SwapStartVC.swift:734-739 | Cosmostation/Controller/Main/SwapStartVC.swift:759-763 \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 \u0060Cosmostation/Controller/Main/SwapStartVC.swift:558\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":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1a19b25149b1eef9e2712fa76160e87d3c86024208daf64251219d2b8297d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Cosmostation/Fetcher/BabylonBTCFetcher.swift:427-432 | Cosmostation/Fetcher/BabylonFetcher.swift:59-64 | Cosmostation/Fetcher/CosmosFetcher.swift:1069-1074 | Cosmostation/Fetcher/SuiFetcher.swift:249-254 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Fetcher/BabylonBTCFetcher.swift:427\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, \u0060Cosmostation/Fetcher/BabylonBTCFetcher.swift:425\u0060 calls \u0060ChainBabylon_T\u0060, \u0060ChainBabylon\u0060 and \u0060Cosmostation/Fetcher/BabylonFetcher.swift:57\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":"Cosmostation/Fetcher/BabylonBTCFetcher.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"29957644a94ba6d4eaa869f42515442cfc3085f76a5fcfb89cf5cca34de79cdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Cosmostation/Fetcher/IotaFetcher.swift:157-163 | Cosmostation/Fetcher/IotaFetcher.swift:177-183 | Cosmostation/Fetcher/IotaFetcher.swift:197-203 | Cosmostation/Fetcher/IotaFetcher.swift:237-243 \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 \u0060Cosmostation/Fetcher/IotaFetcher.swift:157\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d42e37b4e6fa5f2028fde6b212c159c4ad688ba0d5ad30b00ef6598645a288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Cosmostation/Fetcher/SuiFetcher.swift:143-149 | Cosmostation/Fetcher/SuiFetcher.swift:157-163 | Cosmostation/Fetcher/SuiFetcher.swift:171-177 | Cosmostation/Fetcher/SuiFetcher.swift:211-217 \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 \u0060Cosmostation/Fetcher/SuiFetcher.swift:143\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/SuiFetcher.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27304a6fe6f55a21671a69ea4f9baafcdd1fb75d70417b2a8c202cc2be5d45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): Cosmostation/Base/BaseData.swift:316-320 | Cosmostation/Base/BaseData.swift:331-335 | Cosmostation/Base/BaseData.swift:346-350 | Cosmostation/Base/BaseData.swift:359-362 \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 \u0060Cosmostation/Base/BaseData.swift:316\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"Cosmostation/Base/BaseData.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"3591a90ebebff1b45192178b840534bd41abeeae53c7238bee22e5418edb814b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:65-69 | Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift:64-68 | Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift:63-67 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift:65\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":"Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4975e4d413056a90bcab5bb526d329eda490641b3e69cadd0562b2b630adf1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:45-49 | Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift:45-49 | Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift:42-46 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:45\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":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ac036eb01dfad19936a60162fa4d62c6fbcda76edb938f58975e9e2a133c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:104-111 | Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift:104-111 | Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift:89-96 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:104\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":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"500c33af395f867d4bfb3b6ba2d03d30b1f4159618889e83cb1cf7f0a49f3322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:75-79 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:118-122 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:124-128 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:75\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"052c7bb2b76cc655fc0f4a8eff0cdbffacbb4284d739c0db9d88d4340d2dc931"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Controller/Main/EvmClass/EvmReceiveVC.swift:37-42 | Cosmostation/Controller/Main/MajorClass/MajorReceiveVC.swift:37-42 | Cosmostation/Controller/Main/ServiceVC.swift:87-92 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/EvmClass/EvmReceiveVC.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8129fc7ccabbb897b36a46ba3aa93d98740c14fc8786639b39985f5f91d151b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Cosmostation/Fetcher/CosmosFetcher.swift:1192-1196 | Cosmostation/Fetcher/CosmosFetcher.swift:1208-1212 | Cosmostation/Fetcher/CosmosFetcher.swift:1224-1228 \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 \u0060Cosmostation/Fetcher/CosmosFetcher.swift:1192\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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e7561c3f013b3b5f9a6a59fcbc8f87d0c4ff150e4a8212fd159d7f6c55bd78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Cosmostation/UI/Cell/AssetCosmosClassCell.swift:139-143 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:264-268 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:335-339 \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 \u0060Cosmostation/UI/Cell/AssetCosmosClassCell.swift:139\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, \u0060Cosmostation/UI/Cell/AssetCosmosClassCell.swift:260\u0060 calls \u0060multiplying\u0060, \u0060dpAmount\u0060 and \u0060Cosmostation/UI/Cell/AssetCosmosClassCell.swift:136\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":"Cosmostation/UI/Cell/AssetCosmosClassCell.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c91fd501acd613fb5ca7688a7d88aeee7eeb5fdfa865403d9e0b62cab10846c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Base/BaseAccount.swift:97-101 | Cosmostation/Base/BaseAccount.swift:131-135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Base/BaseAccount.swift:97\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":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8d72a24c72d97e8a1070f8769059e1fb615cbdb105e90b3fa78a1abb20b918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 3): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:129-133 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:131-135 | Cosmostation/Controller/Main/AllChainVoteStartVC.swift:190-191 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/AllChainClaimStartVC.swift\u0060 and \u0060Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Cosmostation/Controller/Main/AllChainClaimStartVC.swift:129\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, \u0060Cosmostation/Controller/Main/AllChainClaimStartVC.swift:129\u0060 calls \u0060init\u0060 and \u0060Cosmostation/Controller/Main/AllChainVoteStartVC.swift:190\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":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f881d7a337b8ca13a9caec964ac8c532789ccf92c3c138a06b3ffd9ab7d529b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:136-141 | Cosmostation/Controller/Main/AllChainClaimStartVC.swift:188-192 \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 \u0060Cosmostation/Controller/Main/AllChainClaimStartVC.swift:136\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":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8116b20bb6dd2f2c2ac7d84edd1913ad06522570d8a0945d85f321531eb5a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:138-143 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:190-194 \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 \u0060Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:138\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":"Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bc0a68c8288459d175e2f38feef193b4b8ab13985358f355cd88ccc21e9390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/ChainSelectVC.swift:137-142 | Cosmostation/Controller/Main/PortfolioVC.swift:230-235 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/ChainSelectVC.swift\u0060 and \u0060Cosmostation/Controller/Main/PortfolioVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 44 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 \u0060Cosmostation/Controller/Main/ChainSelectVC.swift:137\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"19285f155753c562d37e9a83d29d5822df66373894a4aa4a2936d33179ac6628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:321-326 | Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:245-249 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:321\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":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"8deea5322af512c60d2d3a3e0b690b601303fbede37b82089370049b745419df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift:127-131 | Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift:78-82 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmHistoryVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 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 \u0060Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.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":"Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a493186ec3c51a7ac0955206126ed1af190a27e77d0f1cbb8d0df3293fa458dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:86-92 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:95-101 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 260 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:86\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, \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:93\u0060 calls \u0060sd_setImage\u0060, \u0060assetImgUrl\u0060, \u0060stakingAssetDenom\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:85\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ae6793edc7fa1edb6ab3ecd96d49438cd83c01d6936cbf93d291dd243f1981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:240-246 | Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:310-316 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2896e3288750fb0cadfe5e849a3eed722b22a83c13bc53336d72989f2a75cb51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:126-130 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:90-94 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 231 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:126\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6709bba58e437b11fee9253dc012e3b7df4185f5b0c59e5fab55a12c8a442f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaSwapListCell.swift:35-45 | Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaSwapListMyCell.swift:39-49 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaSwapListCell.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaSwapListMyCell.swift\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaSwapListCell.swift:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaSwapListCell.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edbc0103a9f079f3fdbbb3533f9e13c82acda8296e02f483ffe9e7449fe9e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:115-119 | Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift:155-159 \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":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6007009792d8de99573e719c96264cc8dbdd5eb1374def74b98aa5f23d5f81a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift:227-231 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift:284-288 \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":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2348d6b12405ce11a1fdc2cde70d8196bbbd1bb6d63bb8cb31b5039bd80bc367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Cosmostation/Controller/Main/SwapStartVC.swift:984-990 | Cosmostation/Controller/Main/SwapStartVC.swift:1016-1023 \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 \u0060Cosmostation/Controller/Main/SwapStartVC.swift:984\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":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33bf1aebf008cbba7cc95c33bd28753f144aed894317a58f9b23a43483bd28f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Setting/AccountListVC.swift:184-188 | Cosmostation/Controller/Setting/AccountListVC.swift:202-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Setting/AccountListVC.swift:184\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":"Cosmostation/Controller/Setting/AccountListVC.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ee2609a8f8369d031398cef82d969f8491e507d6f3eb8bbed56bb800fbbd8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 7): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:172-175 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:116-119 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:173-176 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:117-120 | Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift:201-205 | Cosmostation/Controller/Sheet/DappSuiSignRequestSheet.swift:148-150 | Cosmostation/Controller/Sheet/DappSuiSignRequestSheet.swift:154-158 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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 \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:172\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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"264f4d144ae8c4addedb76fb70c17f9ce827f8470b0243d8dfefb368131dc433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift:129-138 | Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift:196-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift:129\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":"Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbb782049fd241999bb6fd37cf429737ae3cf1050dc64b0c1f919721e1cd4cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:924-929 | Cosmostation/Fetcher/CosmosFetcher.swift:945-950 \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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"913f365c93ebbebfa0bd743dca6672ac8e656b442d1b41ea0bdc98599dca96ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Fetcher/EvmFetcher.swift:92-96 | Cosmostation/Fetcher/SolanaFetcher.swift:102-106 \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 \u0060Cosmostation/Fetcher/EvmFetcher.swift:92\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/EvmFetcher.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea31b4e7c834b33bed0337e4f85d2ea44870884f4cc643b12193227f290f57d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/UI/Cell/StakeUnbondingCell.swift:49-55 | Cosmostation/UI/Cell/StakeUnbondingCell.swift:71-77 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/UI/Cell/StakeUnbondingCell.swift:49\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":"Cosmostation/UI/Cell/StakeUnbondingCell.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"08db5aafe56b01fc9deba720cd912ecafdb881c74567ecf773425472abf08d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Utils/WDP.swift:92-97 | Cosmostation/Utils/WUtils.swift:128-132 \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 \u0060Cosmostation/Utils/WDP.swift:92\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":"Cosmostation/Utils/WDP.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"98375e79ce4341547080096dcf22c8655ccd36f1f73e1bc1b4dbe88c5efe5949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:147-175 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:210-239 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 242 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f8a8e72cf475bb57c3b9d672d4bdacea70f369785c2bcf60594929a3ece763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:124-148 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:130-153 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 167 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8333199283080c4714a6f1677542a45b117e1804ed7219c130f9001fafe884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:94-121 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift:92-119 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 101 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5575f484c08214669a1220142c69045da675edff3141b0e513326e0320e59291"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201312 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:207-210 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:217-228 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift:213-224 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:210\u0060 calls \u0060getLcd\u0060, \u0060request\u0060, \u0060serializingDecodable\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:228\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55e59fd4e5cd251a5c4d67be962f258c00070962c536d98ea05336b3f82ede1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Cosmostation/Controller/Sheet/SheetCell/BaseSheetHeader.swift:14-33 | Cosmostation/UI/Cell/BaseHeader.swift:14-33 \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":"Cosmostation/Controller/Sheet/SheetCell/BaseSheetHeader.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d5c144f73f7452b3a27d062bb31700f94aec7851807d70da0c105483f07c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): Cosmostation/Chains/ChainMajor/ChainAptos.swift:31-35 | Cosmostation/Chains/ChainMajor/ChainIota.swift:30-34 | Cosmostation/Chains/ChainMajor/ChainMovement.swift:27-31 | Cosmostation/Chains/ChainMajor/ChainSolana.swift:29-33 | Cosmostation/Chains/ChainMajor/ChainSui.swift:31-35 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/ChainMajor/ChainIota.swift\u0060 and \u0060Cosmostation/Chains/ChainMajor/ChainSui.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ChainMajor/ChainAptos.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec010e976b9a4b0d43dc5b709f95fdb784728940a57ed25f26e4b25a2d525a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): Cosmostation/Chains/ChainMajor/ChainBitCoin44.swift:27-32 | Cosmostation/Chains/ChainMajor/ChainBitCoin49.swift:27-32 | Cosmostation/Chains/ChainMajor/ChainBitCoin84.swift:27-32 | Cosmostation/Chains/ChainMajor/ChainBitCoin86.swift:30-34 | Cosmostation/Chains/ClassTestnet/ChainBitCoin44_T.swift:28-32 | Cosmostation/Chains/ClassTestnet/ChainBitCoin49_T.swift:28-33 | Cosmostation/Chains/ClassTestnet/ChainBitCoin84_T.swift:28-33 | Cosmostation/Chains/ClassTestnet/ChainBitCoin86_T.swift:27-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ChainMajor/ChainBitCoin44.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f8a9b065d415148279a68dda69506b195235fc28fa664aefab1b906d73f485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Chains/ChainMajor/ChainIota.swift:143-149 | Cosmostation/Chains/ChainMajor/ChainSui.swift:145-151 \u2014 before extracting anything, compare \u0060Cosmostation/Chains/ChainMajor/ChainIota.swift\u0060 and \u0060Cosmostation/Chains/ChainMajor/ChainSui.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ChainMajor/ChainIota.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdf553753e8da197ad151ffc132db05d5e12cdd51ba57be0524ffd4d64db226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Chains/ClassEVM/ChainBeraEVM.swift:38-42 | Cosmostation/Chains/ClassTestnet/ChainStoryEVM_T.swift:33-37 \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":"Cosmostation/Chains/ClassEVM/ChainBeraEVM.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cfa54aa0ec17638c91ed352cc235f42fe0d80617e916a05668be81d50ad09c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:155-159 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:157-161 | Cosmostation/Controller/Main/AllChainVoteStartVC.swift:224-228 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/AllChainClaimStartVC.swift\u0060 and \u0060Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"39608de469af3c1477ddb131363c6b31f842384fa2214242dbc944970de3f4d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Controller/Main/ChainSelectVC.swift:245-252 | Cosmostation/Controller/Main/PortfolioVC.swift:359-366 | Cosmostation/Controller/Setting/WalletDeriveVC.swift:236-243 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/ChainSelectVC.swift\u0060 and \u0060Cosmostation/Controller/Main/PortfolioVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 44 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":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"929dc5a711ecae0a0b0ebce0ec31bbece2e87b03828e6fe571ac3705b9f00e2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Cosmostation/Controller/Main/ChainSelectVC.swift:254-261 | Cosmostation/Controller/Main/PortfolioVC.swift:376-383 | Cosmostation/Controller/Setting/ChainListVC.swift:188-195 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:127-134 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/ChainSelectVC.swift\u0060 and \u0060Cosmostation/Controller/Main/PortfolioVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 44 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, \u0060Cosmostation/Controller/Main/PortfolioVC.swift:386\u0060 calls \u0060getStyle\u0060 and \u0060Cosmostation/Controller/Setting/ChainListVC.swift:198\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":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db84697dd9f1ae3274e1ddf827077253e83010f054ca627d76c085563e0ff57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:94-98 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:79-83 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:76-80 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift:84-89 | Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:88-93 | Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift:56-60 | Cosmostation/Controller/Main/MajorClass/MajorNftVC.swift:60-64 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:87-92 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8b268b32ee0801fe7c54dfcd1c493a4124e5f961a4c9ce635e69f07581b063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:100-108 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:85-93 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:82-90 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:92-100 | Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift:102-110 | Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:130-138 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:129-137 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8b4fa1b4ed965c30bab5c62c787c4a4ec90a8f285f4a290c940b9d666aa2a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift:110-119 | Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:95-105 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:92-102 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 177 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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da7ede523464b00db56bac6c13a75f80b06eb295031c37a0c02375d8e97e824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:37-46 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:35-44 | Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:34-43 | Cosmostation/Controller/Main/PortfolioVC.swift:31-40 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2485a9ab3515c6ff9f9d6c35b88d3f292d73d062e5952c2137894be62ca5af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:158-163 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:137-142 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd551abe1821e8367dad98206ea478a6c03979c1810a56968cf4bd481f3db8d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift:181-186 | Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift:223-228 | Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift:137-142 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"50939e67b25a8526ac53021e741e2f662451ddb5f9ff6782e2bf1d0a67d6ec07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:156-164 | Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift:93-101 | Cosmostation/Controller/Main/MajorClass/MajorNftVC.swift:66-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"94241497f6236e4bb304868ad2e8ad48875c5469dcb11f81326b3f0b52711c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:51-61 | Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift:51-61 | Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift:48-58 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36cd1a94ab3743253a757222e2319da009bb7e992306efa39c08e1a364e889d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift:83-87 | Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift:83-87 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9117089393fee308b7033828f1c3dddec26503bcbdb182cf3c58106c805541cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/CosmosReceiveVC.swift:72-76 | Cosmostation/Controller/Main/EvmClass/EvmReceiveVC.swift:60-64 | Cosmostation/Controller/Main/MajorClass/MajorReceiveVC.swift:60-64 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosReceiveVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmReceiveVC.swift\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosReceiveVC.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"740135306f66f0d7b5a7ab12d89559e65407b20981d9c9831d1d28cddf193444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:154-158 | Cosmostation/Controller/Main/SwapStartVC.swift:336-340 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32074e6637b91b43df44e3de8bb24a39b802de7e591444b0b9766518e11ee49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:160-164 | Cosmostation/Controller/Main/SwapStartVC.swift:342-346 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8a5f5e56eda1b4d3cfb7871e95075ec259cd78b42c363e61b8a3a19ebfa355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 26): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:205-210 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:237-242 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:187-192 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:112-117 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:236-241 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:128-133 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:293-298 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:349-354 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:115-120 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:280-285 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:93-98 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:122-127 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:197-202 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:142-147 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:197-202 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:232-237 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:210-215 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:245-250 | Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift:187-192 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:214-219 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:162-167 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:126-131 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:95-100 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:123-128 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift:121-126 | Cosmostation/Controller/Main/GenTx/NftTransfer.swift:258-263 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:201\u0060 calls \u0060onSimul\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:206\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"526572d6f35ba8a42011eef39acc1c2b64047cb3849f718086009ee39ef44210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 21): Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift:212-223 | Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:244-255 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:194-205 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:119-130 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:243-254 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:135-146 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift:300-311 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift:356-367 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift:122-133 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift:287-298 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift:100-111 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:129-140 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:204-215 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:149-160 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:204-215 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:239-250 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:217-228 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:252-263 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:221-232 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift:169-180 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:133-144 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 157 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"46279c6a3321e0a8ee5c4240c7d49a301422e1b250372cb749566df30e16417f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:142-147 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:158-163 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:114-119 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:218-223 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:252-257 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:183-188 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:265-270 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 116 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0db2a9b589d2daa0271a5d0c3036b51d45fe5c470bc2789ec31fbd0ea67dbac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift:149-156 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift:165-172 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift:121-128 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift:225-232 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift:259-266 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift:190-197 | Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift:272-279 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 116 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b2c706e93ef88f97cfb7f9775fa0d12b53d85f2fd6874289505bffe7732c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift:110-114 | Cosmostation/Controller/Sheet/TxAddressLegacySheet.swift:78-82 | Cosmostation/Controller/Sheet/TxSendAddressSheet.swift:72-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8909739659e776f8c205db544f739d8ad1b801186cb0ca51cef0475e50cdc248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift:194-204 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift:102-112 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift:130-140 | Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkWithdraw.swift:128-138 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkAddShare.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Okt/OkDeposit.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7a54d699e679c1cee2c3c3b228f58b3d746c23a0854b7f7127c397a0d722f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaEarnListCell.swift:28-33 | Cosmostation/UI/Cell/BtcStakingCell.swift:28-33 | Cosmostation/UI/Cell/PendingDelegateCell.swift:33-38 | Cosmostation/UI/Cell/StakeDelegateCell.swift:37-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Kava/Cell/KavaEarnListCell.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0b7e8e19f32a8cdfde27803cebc167e80e373cd85f3d69964b55eebc25748b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:81-89 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:81-89 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:81-89 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 179 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":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96ce689908e7e9570336a37182a8072bab7d296c762d60b1e7c5a025554c030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:95-103 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:94-102 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9bb8a1460d55bb58e00fdcad391545604d12a7aa707f9d66a417ce839aef74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:229-233 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:224-228 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9195aaead72203961ea5ac1ba4f6910bca693af696f38a718a03b77304c68af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Controller/Main/PortfolioVC.swift:641-646 | Cosmostation/Controller/Main/ServiceVC.swift:184-189 | Cosmostation/Controller/Main/SettingsVC.swift:372-377 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"a277e1fb5d6426d4d47c67f924465398a83e86cefede2eaf02f4d1c5ccdb52c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Cosmostation/Controller/Setting/ChainListVC.swift:179-186 | Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:118-125 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Setting/ChainListVC.swift\u0060 and \u0060Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift:114\u0060 calls \u0060NSLocalizedString\u0060 and \u0060Cosmostation/Controller/Setting/ChainListVC.swift:175\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":"Cosmostation/Controller/Setting/ChainListVC.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9019dfbebc0950491568b47a03d5b94ed92ba317ceb825199115dc4fc854b261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift:94-98 | Cosmostation/Controller/Sheet/DappEvmSignRequestSheet.swift:114-118 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift:91\u0060 calls \u0060addGestureRecognizer\u0060, \u0060UITapGestureRecognizer\u0060 and \u0060Cosmostation/Controller/Sheet/DappEvmSignRequestSheet.swift:111\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":"Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2ffedbc9d4fbc6055be795e2898c152ee19838ed9abdd6d7a8fdbb0ea794f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift:387-391 | Cosmostation/Fetcher/BabylonBTCFetcher.swift:456-460 | Cosmostation/Fetcher/BabylonFetcher.swift:87-91 | Cosmostation/Fetcher/CosmosFetcher.swift:1091-1095 | Cosmostation/Fetcher/SuiFetcher.swift:271-275 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectEndpointCell.swift"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7cde6925e93a4eee4865c1a34320564fe5083b8d13a61b9376db53a57d4778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Cosmostation/Controller/Sheet/SheetCell/SelectOktValidatorCell.swift:27-32 | Cosmostation/UI/Cell/OktValidatorCell.swift:27-32 | Cosmostation/UI/Cell/PendingUnbondingCell.swift:27-32 | Cosmostation/UI/Cell/StakeUnbondingCell.swift:30-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectOktValidatorCell.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d2fd9c6bfdc9a5f9081e3d7b279df0f11a4d64f56c029e9cac7d004a5f99e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Sheet/TxAmountSheet.swift:209-213 | Cosmostation/Controller/Sheet/TxSendAmountSheet.swift:115-119 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Sheet/TxAmountSheet.swift\u0060 and \u0060Cosmostation/Controller/Sheet/TxSendAmountSheet.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":"Cosmostation/Controller/Sheet/TxAmountSheet.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dafd05740ec941ba2bafc0063fb6bf0424a901de8418602cc9d63c9cd941e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Sheet/TxAmountSheet.swift:215-219 | Cosmostation/Controller/Sheet/TxSendAmountSheet.swift:121-125 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Sheet/TxAmountSheet.swift\u0060 and \u0060Cosmostation/Controller/Sheet/TxSendAmountSheet.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":"Cosmostation/Controller/Sheet/TxAmountSheet.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"54136cc6291656fc05ff1c6a654de0cb666b9d42579420a2497158d49ab3c174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Sheet/TxAmountSheet.swift:221-225 | Cosmostation/Controller/Sheet/TxSendAmountSheet.swift:127-131 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Sheet/TxAmountSheet.swift\u0060 and \u0060Cosmostation/Controller/Sheet/TxSendAmountSheet.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":"Cosmostation/Controller/Sheet/TxAmountSheet.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf4feb0d8c516fd7ed78f46dfbfd1a36bf5cf50166add202ed35289164ed64c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Cosmostation/Fetcher/BabylonBTCFetcher.swift:448-454 | Cosmostation/Fetcher/BabylonFetcher.swift:79-85 | Cosmostation/Fetcher/CosmosFetcher.swift:1083-1089 | Cosmostation/Fetcher/SuiFetcher.swift:263-269 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BabylonBTCFetcher.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f43f3bc6e3923b3a141850b18bc25d0495b4daf3c3221787b14204d49d3172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Cosmostation/UI/Cell/AssetBabylonCell.swift:62-71 | Cosmostation/UI/Cell/AssetBtcCell.swift:49-58 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:61-70 | Cosmostation/UI/Cell/AssetSuiCell.swift:47-56 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/AssetBabylonCell.swift\u0060 and \u0060Cosmostation/UI/Cell/AssetCosmosClassCell.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 70 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":"Cosmostation/UI/Cell/AssetBabylonCell.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb87dc3a904ba75d133374c6f030928336eae3c2539d77c7a3a909b47b781b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Cosmostation/UI/Cell/AssetBtcCell.swift:37-47 | Cosmostation/UI/Cell/AssetCosmosClassCell.swift:49-59 | Cosmostation/UI/Cell/AssetSuiCell.swift:35-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AssetBtcCell.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b763cd8d34ecc5b8a721ef69841d760b6bd0aa12ca5e3cc190f8c6e97f50fdc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/UI/Cell/PopupReceiveCell.swift:23-28 | Cosmostation/UI/Cell/ReceiveCell.swift:23-28 \u2014 before extracting anything, compare \u0060Cosmostation/UI/Cell/PopupReceiveCell.swift\u0060 and \u0060Cosmostation/UI/Cell/ReceiveCell.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/PopupReceiveCell.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"87084b6aae75e24c9b1d3b8c1fb70094349b602cc0c6c9abe4ff3b1f74daa111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/UI/View/CircleImageView.swift:12-16 | Cosmostation/UI/View/RoundedPaddingLabel.swift:12-16 \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":"Cosmostation/UI/View/CircleImageView.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d777157d0fb36b6f386c55a65f4a9e722ed5a15a5497c3afbec0a12e1133de0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Init/ImportMnemonicVC.swift:57-65 | Cosmostation/Controller/Init/ImportPrivKeyVC.swift:56-64 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Init/ImportMnemonicVC.swift\u0060 and \u0060Cosmostation/Controller/Init/ImportPrivKeyVC.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"Cosmostation/Controller/Init/ImportMnemonicVC.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"833cb4b8a1fcd9ba290ff11a86ac7b37e45cb806b9aecdda6582f1afe311b177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/AllChainClaimStartVC.swift:213-217 | Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift:217-221 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/AllChainClaimStartVC.swift\u0060 and \u0060Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafc7fe6b963afa23df486d48f8a34ae5d8379e2a2cd462514b3efda5254433b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift:214-220 | Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift:241-247 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosTxResult.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdeabb52d10d2503ad5c5a1b188dc7206f2cb3231a83b8cffdb1176ab0b63f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:119-125 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:119-125 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ba9b54ab13e467b2f18678d64624f36fed5c0556716cd1fbf0b758e7adb76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:284-292 | Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:213-221 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:284-292 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:213-221 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3f36a3bfde5bdca340fe3a88ff3aeb71fef12f462a8d59cbd5ed11baeb1517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:158-162 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:157-161 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e06f7de61eeefd7009b5a1291a64093d724f7be1551debd5e4d5dff3b247de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Sheet/SelectAddressListSheet.swift:259-267 | Cosmostation/Controller/Sheet/SelectEndpointSheet.swift:119-127 \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":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff11d136f12948bc68bbc25b251c49a5cb9a08dc3f6384a13950ac26e3a4c5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Cosmostation/Fetcher/AptosFetcher.swift:120-125 | Cosmostation/Fetcher/AptosFetcher.swift:127-132 | Cosmostation/Fetcher/BtcFetcher.swift:112-117 | Cosmostation/Fetcher/IotaFetcher.swift:275-280 | Cosmostation/Fetcher/SolanaFetcher.swift:129-134 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/AptosFetcher.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bbf7bbef65d0e79087b082e5de0bad084adb6679b83f313a87b96728a78be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Cosmostation/Fetcher/CosmosFetcher.swift:216-223 | Cosmostation/Fetcher/EvmFetcher.swift:123-130 | Cosmostation/Fetcher/GnoFetcher.swift:101-108 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"775aa7bea5dc4fe7368e4ebc0eeb1a0adf359a2680deab0f6fbac956ffdaf741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:291-297 | Cosmostation/Fetcher/GnoFetcher.swift:161-167 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c262b506133480970ff94c59a0f973c42298d0e5461c69595337e050925c326c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:328-334 | Cosmostation/Fetcher/ZenrockFetcher.swift:160-166 \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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f35fad4580ed3a0d34102eebd73ddcee12a73c7b9d2199ce7f444d6a3a72e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:345-353 | Cosmostation/Fetcher/ZenrockFetcher.swift:177-185 \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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"babb32eb71bd0c5b84ea2e05bb9e49d385505c9b57eedbe07074d63bdeb98f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Fetcher/IotaFetcher.swift:206-211 | Cosmostation/Fetcher/SuiFetcher.swift:180-185 \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":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56d2679228f8719ac435dc89dccdbdb4c5885416d9807001ce889cb185ef58d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Fetcher/IotaFetcher.swift:223-229 | Cosmostation/Fetcher/SuiFetcher.swift:197-203 \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":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af9907ced6bf33a9f6f02c0c8dd5ea54cd2f9b40d341760d42accf2e9bd4472"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Cosmostation/Fetcher/IotaFetcher.swift:263-272 | Cosmostation/Fetcher/SuiFetcher.swift:236-245 \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":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c19c4939daa2dce277fed7f813921c64d9cbb2c031acc09285532dc96ffd4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:242-247 | Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:277-282 | Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:312-317 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:112-117 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 53 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. 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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d737fbcf7ea11c3a9a49b438c4679fc4bee7a3c2c8269d03ebb994f43b525646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:255-262 | Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:290-297 | Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift:326-333 | Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift:126-133 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 53 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. 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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b6a56345b90808402aca30f3af927805c438cbf142c6274fb1c3875060fb80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift:68-72 | Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift:65-69 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 162 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":"Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3324cad15735b99c658217bb1278c15e2f852e817c0fbcaa08f72a72bb08b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:88-92 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:77-81 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:79-83 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 246 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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b156a3efcac312ee8a3faf12adeb18ff8bc2dc8f35bf30ac512f69dfaf595b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:97-102 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift:131-136 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:118-123 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:112-117 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 298 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:97\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cb74808a944dea3f60deb22d82dfeeac7a612a9241f43c2ed0dc926f5c28ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift:135-139 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift:105-109 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 246 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.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":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d71edac9f19f4777ca13eb8ef19bc19a531f2b5bc7cae29596a4d61c520401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:107-111 | Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift:79-83 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:84-88 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 209 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 \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift:107\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"535f38f525b4b711d0f87c11fbb8d8c643e7d28f1f1d34798b24751dd04c5615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:294-298 | Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:305-309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift:294\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"34453d20f4aca973014380b8dc81178c4f7b8b65ce9bd404e273d6bd107cf27c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:95-99 | Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift:322-326 \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":"Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a8879a5a08a8aadf76c971adaa0127c7576e688adf67a29b977d541270ba69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:59-64 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift:59-64 | Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift:59-64 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift\u0060 and \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 179 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 \u0060Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift:59\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":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cb14e2953e201c63b8f3eb92e3ae000b37dfca92cd8fe09e7639e2634e441d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/DappDetailVC.swift:827-831 | Cosmostation/Controller/Main/DappDetailVC.swift:832-836 \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 \u0060Cosmostation/Controller/Main/DappDetailVC.swift:827\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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cdde85a36ada19416f7586cb8b9b0e20a73320b341b0b3d663439bead17d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift:81-87 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift:81-87 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaf20f308b118e56e5645181c5460c0f781142657857fffa5d7ff6c6fff709d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift:123-128 | Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift:122-127 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiStakingInfoVC.swift\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabbf1c6265d24c9b0d817ec745dcba3db4d918d068b56e60a00be685b3686cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift:66-70 | Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift:66-70 \u2014 before extracting anything, compare \u0060Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift\u0060 and \u0060Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift\u0060 as WHOLE FILES: this scan already matched 6 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb4f527fe3271f8efc3a0f3e9eedf7d710d54cde07a18b4d826b7ed815d9bf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Cosmostation/Controller/Main/PortfolioVC.swift:461-469 | Cosmostation/Controller/Main/PortfolioVC.swift:470-478 \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":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee5c48a3ae144aec277c2139a6ed83875bb71c6ad35cc5ff369ca2368153dc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/SwapStartVC.swift:862-866 | Cosmostation/Controller/Main/SwapStartVC.swift:979-983 \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 \u0060Cosmostation/Controller/Main/SwapStartVC.swift:862\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e582a9b4fbfd39a792b76b9c9e13264daab96c7d104304f0f28c0a319ad70da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Controller/Main/SwapStartVC.swift:912-916 | Cosmostation/Controller/Main/SwapStartVC.swift:1011-1015 \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 \u0060Cosmostation/Controller/Main/SwapStartVC.swift:912\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d523efeda4b09648d96c68eb2451355409f589943f296d2635cda9cabbcba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Controller/Pincode/PincodeAlphabetVC.swift:81-86 | Cosmostation/Controller/Pincode/PincodeDecimalVC.swift:49-54 | Cosmostation/Controller/Pincode/PincodeVC.swift:86-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Pincode/PincodeAlphabetVC.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1481c5bb534bfd2a99f03b6f63c35c29df75ae67d1d774dc45d4a8656b424c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Cosmostation/Controller/Setting/CheckMenmonicVC.swift:135-141 | Cosmostation/Controller/Setting/CheckPrivateKeyVC.swift:51-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"Cosmostation/Controller/Setting/CheckMenmonicVC.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a6b6ad4bfa4c2d592c04bee708ed407b9a9420b74bea19d44ac04595b50ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Cosmostation/Controller/Sheet/HdPathSheet.swift:47-51 | Cosmostation/Controller/Sheet/HdPathSheet.swift:54-58 | Cosmostation/Controller/Sheet/HdPathSheet.swift:61-65 \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":"Cosmostation/Controller/Sheet/HdPathSheet.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4645ec667bc158a353ef2e738a2218c4d6b166989bb7007d819e94f28828672a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:630-635 | Cosmostation/Fetcher/ZenrockFetcher.swift:138-143 \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 \u0060Cosmostation/Fetcher/CosmosFetcher.swift:630\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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"365d594b98a7b9297b5498ac7eb04aaa1a7c933f4effe7917338f4eb3f4b23e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Fetcher/CosmosFetcher.swift:641-646 | Cosmostation/Fetcher/ZenrockFetcher.swift:149-154 \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 \u0060Cosmostation/Fetcher/CosmosFetcher.swift:641\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":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2815ff64d2e8021afc40b8b3bc5ff93f1681ebbe3af1ae3ed3e75f4853ec459"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Cosmostation/Fetcher/CosmosFetcher.swift:1111-1116 | Cosmostation/Fetcher/InitiaFetcher.swift:214-219 | Cosmostation/Fetcher/ZenrockFetcher.swift:209-214 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c98f3338ae5a0a6cf5d58124bd5496ca1eae95e2acabe78b42fa5d786bdd42a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Cosmostation/Fetcher/EvmFetcher.swift:152-157 | Cosmostation/Fetcher/EvmFetcher.swift:172-177 \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":"Cosmostation/Fetcher/EvmFetcher.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b78f2dcfb752d9de3d12e59a87cb313fdd4674ffd10dea1757381b07384746"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/UI/Cell/StakeDelegateCell.swift:60-64 | Cosmostation/UI/Cell/StakeDelegateCell.swift:184-188 \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":"Cosmostation/UI/Cell/StakeDelegateCell.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a423bf90c0fd6232943088fb84eab1fe5effe8f5177ef3b5e3710050cd5e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Cosmostation/Utils/BundleExtension.swift:12-16 | Cosmostation/Utils/BundleExtension.swift:19-23 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/BundleExtension.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5685bbb4b67c004c961fffee6ece2094763507d9845a7f8d254b35f64f631ad9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BaseData (LCOM4 78): BaseData\u0027s methods fall into 78 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 78 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":"Cosmostation/Base/BaseData.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21532218079533e91250711150b547ad8174600311867a4a03b2eb8e093882e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JSON (LCOM4 25): JSON\u0027s methods fall into 25 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 25 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BabylonBTCFetcher.swift"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b45a297445a4660f28f57d075bcaf5cd53b412de5dff3fae9bb2df305428e24"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: String (LCOM4 16): String\u0027s methods fall into 16 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 16 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":"Cosmostation/Fetcher/GnoFetcher.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee13b930ea8118501e31fb8914834a99eb9ffa679d0413552678e6489dc92b3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppDelegate (LCOM4 12): AppDelegate\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":"Cosmostation/Base/AppDelegate.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e97b51c01350376c88d45000b9dfb8a8b23f69ffe392d791beee1b8e5d7b3bf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ServiceVC (LCOM4 11): ServiceVC\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":"Cosmostation/Controller/Main/ServiceVC.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f96f6d19f92a283709ce9f411322c18b47c51fd69088d868997d9c09f741e2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SettingsVC (LCOM4 10): SettingsVC\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":"Cosmostation/Controller/Main/SettingsVC.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fa04d80902b65eeee690b0923f6ff536b7b44ad85684c0b742dcd534c54d6c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AccountListVC (LCOM4 9): AccountListVC\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Setting/AccountListVC.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f2b6e10bee2b940b930c905941e1a77f76c1dfd716a9c2528b1d7aa1d7d2bd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EvmAboutVC (LCOM4 9): EvmAboutVC\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/EvmClass/EvmAboutVC.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f223d18a03d7af8706fc01c9f30923955d87450bb3a0c315d936c4bfed627505"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SolanaFetcher (LCOM4 8): SolanaFetcher\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":"Cosmostation/Fetcher/SolanaFetcher.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9fce9a28244fa70f75c25d341105977670ff677d30cbbbd96bb1d5d5280edf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DappDetailVC (LCOM4 8): DappDetailVC\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":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b879b9897aa4f29671639014762638ed96ae3eb78cf846948767df10a7f66e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PortfolioVC (LCOM4 8): PortfolioVC\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":"Cosmostation/Controller/Main/PortfolioVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b886abc55e687a562c256c860346183deb0e1f33ae1d827be7f29fe440a8d0d3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BabylonStakingInfoVC (LCOM4 8): BabylonStakingInfoVC\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":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8a321286e9ace457624320d6151a4976d05529623beeeee141521bec021326"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CosmosAboutVC (LCOM4 8): CosmosAboutVC\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":"Cosmostation/Controller/Main/CosmosClass/CosmosAboutVC.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc404c4a80bbf47109a87546b00acecbb079a8024b9849d634fff9be39e0d6c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EvmReceiveVC (LCOM4 8): EvmReceiveVC\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":"Cosmostation/Controller/Main/EvmClass/EvmReceiveVC.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11b05441a72c3f5057b84416c25c32606bd336512cb02ffddc0408e477a7050"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MajorReceiveVC (LCOM4 8): MajorReceiveVC\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":"Cosmostation/Controller/Main/MajorClass/MajorReceiveVC.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"03df3ba1b2e0a0e6aa366b9d91bfb3cfcecdb0b6990bc2c581fcc8eb6a98de0e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BaseVC (LCOM4 7): BaseVC\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":"Cosmostation/Base/BaseVC.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4854591b516ebac9f82790023a9e549e24e8d096e70c34f5b3ca20a1d74efabe"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AllChainVoteStartVC (LCOM4 7): AllChainVoteStartVC\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":"Cosmostation/Controller/Main/AllChainVoteStartVC.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f337cf23801d7a5c8000ce7255c5924d5b92770c1f628e513daa1e89ecdef1e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MajorAboutVC (LCOM4 7): MajorAboutVC\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":"Cosmostation/Controller/Main/MajorClass/MajorAboutVC.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d52f4b92f44b9550165561c1dcfc9211ebd85841ef82e7e21c278f6bc7156b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DappListViewController (LCOM4 6): DappListViewController\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":"Cosmostation/Controller/Main/DappListViewController.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adf891bc31ee27b5bb4eebd19fb854f55add5a2fa433abe8d34521b7a1760bd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SwapStartVC (LCOM4 6): SwapStartVC\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":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f43c9a4a694f344dd4b842b5f4606d098ba0e8da342533de7b2b1f92d7e7b85"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PincodeAlphabetVC (LCOM4 6): PincodeAlphabetVC\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":"Cosmostation/Controller/Pincode/PincodeAlphabetVC.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d9c3836fbe5c199494d60ddbe11eaf6073ea004a39bc4a2d807cece0271753"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PincodeDecimalVC (LCOM4 6): PincodeDecimalVC\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":"Cosmostation/Controller/Pincode/PincodeDecimalVC.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c5ccf3b2290da01e02d7df05c04987dac5dc8f2d3622a359cbf32039aa6c0c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CosmosCryptoVC (LCOM4 6): CosmosCryptoVC\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":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8ea390aa929ddfb98975cfee40081f9be0754452110b0fd75110524aa7abc8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CosmosEcosystemVC (LCOM4 6): CosmosEcosystemVC\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":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8ca808cade1773aff5b92884149abfa7a5295a2f8aa08d9a4fdba7cf23b2e5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CosmosNftVC (LCOM4 6): CosmosNftVC\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":"Cosmostation/Controller/Main/CosmosClass/CosmosNftVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5232ede817ffab8ffbd3fe1c2dfb0bc8164db7dbb2ed06f0ad120454ae76c25f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CosmosProposalsVC (LCOM4 6): CosmosProposalsVC\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":"Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d582d8ddf1f41aa0449792f2b628afe1c8aea6b152a70f233d8531ec21b9492e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CosmosReceiveVC (LCOM4 6): CosmosReceiveVC\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":"Cosmostation/Controller/Main/CosmosClass/CosmosReceiveVC.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0897114618a75430fbb1b76cd7762123e0232b37d79bc6c16e711146af110b4f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EvmAssetVC (LCOM4 6): EvmAssetVC\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":"Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"115a4f411581cebb251f65a71800a259bd153be84ede5d5069a176f85177fe0e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EvmEcosystemVC (LCOM4 6): EvmEcosystemVC\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":"Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74fc0d1c0afb4f8c7ffdc5f614a343f440c59abe0bfaa738cd69066b10b10e9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AllChainClaimStartVC (LCOM4 5): AllChainClaimStartVC\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":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"355e824c79511c18749db306727a6e769f4c9d6daef7735ed5569abb403aefe4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AllChainCompoundingStartVC (LCOM4 5): AllChainCompoundingStartVC\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":"Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4096447a7cbbb03fe3bcd7927f355096bbf6de0d1c8b953b07036d1f91993b60"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HdPathSheet (LCOM4 5): HdPathSheet\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":"Cosmostation/Controller/Sheet/HdPathSheet.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01923845d26c928d381b9fef57a028b7590e93883e2dc446b41e8cc2728066e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MajorCryptoVC (LCOM4 5): MajorCryptoVC\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":"Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99c1a1d3f7fc09ffefdc12e5f7222c7b24d42eb52d424f0d1f6d9af897f577e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MajorHistoryVC (LCOM4 5): MajorHistoryVC\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":"Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3991c8baa82dac6ed8288435c1d2c8399881dc3b7021deb9a2a9b30ebaeebd35"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NeutronMultiDao (LCOM4 5): NeutronMultiDao\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":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bf2979f5850954478a0111753b3bf92cbff0ea383381659559e76c3ff13774"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NeutronOverruleDao (LCOM4 5): NeutronOverruleDao\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":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a8999a914f51f3d7cac0cc9ab8a8d250b867ad4874a23b3000d4a220a53073"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NeutronSingleDao (LCOM4 5): NeutronSingleDao\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":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a506686e509e81f4708ecf33f936fd0a583bfbabf16fa406677d32768bd78712"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChainAptos (LCOM4 4): ChainAptos\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":"Cosmostation/Chains/ChainMajor/ChainAptos.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"43433dac75f61e620e6e8d8060b5571024ea8b60f251840c05381390bfdd016f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CreateMnemonicVC (LCOM4 4): CreateMnemonicVC\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":"Cosmostation/Controller/Init/CreateMnemonicVC.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c855f3104dde77c0d2cb4d840a0e3944c3220ec6e5fd3772863080c770153f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: IntroVC (LCOM4 4): IntroVC\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":"Cosmostation/Controller/Init/IntroVC.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7d1162f27c39880b12822dd499570d0b78cd3916715bac53a6797251f61164"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChainSelectVC (LCOM4 4): ChainSelectVC\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":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e59f6a29ac1bf91ba54f7cadd8f93b1b095837f9ef4a44ba6fd775b3d754839"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PincodeInputVC (LCOM4 4): PincodeInputVC\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":"Cosmostation/Controller/Pincode/PincodeInputVC.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"56223cfd978ad15ee2ef85eadf69f0bcea2fdf74748baabf7d5b2affb679b486"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChainListVC (LCOM4 4): ChainListVC\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":"Cosmostation/Controller/Setting/ChainListVC.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ba237a872490d4677f1e8286995ccb82b15d44cd611d96b3304b1d0745b436"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WalletDeriveVC (LCOM4 4): WalletDeriveVC\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":"Cosmostation/Controller/Setting/WalletDeriveVC.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38e6fc29ac0d35dfe82d27e66e3207f17f39d233719e9d46c4805a0a1f64083"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InjectionSheet (LCOM4 4): InjectionSheet\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":"Cosmostation/Controller/Sheet/InjectionSheet.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb48ce9665122f0699b2e22b56b1cc5405059c224fe8c7de6fe3762dbf2d3f1e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SelectDisplayTokenListSheet (LCOM4 4): SelectDisplayTokenListSheet\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":"Cosmostation/Controller/Sheet/SelectDisplayTokenListSheet.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5900fc0d57b49db0cfc0de43cca4087777501a3864f7c52e9fd71643f6d36c04"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TxAddressLegacySheet (LCOM4 4): TxAddressLegacySheet\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":"Cosmostation/Controller/Sheet/TxAddressLegacySheet.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"121491c8fea0e6d935aee043f68d3887fe6fd9c9018ade52ea99911714c8a914"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TxSendAddressSheet (LCOM4 4): TxSendAddressSheet\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":"Cosmostation/Controller/Sheet/TxSendAddressSheet.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e124bd8a39a15209be2227d6d0288430992e70c4839006329c54edf68557196"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CosmosClassVC (LCOM4 4): CosmosClassVC\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":"Cosmostation/Controller/Main/CosmosClass/CosmosClassVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"887d63fd3c9306cb914beb66c736867c0ba8d96b77787db625c762a6a65ed95c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CosmosHistoryVC (LCOM4 4): CosmosHistoryVC\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":"Cosmostation/Controller/Main/CosmosClass/CosmosHistoryVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a802b04363c82af0927bcf3719c8e6e9f06c174f94b8944d0bff8b1eefd3ce9d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CosmosOnChainProposalsVC (LCOM4 4): CosmosOnChainProposalsVC\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":"Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d92e0016502573506dae2f976dabf2ba06e4050e7d6dc1496af9adc762f50e9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CosmosStakingInfoVC (LCOM4 4): CosmosStakingInfoVC\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":"Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"584ea9a1aa069cfec51216ef6971a21640a0d37f8defba9bb18b2e7b915daaaa"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MajorNftVC (LCOM4 4): MajorNftVC\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":"Cosmostation/Controller/Main/MajorClass/MajorNftVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d13034ce3430970397fca7f79d31aac234df5e2b0637596e1310e79ae5b8aa"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LegacyTransfer (LCOM4 4): LegacyTransfer\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/LegacyTransfer.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"528ed78076376b7956012f4a9c5a35b6bc7faf1565db35b13b42c1fa656fd164"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: KavaLendListVC (LCOM4 4): KavaLendListVC\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":"Cosmostation/Controller/Main/CosmosClass/Kava/KavaLendListVC.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1733df60adb6244d1d9813734b6366da8b1215b8beabb3fc346d1a67a5b70082"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BtcStakingInfoVC (LCOM4 4): BtcStakingInfoVC\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":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0516b541179a0b3afbd87d5c49b384b61a54b2a63aaa5d8190f04f31a096934"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AtomoneMintVC (LCOM4 4): AtomoneMintVC\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":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"05886af8491fb38df8ed559b048d4038e4ee6032c9a355fe61b5cae5a07a040f"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (XCTest or Swift Testing), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Cosmostation/Controller/Main/DappDetailVC.swift: Cosmostation/Controller/Main/DappDetailVC.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 127 in DappDetailVC.userContentController at line 423. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 13:56:45 \u002B09:00\u0027 --until=\u00272026-10-06 13:56:45 \u002B09:00\u0027 --full-history --no-merges -- Cosmostation/Controller/Main/DappDetailVC.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"e361fed57d89e9586e2f67feda68d7fe39d6385444b84e970d3d48345991ee7b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Cosmostation/Controller/Sheet/BaseSheet.swift: Cosmostation/Controller/Sheet/BaseSheet.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in BaseSheet.tableView at line 774. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 13:56:45 \u002B09:00\u0027 --until=\u00272026-10-06 13:56:45 \u002B09:00\u0027 --full-history --no-merges -- Cosmostation/Controller/Sheet/BaseSheet.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7551a883c56149d19b7eeb8e52f3e36d3e76704961192ae9b9a66b5e0c8927"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Cosmostation/UI/Cell/HistoryCell.swift: Cosmostation/UI/Cell/HistoryCell.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in HistoryCell.bindSuiHistory at line 143. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 13:56:45 \u002B09:00\u0027 --until=\u00272026-10-06 13:56:45 \u002B09:00\u0027 --full-history --no-merges -- Cosmostation/UI/Cell/HistoryCell.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/HistoryCell.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8765000a299151cddba358482e4d7083dee0b8deeb99d7a7c7ebb73d3f42cb84"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Cosmostation/Controller/Main/SettingsVC.swift: Cosmostation/Controller/Main/SettingsVC.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in SettingsVC.tableView at line 228. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 13:56:45 \u002B09:00\u0027 --until=\u00272026-10-06 13:56:45 \u002B09:00\u0027 --full-history --no-merges -- Cosmostation/Controller/Main/SettingsVC.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SettingsVC.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5249396aec45e58f143d8676944591cb43d5936a2ea547a1b8b55480491e820f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Cosmostation/Chains/ClassTestnet/ChainGno_T.swift: Cosmostation/Chains/ClassTestnet/ChainGno_T.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is ChainGno_T.init at line 13), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix : Gno Testnet indexer endpoint\u201D; \u201Cfix : Gno-testnet endpoint\u201D; \u201Cfix : Useless zenrock code\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 13:56:45 \u002B09:00\u0027 --until=\u00272026-10-06 13:56:45 \u002B09:00\u0027 --full-history --no-merges -- Cosmostation/Chains/ClassTestnet/ChainGno_T.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ClassTestnet/ChainGno_T.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e394aebec671aa219b04fdbedf68154a520c4e178d9ff90f8cca29f02e989da6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Cosmostation/Chains/ChainMajor/ChainSui.swift: Cosmostation/Chains/ChainMajor/ChainSui.swift changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is ChainSui.fetchBalances at line 43), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix : sui latest history list\u201D; \u201Cfix : sui history \u0026 nft\u201D; \u201Cfix : Init sui grpc \u0026 staking sign\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 13:56:45 \u002B09:00\u0027 --until=\u00272026-10-06 13:56:45 \u002B09:00\u0027 --full-history --no-merges -- Cosmostation/Chains/ChainMajor/ChainSui.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ChainMajor/ChainSui.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"113c730dfc73b6c504dd67fe849aca3737dcaa9d4763201aed722a651ee6024f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Cosmostation/Controller/Main/GenTx/NftTransfer.swift: Cosmostation/Controller/Main/GenTx/NftTransfer.swift changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is NftTransfer.onUpdateWithSimul at line 340), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix : sui nft send\u201D; \u201Cfix : sui history \u0026 nft\u201D; \u201Cfix : Init sui grpc \u0026 staking sign\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 13:56:45 \u002B09:00\u0027 --until=\u00272026-10-06 13:56:45 \u002B09:00\u0027 --full-history --no-merges -- Cosmostation/Controller/Main/GenTx/NftTransfer.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/NftTransfer.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f05b248d6eff798bd94181b4d318cae985eb9dfd6b64430cd24acfce8e91b1a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 6 significant file(s) lose their only recent owner: Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift, Cosmostation/Fetcher/SolanaFetcher.swift, Cosmostation/Fetcher/AptosFetcher.swift, Cosmostation/Controller/Sheet/DappGnoSignRequestSheet.swift, Cosmostation/Chains/ChainMajor/ChainAptos.swift, Cosmostation/Controller/Setting/ChainAnnouncementVC.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"36a3ef5b04e0e96129bb96efcf852488abd941fcdd34a496d5f33873f90e056a"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (8 single-owned of 240 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 240 of the 556 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: Cosmostation/Chains/ChainMajor/ChainSui.swift, Cosmostation/Utils/Crypto/SuiTransactionMapper.swift."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Utils/WUtils.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd635b8ec887aa3411046923b73625898d2f8cafea4ef6cd909fb6e0805d8277"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO for refact!! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/CosmosFetcher.swift"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"78828b52d47af8534279271a933a2c20a9ad4623d37977e37da564d999f62323"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO check nft logic match with android \u0026 extension \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/IotaFetcher.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dae98137ab06c3f432047b3aae61da218b39738db47009fb44cf3a7e9a247aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO check nft logic match with android \u0026 extension \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/SuiFetcher.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a93467f6b90d6abdbcd10cace9bb7b3fcc27122450e0b6567147e7392aa716"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO Bera \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappCosmosSignRequestSheet.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"55021c8debf9ef858845400b31749a56299acc62a8d0e18766f768fc49a1d421"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO pincode ask? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappStartVC.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78c39b15b3658f52a133815e1b6dc4a85264a27ec982f8d83e2c3b79ccddf83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO msgs2\uAC1C \uC774\uC0C1\uC77C\uB54C \uC5D0\uB7EC\uCC98\uB9AC?? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e534f3ef98c60da9fd6fa7b17a21a30c72005aebb794b790f25ea0b720643001"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 28 files: The identical TodoComment appears in 28 files (39 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 39 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022//TODO handle Error\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba333a09ec60621c907745df0c3cb6813c1a9038d88153f30d056e77592b61b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO check gas \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae784a28c642ebd71446278127ce331382e6fdd712436e7dc03e2e951433d5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO Handle Error \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f159414dfc614d0a9ae812e171f592b3db8b845d420ca6921138fa22dd3ad37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO Handle Error \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"520c84081a7718d9e98718b2d75cca17516384c5f4be37767586d25037f50345"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO check Approve is onchain \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e903da0944597a55e592bff6fb729e6c2d65359a8092a5cf658a7ad06c9e462"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO Recover mode \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Init/IntroVC.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6656a54666b10386530950e028d9067642e676e8dc3a7c94feda1655fa69245b"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060Cosmostation.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc7285421eb6cfd882314487a2e34a7e6b564fb8cb9353b2c9827f3b71b3626"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060newVc\u0060 spells \u0060Vc\u0060 where 88 names in the project spell it \u0060VC\u0060: 88 of 89 names in project repository spell the token \u0060VC\u0060 (88 of 89; unit: names in project repository containing \u0060VC\u0060). Peers: repository.BaseVC (Cosmostation/Base/BaseVC.swift:21); repository.CreateMnemonicVC (Cosmostation/Controller/Init/CreateMnemonicVC.swift:11); repository.ImportMnemonicCheckVC (Cosmostation/Controller/Init/ImportMnemonicCheckVC.swift:11); repository.ImportMnemonicVC (Cosmostation/Controller/Init/ImportMnemonicVC.swift:12); repository.ImportPrivKeyVC (Cosmostation/Controller/Init/ImportPrivKeyVC.swift:12). Rename to \u0060newVC\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Pincode/PincodeInputVC.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d738ed49a082c02124730d1b82a33dabb019c6f883dd2b93b9fe5133a51f9812"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5feae5568036774dbce1443f31349a5a9f06db669c73af58361ccdeba3512a17"},"properties":{"commitSha":"2cffa97a2d3f50355f87a8381c7df349bad71911"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a126ea6355a015bba02d4368264a41df9c9809a3efcd259a63cf8d05e68ece4"},"properties":{"commitSha":"894d1885e82a3b40bed082352264235babdcccf8"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59e1e0f87a99b5e64470e0b79f8bc13d37f85ceadd0ab53c394def49dd5b9501"},"properties":{"commitSha":"894d1885e82a3b40bed082352264235babdcccf8"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60a926431783e94de7dac73ae1b5cc04c530bed32f0f877a97de513768302e5e"},"properties":{"commitSha":"07c7e34fefd318f928491fd31a89e152da932db0"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a10f6eb1ddd0560998e9171bd25ee45023b5c6b9a8fdf4947de86400416e3bf8"},"properties":{"commitSha":"8a1cef34d6630ec869f1e4ac29c6f3dbe0bdedaf"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48460a80923bfa28edde75f585929f1bb6d66ac1a153ac6577bea689f94c8db8"},"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":"ee789ebcdd4f032bce9ac27fa35c9b6fe73aa18e2d079767b3506f105415c113"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35582e0517ad3ef0ad0d2376ea4559ae2aade42d2b352e5fdca7ee53de4ee7b6"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"237edeb24dc81cbc856f488e235a10c173a97bb5ea902d438f6c636b05470ed4"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c23fbfc61007226f4b5bf175d87eeb51501976fbcd5de40a26b7bc3339998915"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5715ba7afa7f3ec8b53547799109b87a3deec4899b4ce41e03f8a2ba235db761"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff1bfb52bbb20a84804c3838785cb0d154cae15c980f9525d6b986f082489200"},"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":"c560557f8ebad3e8663e8539e1c78f04fcd2a0b343cbf771ed1a6cb2aa955fde"},"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":"421c63788524ffa7011434095d4a6027e9b1fb76ba41f44f6d73a66571b5fa16"},"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":"1c68e00b49297c7eeb9def3f65f79058682876f473e765ab1dd5eeca7b762b2a"},"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":"10dbeecaf2b4d7630650a396c14f597a00865c1bde5e16e2695de7841b3e429d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"6294cf47509c1b9643ce30bc6cbf30aa27e25818d97afc77740eaac6a4f67881"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8b459195b282a50b1718af3ee61baf2f6b801d1da3fc9f08c0997a563d78a72"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"522b27a1f48521e6736e2c2bce25068a92b273fc6f34a0382f7edf5e7cb641d7"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55fdd16e8372eef07c988fbfcbbc2e875eaf1ed00a900144b10a18b9ef517e95"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BabylonBTCFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64195f989286930f4fd4c802fdbd81d3458f83306eeb6f5c90853bda66133541"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46286649e33e45898eaecf7caff7224808380d3e76ffe4afe54536905aacf842"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcDelegate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b43136d183437960a6ef9d46dfb34df833b6d89f81555e9197be72f4c0659a"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 30 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: Cosmostation/Controller/Main/DappListViewController.swift, Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift, Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift, Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift, Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift, Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift, Cosmostation/Fetcher/BabylonFetcher.swift, Cosmostation/Fetcher/InitiaFetcher.swift (and 22 more) (33 orphaned of 241 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 241 of the 556 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappListViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf403525eb4325e166995508a48957eaba68965d02e36a61aaf0791d569294f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcUndelegate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25a10f0e379df92fdff1ebf798f659d59089d2268ab57e7cc2be5c19734ae94"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec905dbaebc3dc7931af72dbcd5417b8ef3611b4ec78b97f060e5b887e049e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0197889164e9734190fb70b8f96a9099d4f1ef624eae7cf247382d2274fd7e94"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9d9ac1cdbbdf8384810277cff649814489368f22b12d0d39e155aef7ca3868"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/NeutronStakingInfoVC.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba4def9cb94d2e712ed076053bc9e3465ec6139195b4de956e4a9d504490122"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BabylonFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e69103f7decc4f5c224714ba41744a4abb3dabfe8412d0019f2c5a48a89f76f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/InitiaFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d3ab84146301f6645cd32c2cbc5b8319c115e06c319a11317d3217000c5a17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/ZenrockFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0f465855adbd22da269b2758be602155eec2b315c16e292b3aa3648b9c8629"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappBtcSignRequestSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fb9e953f2e2fcdb4dcb62aa38ca63acdfb61d48cc79e15dec367a3ba9cfb7c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/DappDetailSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b16333cebe4c6c52e015b4c33bd780e2cd1910485e0b77556b9ec0ad7ceaf5d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStakingInfoVC.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15efeef9490bc79396467ec2a293c220392d1457250e624dc46b8ac1443f60f0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23b26c99f246a9d360ca6ca0fe871777f94308c527d9356dc9d4e5f59914631"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2331f2e68f54b8feb09f4b3b5382df07538d1968843fd8b9482c0d96b2ec89"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorNftVC.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e4a4d0192019fe043478a5fccc92cbec9a01a947bc273d6e5ff6a01f00e65a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/BtcJS.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aeef937bfe9498538994cb982ee36eccebd7cc16e7259f6d020bceedad253dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AssetBabylonCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39110d3daef7c5651cddfa0e13078a3634f8417eb568553773d9f735cebf7e28"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ChainMajor/ChainIota.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa900d8d7aa526d2e21944727767799b319145ffff3510f27fddc28fe6ae7f51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/AdditionalFeeSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a7270a59bdd389f13074195ef698c6578d4c69bce2322aacbf1185b20f3ca7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/AllDappListCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb39b64efc737ca7e24e18a90b125dae0c8b3d13615da5f1f1c6eec12110fec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ChainMajor/ChainBitCoin86.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b8279fd4774c8761acb7ef5f84ace449da53a2d1a70b5702378d3f204756dd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc153b6d4749b21c04912a6e17dffd9bbe9b7cb1d01c81e0e18efcb48a4af554"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/PendingDelegateCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e95e5ad0a23a9d5f652bfe110fc6d219703b1066b44f16c7b4a9414b831f1d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/BaseImgMsgCheckCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f728e7bf5ac0d2ae096c1082bff8ff695769138f4836fa197d2b2625536e82a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ClassCosmos/ChainBabylon.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c523c774cbf920e8b8017e8c1c1f8952a2b5338f2c7a52ccc885b970150bf2a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/EcosystemPopUpSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0431197658752fdf1d54f9bed22a51da56f727edb8700c21a99ed3c6891f5dc6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/UnstakingApproxCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56fae1c519f3fbf9a9a95a7428d788bbd3b5b17e79d0e2fce4a5ce17c8f9cbc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9cade8d9ec4e4b1a8fc7e1203e24ba61e7674b427330e377d78b62a276de7a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/VoteThreeItemsCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3160fce7fb7dee8d75f2781188bbad57d555b64eaac9ed3f4e2396af61022e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/BtcStakingCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75768c40abe3bee853b113016c7feb64a8e81f80b4a92fa7c97045bdfb563fba"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ChainBitCoin84_T.swift \u2194 BtcFetcher.swift: \u0060Cosmostation/Chains/ClassTestnet/ChainBitCoin84_T.swift\u0060 and \u0060Cosmostation/Fetcher/BtcFetcher.swift\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00601c0c2940\u0060 [APP-1034] Feat bitcoin send; \u0060d966694e\u0060 [APP-1034]Btc Derive UI; \u00602e9ab95f\u0060 [APP-1034]Btc history ongoing (at that commit the file was still \u0060Cosmostation/Chains/ChainBitCoin84_T.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Chains/ClassTestnet/ChainBitCoin84_T.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4a35eaefe2a95e9848f17274d71cc7d3c899a7bb6e2cb15d4761d576813547"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: QrAddressPopupVC.swift \u2194 ReceiveCell.swift: \u0060Cosmostation/Controller/Main/QrAddressPopupVC.swift\u0060 and \u0060Cosmostation/UI/Cell/ReceiveCell.swift\u0060 change together 56% of the time (9 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00608d41680c\u0060 [APP-1230] Update Coreum -\u003E Tx name; \u0060c9f8b72b\u0060 [APP-1122]Refact chain handling; \u0060e0ba5126\u0060 Change chain logo data \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/QrAddressPopupVC.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0cdbae73270da841b2a25590b49033c5f72daf3db7c9ab1de36e2f2f5c83f3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CheckPrivateKeyCell.swift \u2194 PortfolioCell.swift: \u0060Cosmostation/UI/Cell/CheckPrivateKeyCell.swift\u0060 and \u0060Cosmostation/UI/Cell/PortfolioCell.swift\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060cd59e0cf\u0060 [APP]Remove flag unusing; \u0060e0ba5126\u0060 Change chain logo data; \u00603cf0238c\u0060 [APP-1017]Update chain display names \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/CheckPrivateKeyCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4e8922414e9393c03a44c7ac905d99aa62cb0c4df12a960d31ba879a8d191d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CheckPrivateKeyCell.swift \u2194 SelectChainCell.swift: \u0060Cosmostation/UI/Cell/CheckPrivateKeyCell.swift\u0060 and \u0060Cosmostation/UI/Cell/SelectChainCell.swift\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060cd59e0cf\u0060 [APP]Remove flag unusing; \u0060e0ba5126\u0060 Change chain logo data; \u00603cf0238c\u0060 [APP-1017]Update chain display names \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/CheckPrivateKeyCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd11ad962d23d7144d3046517e620a0707cdc4afa69e16cb3df0f444f1b0d37"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SelectEndpointSheet.swift \u2194 ManageChainCell.swift: \u0060Cosmostation/Controller/Sheet/SelectEndpointSheet.swift\u0060 and \u0060Cosmostation/UI/Cell/ManageChainCell.swift\u0060 change together 53% of the time (9 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060735e7314\u0060 [APP-1202] Init manage chain with Aptos; \u006021bb176f\u0060 [APP-1143] init solana sol ongoing; \u0060e0ba5126\u0060 Change chain logo data \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectEndpointSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0741847900bf558e2ed6011f36f31cf190914cb97abc20b32455544be825b07"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Portfolio2Cell.swift \u2194 PortfolioCell.swift: \u0060Cosmostation/UI/Cell/Portfolio2Cell.swift\u0060 and \u0060Cosmostation/UI/Cell/PortfolioCell.swift\u0060 change together 50% of the time (12 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060cd59e0cf\u0060 [APP]Remove flag unusing; \u0060e0ba5126\u0060 Change chain logo data; \u00603cf0238c\u0060 [APP-1017]Update chain display names \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/UI/Cell/Portfolio2Cell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de618d5f03fcb684dea512af2597fc25366c9ab8b5bdc27e69267496610f2f4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TxAmountSheet.swift \u2194 Signer.swift: \u0060Cosmostation/Controller/Sheet/TxAmountSheet.swift\u0060 and \u0060Cosmostation/Utils/Crypto/Signer.swift\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060a5597558\u0060 cdp create (at that commit the file was still \u0060Cosmostation/Crypto/Signer.swift\u0060); \u00602364fcc5\u0060 fin swp (at that commit the file was still \u0060Cosmostation/Crypto/Signer.swift\u0060); \u006074ef7ee5\u0060 fin hard (at that commit the file was still \u0060Cosmostation/Crypto/Signer.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxAmountSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d598597be7cb477986464a96106cb73890195dbdae0e7f8e2b21aefca460ec5c"}},{"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":"c6918b1aedf5c954ecb11bea0c638584e77113ad3b66591389c8ca1ee275c374"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Cosmos_Staking_V1beta1_QueryClientInterceptorFactoryProtocol (22 requirements): \u0060Cosmos_Staking_V1beta1_QueryClientInterceptorFactoryProtocol\u0060 declares 22 requirements: \u0060makeValidatorsInterceptors\u0060, \u0060makeValidatorInterceptors\u0060, \u0060makeValidatorDelegationsInterceptors\u0060, \u0060makeValidatorUnbondingDelegationsInterceptors\u0060, \u0060makeDelegationInterceptors\u0060, \u0060makeUnbondingDelegationInterceptors\u0060, \u0060makeDelegatorDelegationsInterceptors\u0060, \u0060makeDelegatorUnbondingDelegationsInterceptors\u0060, \u0060makeRedelegationsInterceptors\u0060, \u0060makeDelegatorValidatorsInterceptors\u0060, \u0060makeDelegatorValidatorInterceptors\u0060, \u0060makeTokenizeShareRecordByIdInterceptors\u0060, \u0060makeTokenizeShareRecordByDenomInterceptors\u0060, \u0060makeTokenizeShareRecordsOwnedInterceptors\u0060, \u0060makeAllTokenizeShareRecordsInterceptors\u0060, \u0060makeLastTokenizeShareRecordIdInterceptors\u0060, \u0060makeTotalTokenizeSharedAssetsInterceptors\u0060, \u0060makeTotalLiquidStakedInterceptors\u0060, \u0060makeTokenizeShareLockInfoInterceptors\u0060, \u0060makeHistoricalInfoInterceptors\u0060, \u0060makePoolInterceptors\u0060, \u0060makeParamsInterceptors\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Cosmos/cosmos_staking_v1beta1_query.grpc.swift"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa29bd9fac8624056573616b0c2df16fb79a40d5ae88fa7cdc6e65d4ab0eea7"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Cosmos_Staking_V1beta1_QueryProvider (22 requirements): \u0060Cosmos_Staking_V1beta1_QueryProvider\u0060 declares 22 requirements: \u0060validators\u0060, \u0060validator\u0060, \u0060validatorDelegations\u0060, \u0060validatorUnbondingDelegations\u0060, \u0060delegation\u0060, \u0060unbondingDelegation\u0060, \u0060delegatorDelegations\u0060, \u0060delegatorUnbondingDelegations\u0060, \u0060redelegations\u0060, \u0060delegatorValidators\u0060, \u0060delegatorValidator\u0060, \u0060tokenizeShareRecordById\u0060, \u0060tokenizeShareRecordByDenom\u0060, \u0060tokenizeShareRecordsOwned\u0060, \u0060allTokenizeShareRecords\u0060, \u0060lastTokenizeShareRecordId\u0060, \u0060totalTokenizeSharedAssets\u0060, \u0060totalLiquidStaked\u0060, \u0060tokenizeShareLockInfo\u0060, \u0060historicalInfo\u0060, \u0060pool\u0060, \u0060params\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Cosmos/cosmos_staking_v1beta1_query.grpc.swift"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"872c3d5d66cfaca3acd72a0becd1b982897f89511a4dea8493daf7490de61da1"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Cosmos_Staking_V1beta1_QueryAsyncProvider (22 requirements): \u0060Cosmos_Staking_V1beta1_QueryAsyncProvider\u0060 declares 22 requirements: \u0060validators\u0060, \u0060validator\u0060, \u0060validatorDelegations\u0060, \u0060validatorUnbondingDelegations\u0060, \u0060delegation\u0060, \u0060unbondingDelegation\u0060, \u0060delegatorDelegations\u0060, \u0060delegatorUnbondingDelegations\u0060, \u0060redelegations\u0060, \u0060delegatorValidators\u0060, \u0060delegatorValidator\u0060, \u0060tokenizeShareRecordById\u0060, \u0060tokenizeShareRecordByDenom\u0060, \u0060tokenizeShareRecordsOwned\u0060, \u0060allTokenizeShareRecords\u0060, \u0060lastTokenizeShareRecordId\u0060, \u0060totalTokenizeSharedAssets\u0060, \u0060totalLiquidStaked\u0060, \u0060tokenizeShareLockInfo\u0060, \u0060historicalInfo\u0060, \u0060pool\u0060, \u0060params\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Cosmos/cosmos_staking_v1beta1_query.grpc.swift"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cec7e7cef7d618c752b527ed893c635545c675695e27a02669f9e3eb256956"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Cosmos_Staking_V1beta1_QueryServerInterceptorFactoryProtocol (22 requirements): \u0060Cosmos_Staking_V1beta1_QueryServerInterceptorFactoryProtocol\u0060 declares 22 requirements: \u0060makeValidatorsInterceptors\u0060, \u0060makeValidatorInterceptors\u0060, \u0060makeValidatorDelegationsInterceptors\u0060, \u0060makeValidatorUnbondingDelegationsInterceptors\u0060, \u0060makeDelegationInterceptors\u0060, \u0060makeUnbondingDelegationInterceptors\u0060, \u0060makeDelegatorDelegationsInterceptors\u0060, \u0060makeDelegatorUnbondingDelegationsInterceptors\u0060, \u0060makeRedelegationsInterceptors\u0060, \u0060makeDelegatorValidatorsInterceptors\u0060, \u0060makeDelegatorValidatorInterceptors\u0060, \u0060makeTokenizeShareRecordByIdInterceptors\u0060, \u0060makeTokenizeShareRecordByDenomInterceptors\u0060, \u0060makeTokenizeShareRecordsOwnedInterceptors\u0060, \u0060makeAllTokenizeShareRecordsInterceptors\u0060, \u0060makeLastTokenizeShareRecordIdInterceptors\u0060, \u0060makeTotalTokenizeSharedAssetsInterceptors\u0060, \u0060makeTotalLiquidStakedInterceptors\u0060, \u0060makeTokenizeShareLockInfoInterceptors\u0060, \u0060makeHistoricalInfoInterceptors\u0060, \u0060makePoolInterceptors\u0060, \u0060makeParamsInterceptors\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Cosmos/cosmos_staking_v1beta1_query.grpc.swift"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd0c969930485d86d0037707c7d4a7b271859abe16e59b9980a9226167c077d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Initia_Move_V1_QueryClientInterceptorFactoryProtocol (16 requirements): \u0060Initia_Move_V1_QueryClientInterceptorFactoryProtocol\u0060 declares 16 requirements: \u0060makeModuleInterceptors\u0060, \u0060makeModulesInterceptors\u0060, \u0060makeResourceInterceptors\u0060, \u0060makeResourcesInterceptors\u0060, \u0060makeTableInfoInterceptors\u0060, \u0060makeTableEntryInterceptors\u0060, \u0060makeTableEntriesInterceptors\u0060, \u0060makeLegacyViewInterceptors\u0060, \u0060makeViewInterceptors\u0060, \u0060makeViewBatchInterceptors\u0060, \u0060makeViewJSONInterceptors\u0060, \u0060makeViewJSONBatchInterceptors\u0060, \u0060makeScriptABIInterceptors\u0060, \u0060makeParamsInterceptors\u0060, \u0060makeMetadataInterceptors\u0060, \u0060makeDenomInterceptors\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Initia/initia_move_v1_query.grpc.swift"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"62890c7974fd7b54c943f5b3b93e4a9e7da2821a9b7106aa5c80781b1880c2be"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Initia_Move_V1_QueryProvider (16 requirements): \u0060Initia_Move_V1_QueryProvider\u0060 declares 16 requirements: \u0060module\u0060, \u0060modules\u0060, \u0060resource\u0060, \u0060resources\u0060, \u0060tableInfo\u0060, \u0060tableEntry\u0060, \u0060tableEntries\u0060, \u0060legacyView\u0060, \u0060view\u0060, \u0060viewBatch\u0060, \u0060viewJSON\u0060, \u0060viewJSONBatch\u0060, \u0060scriptABI\u0060, \u0060params\u0060, \u0060metadata\u0060, \u0060denom\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Initia/initia_move_v1_query.grpc.swift"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b2f8d546eef967277da5fd9c3f33a2d323ca68c347e8ab4001ebc8d3ef4f27"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Initia_Move_V1_QueryAsyncProvider (16 requirements): \u0060Initia_Move_V1_QueryAsyncProvider\u0060 declares 16 requirements: \u0060module\u0060, \u0060modules\u0060, \u0060resource\u0060, \u0060resources\u0060, \u0060tableInfo\u0060, \u0060tableEntry\u0060, \u0060tableEntries\u0060, \u0060legacyView\u0060, \u0060view\u0060, \u0060viewBatch\u0060, \u0060viewJSON\u0060, \u0060viewJSONBatch\u0060, \u0060scriptABI\u0060, \u0060params\u0060, \u0060metadata\u0060, \u0060denom\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Initia/initia_move_v1_query.grpc.swift"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"65553d86a74f84a61dbb5d141d5994320826fb37a4f370cc7eaa169a8cf260cd"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Initia_Move_V1_QueryServerInterceptorFactoryProtocol (16 requirements): \u0060Initia_Move_V1_QueryServerInterceptorFactoryProtocol\u0060 declares 16 requirements: \u0060makeModuleInterceptors\u0060, \u0060makeModulesInterceptors\u0060, \u0060makeResourceInterceptors\u0060, \u0060makeResourcesInterceptors\u0060, \u0060makeTableInfoInterceptors\u0060, \u0060makeTableEntryInterceptors\u0060, \u0060makeTableEntriesInterceptors\u0060, \u0060makeLegacyViewInterceptors\u0060, \u0060makeViewInterceptors\u0060, \u0060makeViewBatchInterceptors\u0060, \u0060makeViewJSONInterceptors\u0060, \u0060makeViewJSONBatchInterceptors\u0060, \u0060makeScriptABIInterceptors\u0060, \u0060makeParamsInterceptors\u0060, \u0060makeMetadataInterceptors\u0060, \u0060makeDenomInterceptors\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Initia/initia_move_v1_query.grpc.swift"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f046380ce9417fe50911d80c5df912c5ff6b4350a8adcb135bdf6a8d2d4fc4a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Injective_Exchange_V1beta1_QueryClientInterceptorFactoryProtocol (57 requirements): \u0060Injective_Exchange_V1beta1_QueryClientInterceptorFactoryProtocol\u0060 declares 57 requirements: \u0060makeQueryExchangeParamsInterceptors\u0060, \u0060makeSubaccountDepositsInterceptors\u0060, \u0060makeSubaccountDepositInterceptors\u0060, \u0060makeExchangeBalancesInterceptors\u0060, \u0060makeAggregateVolumeInterceptors\u0060, \u0060makeAggregateVolumesInterceptors\u0060, \u0060makeAggregateMarketVolumeInterceptors\u0060, \u0060makeAggregateMarketVolumesInterceptors\u0060, \u0060makeDenomDecimalInterceptors\u0060, \u0060makeDenomDecimalsInterceptors\u0060, \u0060makeSpotMarketsInterceptors\u0060, \u0060makeSpotMarketInterceptors\u0060, \u0060makeFullSpotMarketsInterceptors\u0060, \u0060makeFullSpotMarketInterceptors\u0060, \u0060makeSpotOrderbookInterceptors\u0060, \u0060makeTraderSpotOrdersInterceptors\u0060, \u0060makeAccountAddressSpotOrdersInterceptors\u0060, \u0060makeSpotOrdersByHashesInterceptors\u0060, \u0060makeSubaccountOrdersInterceptors\u0060, \u0060makeTraderSpotTransientOrdersInterceptors\u0060, \u0060makeSpotMidPriceAndTOBInterceptors\u0060, \u0060makeDerivativeMidPriceAndTOBInterceptors\u0060, \u0060makeDerivativeOrderbookInterceptors\u0060, \u0060makeTraderDerivativeOrdersInterceptors\u0060, \u0060makeAccountAddressDerivativeOrdersInterceptors\u0060, \u0060makeDerivativeOrdersByHashesInterceptors\u0060, \u0060makeTraderDerivativeTransientOrdersInterceptors\u0060, \u0060makeDerivativeMarketsInterceptors\u0060, \u0060makeDerivativeMarketInterceptors\u0060, \u0060makeDerivativeMarketAddressInterceptors\u0060, \u0060makeSubaccountTradeNonceInterceptors\u0060, \u0060makeExchangeModuleStateInterceptors\u0060, \u0060makePositionsInterceptors\u0060, \u0060makeSubaccountPositionsInterceptors\u0060, \u0060makeSubaccountPositionInMarketInterceptors\u0060, \u0060makeSubaccountEffectivePositionInMarketInterceptors\u0060, \u0060makePerpetualMarketInfoInterceptors\u0060, \u0060makeExpiryFuturesMarketInfoInterceptors\u0060, \u0060makePerpetualMarketFundingInterceptors\u0060, \u0060makeSubaccountOrderMetadataInterceptors\u0060, and 17 more. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Injective/injective_exchange_v1beta1_query.grpc.swift"},"region":{"startLine":3106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14ea1a11e4eedd68243d33ccffc08ccb645eb521edd6f9cfdbd69379e3be918"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Injective_Exchange_V1beta1_QueryProvider (57 requirements): \u0060Injective_Exchange_V1beta1_QueryProvider\u0060 declares 57 requirements: \u0060queryExchangeParams\u0060, \u0060subaccountDeposits\u0060, \u0060subaccountDeposit\u0060, \u0060exchangeBalances\u0060, \u0060aggregateVolume\u0060, \u0060aggregateVolumes\u0060, \u0060aggregateMarketVolume\u0060, \u0060aggregateMarketVolumes\u0060, \u0060denomDecimal\u0060, \u0060denomDecimals\u0060, \u0060spotMarkets\u0060, \u0060spotMarket\u0060, \u0060fullSpotMarkets\u0060, \u0060fullSpotMarket\u0060, \u0060spotOrderbook\u0060, \u0060traderSpotOrders\u0060, \u0060accountAddressSpotOrders\u0060, \u0060spotOrdersByHashes\u0060, \u0060subaccountOrders\u0060, \u0060traderSpotTransientOrders\u0060, \u0060spotMidPriceAndTOB\u0060, \u0060derivativeMidPriceAndTOB\u0060, \u0060derivativeOrderbook\u0060, \u0060traderDerivativeOrders\u0060, \u0060accountAddressDerivativeOrders\u0060, \u0060derivativeOrdersByHashes\u0060, \u0060traderDerivativeTransientOrders\u0060, \u0060derivativeMarkets\u0060, \u0060derivativeMarket\u0060, \u0060derivativeMarketAddress\u0060, \u0060subaccountTradeNonce\u0060, \u0060exchangeModuleState\u0060, \u0060positions\u0060, \u0060subaccountPositions\u0060, \u0060subaccountPositionInMarket\u0060, \u0060subaccountEffectivePositionInMarket\u0060, \u0060perpetualMarketInfo\u0060, \u0060expiryFuturesMarketInfo\u0060, \u0060perpetualMarketFunding\u0060, \u0060subaccountOrderMetadata\u0060, and 17 more. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Injective/injective_exchange_v1beta1_query.grpc.swift"},"region":{"startLine":3693}}}],"partialFingerprints":{"codehealthFindingId/v1":"246efd5a97dc7791ebbaa6387fbdf4dbc2d8c4ab7bef333edf13e4019dac4c5a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Injective_Exchange_V1beta1_QueryAsyncProvider (57 requirements): \u0060Injective_Exchange_V1beta1_QueryAsyncProvider\u0060 declares 57 requirements: \u0060queryExchangeParams\u0060, \u0060subaccountDeposits\u0060, \u0060subaccountDeposit\u0060, \u0060exchangeBalances\u0060, \u0060aggregateVolume\u0060, \u0060aggregateVolumes\u0060, \u0060aggregateMarketVolume\u0060, \u0060aggregateMarketVolumes\u0060, \u0060denomDecimal\u0060, \u0060denomDecimals\u0060, \u0060spotMarkets\u0060, \u0060spotMarket\u0060, \u0060fullSpotMarkets\u0060, \u0060fullSpotMarket\u0060, \u0060spotOrderbook\u0060, \u0060traderSpotOrders\u0060, \u0060accountAddressSpotOrders\u0060, \u0060spotOrdersByHashes\u0060, \u0060subaccountOrders\u0060, \u0060traderSpotTransientOrders\u0060, \u0060spotMidPriceAndTOB\u0060, \u0060derivativeMidPriceAndTOB\u0060, \u0060derivativeOrderbook\u0060, \u0060traderDerivativeOrders\u0060, \u0060accountAddressDerivativeOrders\u0060, \u0060derivativeOrdersByHashes\u0060, \u0060traderDerivativeTransientOrders\u0060, \u0060derivativeMarkets\u0060, \u0060derivativeMarket\u0060, \u0060derivativeMarketAddress\u0060, \u0060subaccountTradeNonce\u0060, \u0060exchangeModuleState\u0060, \u0060positions\u0060, \u0060subaccountPositions\u0060, \u0060subaccountPositionInMarket\u0060, \u0060subaccountEffectivePositionInMarket\u0060, \u0060perpetualMarketInfo\u0060, \u0060expiryFuturesMarketInfo\u0060, \u0060perpetualMarketFunding\u0060, \u0060subaccountOrderMetadata\u0060, and 17 more. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Injective/injective_exchange_v1beta1_query.grpc.swift"},"region":{"startLine":4405}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bf26c70ece68ad652be3efe48a7084d8ca556adb56b45be3e353ef46f3334e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Injective_Exchange_V1beta1_QueryServerInterceptorFactoryProtocol (57 requirements): \u0060Injective_Exchange_V1beta1_QueryServerInterceptorFactoryProtocol\u0060 declares 57 requirements: \u0060makeQueryExchangeParamsInterceptors\u0060, \u0060makeSubaccountDepositsInterceptors\u0060, \u0060makeSubaccountDepositInterceptors\u0060, \u0060makeExchangeBalancesInterceptors\u0060, \u0060makeAggregateVolumeInterceptors\u0060, \u0060makeAggregateVolumesInterceptors\u0060, \u0060makeAggregateMarketVolumeInterceptors\u0060, \u0060makeAggregateMarketVolumesInterceptors\u0060, \u0060makeDenomDecimalInterceptors\u0060, \u0060makeDenomDecimalsInterceptors\u0060, \u0060makeSpotMarketsInterceptors\u0060, \u0060makeSpotMarketInterceptors\u0060, \u0060makeFullSpotMarketsInterceptors\u0060, \u0060makeFullSpotMarketInterceptors\u0060, \u0060makeSpotOrderbookInterceptors\u0060, \u0060makeTraderSpotOrdersInterceptors\u0060, \u0060makeAccountAddressSpotOrdersInterceptors\u0060, \u0060makeSpotOrdersByHashesInterceptors\u0060, \u0060makeSubaccountOrdersInterceptors\u0060, \u0060makeTraderSpotTransientOrdersInterceptors\u0060, \u0060makeSpotMidPriceAndTOBInterceptors\u0060, \u0060makeDerivativeMidPriceAndTOBInterceptors\u0060, \u0060makeDerivativeOrderbookInterceptors\u0060, \u0060makeTraderDerivativeOrdersInterceptors\u0060, \u0060makeAccountAddressDerivativeOrdersInterceptors\u0060, \u0060makeDerivativeOrdersByHashesInterceptors\u0060, \u0060makeTraderDerivativeTransientOrdersInterceptors\u0060, \u0060makeDerivativeMarketsInterceptors\u0060, \u0060makeDerivativeMarketInterceptors\u0060, \u0060makeDerivativeMarketAddressInterceptors\u0060, \u0060makeSubaccountTradeNonceInterceptors\u0060, \u0060makeExchangeModuleStateInterceptors\u0060, \u0060makePositionsInterceptors\u0060, \u0060makeSubaccountPositionsInterceptors\u0060, \u0060makeSubaccountPositionInMarketInterceptors\u0060, \u0060makeSubaccountEffectivePositionInMarketInterceptors\u0060, \u0060makePerpetualMarketInfoInterceptors\u0060, \u0060makeExpiryFuturesMarketInfoInterceptors\u0060, \u0060makePerpetualMarketFundingInterceptors\u0060, \u0060makeSubaccountOrderMetadataInterceptors\u0060, and 17 more. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Injective/injective_exchange_v1beta1_query.grpc.swift"},"region":{"startLine":5294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0b7792a2d4541dc5feb08cb736ad8ef078bb362e92109778d97979e49c487e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Injective_Exchange_V1beta1_MsgClientInterceptorFactoryProtocol (30 requirements): \u0060Injective_Exchange_V1beta1_MsgClientInterceptorFactoryProtocol\u0060 declares 30 requirements: \u0060makeDepositInterceptors\u0060, \u0060makeWithdrawInterceptors\u0060, \u0060makeInstantSpotMarketLaunchInterceptors\u0060, \u0060makeInstantPerpetualMarketLaunchInterceptors\u0060, \u0060makeInstantExpiryFuturesMarketLaunchInterceptors\u0060, \u0060makeCreateSpotLimitOrderInterceptors\u0060, \u0060makeBatchCreateSpotLimitOrdersInterceptors\u0060, \u0060makeCreateSpotMarketOrderInterceptors\u0060, \u0060makeCancelSpotOrderInterceptors\u0060, \u0060makeBatchCancelSpotOrdersInterceptors\u0060, \u0060makeBatchUpdateOrdersInterceptors\u0060, \u0060makePrivilegedExecuteContractInterceptors\u0060, \u0060makeCreateDerivativeLimitOrderInterceptors\u0060, \u0060makeBatchCreateDerivativeLimitOrdersInterceptors\u0060, \u0060makeCreateDerivativeMarketOrderInterceptors\u0060, \u0060makeCancelDerivativeOrderInterceptors\u0060, \u0060makeBatchCancelDerivativeOrdersInterceptors\u0060, \u0060makeInstantBinaryOptionsMarketLaunchInterceptors\u0060, \u0060makeCreateBinaryOptionsLimitOrderInterceptors\u0060, \u0060makeCreateBinaryOptionsMarketOrderInterceptors\u0060, \u0060makeCancelBinaryOptionsOrderInterceptors\u0060, \u0060makeBatchCancelBinaryOptionsOrdersInterceptors\u0060, \u0060makeSubaccountTransferInterceptors\u0060, \u0060makeExternalTransferInterceptors\u0060, \u0060makeLiquidatePositionInterceptors\u0060, \u0060makeIncreasePositionMarginInterceptors\u0060, \u0060makeRewardsOptOutInterceptors\u0060, \u0060makeAdminUpdateBinaryOptionsMarketInterceptors\u0060, \u0060makeReclaimLockedFundsInterceptors\u0060, \u0060makeUpdateParamsInterceptors\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Injective/injective_exchange_v1beta1_tx.grpc.swift"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37251a02776bc7b081325c63e4ca105c0fa7ddd0b3fbde691fda7bc0ab53251"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Injective_Exchange_V1beta1_MsgProvider (30 requirements): \u0060Injective_Exchange_V1beta1_MsgProvider\u0060 declares 30 requirements: \u0060deposit\u0060, \u0060withdraw\u0060, \u0060instantSpotMarketLaunch\u0060, \u0060instantPerpetualMarketLaunch\u0060, \u0060instantExpiryFuturesMarketLaunch\u0060, \u0060createSpotLimitOrder\u0060, \u0060batchCreateSpotLimitOrders\u0060, \u0060createSpotMarketOrder\u0060, \u0060cancelSpotOrder\u0060, \u0060batchCancelSpotOrders\u0060, \u0060batchUpdateOrders\u0060, \u0060privilegedExecuteContract\u0060, \u0060createDerivativeLimitOrder\u0060, \u0060batchCreateDerivativeLimitOrders\u0060, \u0060createDerivativeMarketOrder\u0060, \u0060cancelDerivativeOrder\u0060, \u0060batchCancelDerivativeOrders\u0060, \u0060instantBinaryOptionsMarketLaunch\u0060, \u0060createBinaryOptionsLimitOrder\u0060, \u0060createBinaryOptionsMarketOrder\u0060, \u0060cancelBinaryOptionsOrder\u0060, \u0060batchCancelBinaryOptionsOrders\u0060, \u0060subaccountTransfer\u0060, \u0060externalTransfer\u0060, \u0060liquidatePosition\u0060, \u0060increasePositionMargin\u0060, \u0060rewardsOptOut\u0060, \u0060adminUpdateBinaryOptionsMarket\u0060, \u0060reclaimLockedFunds\u0060, \u0060updateParams\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Injective/injective_exchange_v1beta1_tx.grpc.swift"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad7646516fb964919a32740b3d76fae8dc4271f2b4bd0e43d39fd8ca138382f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Injective_Exchange_V1beta1_MsgAsyncProvider (30 requirements): \u0060Injective_Exchange_V1beta1_MsgAsyncProvider\u0060 declares 30 requirements: \u0060deposit\u0060, \u0060withdraw\u0060, \u0060instantSpotMarketLaunch\u0060, \u0060instantPerpetualMarketLaunch\u0060, \u0060instantExpiryFuturesMarketLaunch\u0060, \u0060createSpotLimitOrder\u0060, \u0060batchCreateSpotLimitOrders\u0060, \u0060createSpotMarketOrder\u0060, \u0060cancelSpotOrder\u0060, \u0060batchCancelSpotOrders\u0060, \u0060batchUpdateOrders\u0060, \u0060privilegedExecuteContract\u0060, \u0060createDerivativeLimitOrder\u0060, \u0060batchCreateDerivativeLimitOrders\u0060, \u0060createDerivativeMarketOrder\u0060, \u0060cancelDerivativeOrder\u0060, \u0060batchCancelDerivativeOrders\u0060, \u0060instantBinaryOptionsMarketLaunch\u0060, \u0060createBinaryOptionsLimitOrder\u0060, \u0060createBinaryOptionsMarketOrder\u0060, \u0060cancelBinaryOptionsOrder\u0060, \u0060batchCancelBinaryOptionsOrders\u0060, \u0060subaccountTransfer\u0060, \u0060externalTransfer\u0060, \u0060liquidatePosition\u0060, \u0060increasePositionMargin\u0060, \u0060rewardsOptOut\u0060, \u0060adminUpdateBinaryOptionsMarket\u0060, \u0060reclaimLockedFunds\u0060, \u0060updateParams\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Injective/injective_exchange_v1beta1_tx.grpc.swift"},"region":{"startLine":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cda6016581376dc0064661fea18565d5af56dc69478aa43ba2ba2b9e8d5c12"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Injective_Exchange_V1beta1_MsgServerInterceptorFactoryProtocol (30 requirements): \u0060Injective_Exchange_V1beta1_MsgServerInterceptorFactoryProtocol\u0060 declares 30 requirements: \u0060makeDepositInterceptors\u0060, \u0060makeWithdrawInterceptors\u0060, \u0060makeInstantSpotMarketLaunchInterceptors\u0060, \u0060makeInstantPerpetualMarketLaunchInterceptors\u0060, \u0060makeInstantExpiryFuturesMarketLaunchInterceptors\u0060, \u0060makeCreateSpotLimitOrderInterceptors\u0060, \u0060makeBatchCreateSpotLimitOrdersInterceptors\u0060, \u0060makeCreateSpotMarketOrderInterceptors\u0060, \u0060makeCancelSpotOrderInterceptors\u0060, \u0060makeBatchCancelSpotOrdersInterceptors\u0060, \u0060makeBatchUpdateOrdersInterceptors\u0060, \u0060makePrivilegedExecuteContractInterceptors\u0060, \u0060makeCreateDerivativeLimitOrderInterceptors\u0060, \u0060makeBatchCreateDerivativeLimitOrdersInterceptors\u0060, \u0060makeCreateDerivativeMarketOrderInterceptors\u0060, \u0060makeCancelDerivativeOrderInterceptors\u0060, \u0060makeBatchCancelDerivativeOrdersInterceptors\u0060, \u0060makeInstantBinaryOptionsMarketLaunchInterceptors\u0060, \u0060makeCreateBinaryOptionsLimitOrderInterceptors\u0060, \u0060makeCreateBinaryOptionsMarketOrderInterceptors\u0060, \u0060makeCancelBinaryOptionsOrderInterceptors\u0060, \u0060makeBatchCancelBinaryOptionsOrdersInterceptors\u0060, \u0060makeSubaccountTransferInterceptors\u0060, \u0060makeExternalTransferInterceptors\u0060, \u0060makeLiquidatePositionInterceptors\u0060, \u0060makeIncreasePositionMarginInterceptors\u0060, \u0060makeRewardsOptOutInterceptors\u0060, \u0060makeAdminUpdateBinaryOptionsMarketInterceptors\u0060, \u0060makeReclaimLockedFundsInterceptors\u0060, \u0060makeUpdateParamsInterceptors\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Injective/injective_exchange_v1beta1_tx.grpc.swift"},"region":{"startLine":2937}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c9fdf4467f9071dbf83b2c070bb017f5d51852e544438b87024fbb686d275b"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Injective_Peggy_V1_QueryClientInterceptorFactoryProtocol (21 requirements): \u0060Injective_Peggy_V1_QueryClientInterceptorFactoryProtocol\u0060 declares 21 requirements: \u0060makeParamsInterceptors\u0060, \u0060makeCurrentValsetInterceptors\u0060, \u0060makeValsetRequestInterceptors\u0060, \u0060makeValsetConfirmInterceptors\u0060, \u0060makeValsetConfirmsByNonceInterceptors\u0060, \u0060makeLastValsetRequestsInterceptors\u0060, \u0060makeLastPendingValsetRequestByAddrInterceptors\u0060, \u0060makeLastEventByAddrInterceptors\u0060, \u0060makeGetPendingSendToEthInterceptors\u0060, \u0060makeBatchFeesInterceptors\u0060, \u0060makeOutgoingTxBatchesInterceptors\u0060, \u0060makeLastPendingBatchRequestByAddrInterceptors\u0060, \u0060makeBatchRequestByNonceInterceptors\u0060, \u0060makeBatchConfirmsInterceptors\u0060, \u0060makeERC20ToDenomInterceptors\u0060, \u0060makeDenomToERC20Interceptors\u0060, \u0060makeGetDelegateKeyByValidatorInterceptors\u0060, \u0060makeGetDelegateKeyByEthInterceptors\u0060, \u0060makeGetDelegateKeyByOrchestratorInterceptors\u0060, \u0060makePeggyModuleStateInterceptors\u0060, \u0060makeMissingPeggoNoncesInterceptors\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Injective/injective_peggy_v1_query.grpc.swift"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"349b42c647d299e877f211ab53c0406c1d10c14dfc1dde67345a87673d64582f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Injective_Peggy_V1_QueryProvider (21 requirements): \u0060Injective_Peggy_V1_QueryProvider\u0060 declares 21 requirements: \u0060params\u0060, \u0060currentValset\u0060, \u0060valsetRequest\u0060, \u0060valsetConfirm\u0060, \u0060valsetConfirmsByNonce\u0060, \u0060lastValsetRequests\u0060, \u0060lastPendingValsetRequestByAddr\u0060, \u0060lastEventByAddr\u0060, \u0060getPendingSendToEth\u0060, \u0060batchFees\u0060, \u0060outgoingTxBatches\u0060, \u0060lastPendingBatchRequestByAddr\u0060, \u0060batchRequestByNonce\u0060, \u0060batchConfirms\u0060, \u0060eRC20ToDenom\u0060, \u0060denomToERC20\u0060, \u0060getDelegateKeyByValidator\u0060, \u0060getDelegateKeyByEth\u0060, \u0060getDelegateKeyByOrchestrator\u0060, \u0060peggyModuleState\u0060, \u0060missingPeggoNonces\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Injective/injective_peggy_v1_query.grpc.swift"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"35770e7c08b432b1d427c9eabd96a51f3ab96cf05af6914397a55ae5065c2295"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Injective_Peggy_V1_QueryAsyncProvider (21 requirements): \u0060Injective_Peggy_V1_QueryAsyncProvider\u0060 declares 21 requirements: \u0060params\u0060, \u0060currentValset\u0060, \u0060valsetRequest\u0060, \u0060valsetConfirm\u0060, \u0060valsetConfirmsByNonce\u0060, \u0060lastValsetRequests\u0060, \u0060lastPendingValsetRequestByAddr\u0060, \u0060lastEventByAddr\u0060, \u0060getPendingSendToEth\u0060, \u0060batchFees\u0060, \u0060outgoingTxBatches\u0060, \u0060lastPendingBatchRequestByAddr\u0060, \u0060batchRequestByNonce\u0060, \u0060batchConfirms\u0060, \u0060eRC20ToDenom\u0060, \u0060denomToERC20\u0060, \u0060getDelegateKeyByValidator\u0060, \u0060getDelegateKeyByEth\u0060, \u0060getDelegateKeyByOrchestrator\u0060, \u0060peggyModuleState\u0060, \u0060missingPeggoNonces\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Injective/injective_peggy_v1_query.grpc.swift"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"c723d4ecd00fc73d884ca083e0cd273963fae4dcb1580e8b6046187311ca19bf"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Injective_Peggy_V1_QueryServerInterceptorFactoryProtocol (21 requirements): \u0060Injective_Peggy_V1_QueryServerInterceptorFactoryProtocol\u0060 declares 21 requirements: \u0060makeParamsInterceptors\u0060, \u0060makeCurrentValsetInterceptors\u0060, \u0060makeValsetRequestInterceptors\u0060, \u0060makeValsetConfirmInterceptors\u0060, \u0060makeValsetConfirmsByNonceInterceptors\u0060, \u0060makeLastValsetRequestsInterceptors\u0060, \u0060makeLastPendingValsetRequestByAddrInterceptors\u0060, \u0060makeLastEventByAddrInterceptors\u0060, \u0060makeGetPendingSendToEthInterceptors\u0060, \u0060makeBatchFeesInterceptors\u0060, \u0060makeOutgoingTxBatchesInterceptors\u0060, \u0060makeLastPendingBatchRequestByAddrInterceptors\u0060, \u0060makeBatchRequestByNonceInterceptors\u0060, \u0060makeBatchConfirmsInterceptors\u0060, \u0060makeERC20ToDenomInterceptors\u0060, \u0060makeDenomToERC20Interceptors\u0060, \u0060makeGetDelegateKeyByValidatorInterceptors\u0060, \u0060makeGetDelegateKeyByEthInterceptors\u0060, \u0060makeGetDelegateKeyByOrchestratorInterceptors\u0060, \u0060makePeggyModuleStateInterceptors\u0060, \u0060makeMissingPeggoNoncesInterceptors\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Injective/injective_peggy_v1_query.grpc.swift"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a479632249093bee5dcbee0f71f2f0f20c915c10a3ea9a28aacc391e51f15e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Tendermint_Abci_ABCIClientInterceptorFactoryProtocol (16 requirements): \u0060Tendermint_Abci_ABCIClientInterceptorFactoryProtocol\u0060 declares 16 requirements: \u0060makeEchoInterceptors\u0060, \u0060makeFlushInterceptors\u0060, \u0060makeInfoInterceptors\u0060, \u0060makeCheckTxInterceptors\u0060, \u0060makeQueryInterceptors\u0060, \u0060makeCommitInterceptors\u0060, \u0060makeInitChainInterceptors\u0060, \u0060makeListSnapshotsInterceptors\u0060, \u0060makeOfferSnapshotInterceptors\u0060, \u0060makeLoadSnapshotChunkInterceptors\u0060, \u0060makeApplySnapshotChunkInterceptors\u0060, \u0060makePrepareProposalInterceptors\u0060, \u0060makeProcessProposalInterceptors\u0060, \u0060makeExtendVoteInterceptors\u0060, \u0060makeVerifyVoteExtensionInterceptors\u0060, \u0060makeFinalizeBlockInterceptors\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Tendermint/tendermint_abci_types.grpc.swift"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fbc0b9a3d5e7a4fbad88ed5f437086dfb2b75ca067de150ada386235116c63"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Tendermint_Abci_ABCIProvider (16 requirements): \u0060Tendermint_Abci_ABCIProvider\u0060 declares 16 requirements: \u0060echo\u0060, \u0060flush\u0060, \u0060info\u0060, \u0060checkTx\u0060, \u0060query\u0060, \u0060commit\u0060, \u0060initChain\u0060, \u0060listSnapshots\u0060, \u0060offerSnapshot\u0060, \u0060loadSnapshotChunk\u0060, \u0060applySnapshotChunk\u0060, \u0060prepareProposal\u0060, \u0060processProposal\u0060, \u0060extendVote\u0060, \u0060verifyVoteExtension\u0060, \u0060finalizeBlock\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Tendermint/tendermint_abci_types.grpc.swift"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"932cfabb84720901d3d1fcd95407fce029745640784edc04cf42720080e61525"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Tendermint_Abci_ABCIAsyncProvider (16 requirements): \u0060Tendermint_Abci_ABCIAsyncProvider\u0060 declares 16 requirements: \u0060echo\u0060, \u0060flush\u0060, \u0060info\u0060, \u0060checkTx\u0060, \u0060query\u0060, \u0060commit\u0060, \u0060initChain\u0060, \u0060listSnapshots\u0060, \u0060offerSnapshot\u0060, \u0060loadSnapshotChunk\u0060, \u0060applySnapshotChunk\u0060, \u0060prepareProposal\u0060, \u0060processProposal\u0060, \u0060extendVote\u0060, \u0060verifyVoteExtension\u0060, \u0060finalizeBlock\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Tendermint/tendermint_abci_types.grpc.swift"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ee0aa477c9ac983d83726e7309cae4e403ecfcee1a492bd0e4ee2803c35987"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Tendermint_Abci_ABCIServerInterceptorFactoryProtocol (16 requirements): \u0060Tendermint_Abci_ABCIServerInterceptorFactoryProtocol\u0060 declares 16 requirements: \u0060makeEchoInterceptors\u0060, \u0060makeFlushInterceptors\u0060, \u0060makeInfoInterceptors\u0060, \u0060makeCheckTxInterceptors\u0060, \u0060makeQueryInterceptors\u0060, \u0060makeCommitInterceptors\u0060, \u0060makeInitChainInterceptors\u0060, \u0060makeListSnapshotsInterceptors\u0060, \u0060makeOfferSnapshotInterceptors\u0060, \u0060makeLoadSnapshotChunkInterceptors\u0060, \u0060makeApplySnapshotChunkInterceptors\u0060, \u0060makePrepareProposalInterceptors\u0060, \u0060makeProcessProposalInterceptors\u0060, \u0060makeExtendVoteInterceptors\u0060, \u0060makeVerifyVoteExtensionInterceptors\u0060, \u0060makeFinalizeBlockInterceptors\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Resource/ProtoBuff/Tendermint/tendermint_abci_types.grpc.swift"},"region":{"startLine":1596}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eafaba890ab7f933c37197b6dc7ce400e1ff34e4df70079a98dfee1704cb5c"}},{"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":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!request \u0026\u0026 self.toVoteList.contains(proposal.id!)\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift, Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"750064bc72aac4cef5bf481d80dcdc2678c3fca85ed4ad73553d98fa43835fb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!title.contains(\u0022airdrop\u0022) \u0026\u0026 !title.containsEmoji()\u0060 appears character-identically in 3 files \u2014 Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift, Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift, Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b4672b411544762e3d8ea28498f90fe6990bf08d9922a2bccc448c5c7729db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!userCustomTokens.contains($0.address!) \u0026\u0026 userCustomTokens.contains($1.address!)\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift, Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b70eb6141e758d8073b7508ad7218a1022e38c16de3745aca50bd2f56ea4db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.bechAddress == refAddress.bechAddress \u0026\u0026 $0.accountId == refAddress.accountId\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Sheet/BaseSheet.swift, Cosmostation/Controller/Sheet/SelectAddressListSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/BaseSheet.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ef6378cb53a5f9de838587d80fc7886247eb00c613e5297b8117a33d62f9c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.isTestnet == false \u0026\u0026 $0.supportCosmos \u0026\u0026 !($0 is ChainNeutron)\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/AllChainClaimStartVC.swift, Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"40721b356cfc2c71ae2f5110180fdb995d876004d0db5ed8216a9dd4d272f8c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.state.uppercased() == \u0022TIMELOCK_UNBONDING\u0022 || $0.state.uppercased() == \u0022EARLY_UNBONDING\u0022\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift, Cosmostation/Fetcher/BabylonBTCFetcher.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Bitcoin/BtcStakingInfoVC.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3942ed5259533d8a3aa3dcbe39f4a6a96c937d40fd3b0f1a314946d9406a74c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.wallet_preload == false \u0026\u0026 $1.wallet_preload == true\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift, Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e949116bbf14468b8ba56465bf32f7e02124718b96233ae32a6691b34acdaf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.wallet_preload == true \u0026\u0026 $1.wallet_preload == false\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift, Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"550d24d3dad95a926f242844005a805e4492fd785b1c60b6b03e85bc1637232b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0[\u0022is_default\u0022].boolValue \u0026\u0026 !$1[\u0022is_default\u0022].boolValue\u0060 appears character-identically in 3 files \u2014 Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift, Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift, Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"531e271a20b60a2f4b4165a8199b68f6176d11ab9c7e1d2a2ef307edfad94fb3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060($0.getAmount() != NSDecimalNumber.zero) \u0026\u0026 ($1.getAmount() == NSDecimalNumber.zero)\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift, Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0a4fa92e7765018d658512e838640cbf107d145bae49051232d49cb4f1f9d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060($0.getAmount() == NSDecimalNumber.zero) \u0026\u0026 ($1.getAmount() != NSDecimalNumber.zero)\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift, Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"352a88f5ba186fe32e462f949020c76b1ec705e0a43c584cd4aecb1da07ee1eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(method == \u0022iota_signAndExecuteTransactionBlock\u0022) || (method == \u0022iota_signAndExecuteTransaction\u0022)\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/DappDetailVC.swift, Cosmostation/Controller/Sheet/DappSuiSignRequestSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e2801e4c005294af34518ec297f220306f3e61decbde5ee85fd2845b42b181"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(method == \u0022iota_signMessage\u0022) || (method == \u0022iota_signPersonalMessage\u0022)\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/DappDetailVC.swift, Cosmostation/Controller/Sheet/DappSuiSignRequestSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45596056439e98bf8d484e073e2a9b3caae08dea4389637fccf1ffd8af1400d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060BaseData.instance.showEvenReview() \u0026\u0026 selectedChain.isSupportMobileDapp()\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift, Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/EvmClass/EvmClassVC.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8178f563f89f6391b3abafcaf62984b3f3755dcac72789503a44ab02c9fb9be0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chain.isSupportMultiCall() \u0026\u0026 !chain.evmMultiCallAddress().isEmpty\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Sheet/SheetCell/SelectDisplayTokenCell.swift, Cosmostation/Fetcher/EvmFetcher.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SheetCell/SelectDisplayTokenCell.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d89655747e997be89f993dc12d441824f29487096a57850b47350b08039e673"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dpTags.contains($0.tag) == true \u0026\u0026 dpTags.contains($1.tag) == false\u0060 appears character-identically in 2 files \u2014 Cosmostation/Base/BaseAccount.swift, Cosmostation/Controller/Main/ChainSelectVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Base/BaseAccount.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f642132cda81d7d09cd03179ddda63c3c59992bad02d0deeff1da2c40af167"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ecosystemList == nil || ecosystemList?.count == 0\u0060 appears character-identically in 3 files \u2014 Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift, Cosmostation/Controller/Main/EvmClass/EvmEcosystemVC.swift, Cosmostation/Controller/Main/MajorClass/MajorEcosystemVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosEcosystemVC.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"226a88199631828575149c7343ab9919fbac89023bd36f4dc2590b9fc5d228d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inputAmount != NSDecimalNumber.zero \u0026\u0026 (availableAmount.compare(inputAmount).rawValue \u003E= 0)\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Sheet/TxAmountSheet.swift, Cosmostation/Controller/Sheet/TxSendAmountSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/TxAmountSheet.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86dd2716a870d5856c96aeed4d6abc031ab626d25467051bd4c63a7b5c1a8af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inputAmount == NSDecimalNumber.zero || (availableAmount.compare(inputAmount).rawValue \u003C 0)\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift, Cosmostation/Controller/Main/SwapStartVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2038ecc45c1fda171a236ebe720f59ca4895548917faa563aae1a107f44b03c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060method == \u0022eth_signTypedData_v4\u0022 || method == \u0022eth_signTypedData_v3\u0022\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/DappDetailVC.swift, Cosmostation/Controller/Sheet/DappEvmSignRequestSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"98382e1f32181d0006d28d8bc7cb1d8f406cdf01c8ff6d0139e9dee25c9e2cfc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060method == \u0022iota_signTransactionBlock\u0022 || method == \u0022iota_signTransaction\u0022\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/DappDetailVC.swift, Cosmostation/Controller/Sheet/DappSuiSignRequestSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbac1a6eb0d09c31c721d1cdb3b6ca93e5c309b355823dde69a8dfe9dd5eed0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060method == \u0022solana_signTransaction\u0022 || method == \u0022solana_signAllTransactions\u0022\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/DappDetailVC.swift, Cosmostation/Controller/Sheet/DappSolanaSignRequestSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/DappDetailVC.swift"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf9a150aa1c71ed013b0f71f9381458ce119d397f4eb1f7ef3d2d0001a6155b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060request \u0026\u0026 !self.toVoteList.contains(proposal.id!)\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift, Cosmostation/Controller/Main/CosmosClass/CosmosProposalsVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosOnChainProposalsVC.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6368b5cce6de7b8f87bb86551ab4f27a9805368cb05eddfddacf4ade3f43b88c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060request == .ForDataCheck \u0026\u0026 result == .success\u0060 appears character-identically in 3 files \u2014 Cosmostation/Controller/Main/AllChainClaimStartVC.swift, Cosmostation/Controller/Main/AllChainCompoundingStartVC.swift, Cosmostation/Controller/Main/AllChainVoteStartVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/AllChainClaimStartVC.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2536d5cd3db4c887c13571ffb0ec2d20216e37ae106c629c460ffb70e5dc3df2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060section == 0 \u0026\u0026 searchMainnets.count == 0\u0060 appears character-identically in 4 files \u2014 Cosmostation/Controller/Main/ChainSelectVC.swift, Cosmostation/Controller/Main/PortfolioVC.swift, Cosmostation/Controller/Setting/ChainListVC.swift, Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0896e2e453440276d2ff74185222c48be1424f93bd69e69e8fb9ff80dc2009"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060section == 1 \u0026\u0026 searchTestnets.count == 0\u0060 appears character-identically in 4 files \u2014 Cosmostation/Controller/Main/ChainSelectVC.swift, Cosmostation/Controller/Main/PortfolioVC.swift, Cosmostation/Controller/Setting/ChainListVC.swift, Cosmostation/Controller/Setting/CheckPrivateKeysVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/ChainSelectVC.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"497c03e5a97a39982230fc87d3f6491d3595cc966df5fb79ba3a779ae8061174"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedChain != nil \u0026\u0026 selectedChain.tag == tag\u0060 appears character-identically in 6 files \u2014 Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift, Cosmostation/Controller/Main/CosmosClass/CosmosNftVC.swift, Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift, Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"af318d3292ddf1052ce0ddca4858ecf15556e27dca461dd037198271b7ba54e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedChain is ChainBitCoin44 || selectedChain is ChainBitCoin49\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift, Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorClassVC.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"033cce43fadeab9c122f45e79e9983da85788f056d1e5a52b63b6209c4a6d93e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedChain is ChainSui || selectedChain is ChainIota\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift, Cosmostation/Controller/Main/MajorClass/MajorHistoryVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/MajorCryptoVC.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"341575b2c156fda3e070400ae489901eb5e338bfd4a6292c855179e3476464f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedChain.isSupportCw20() \u0026\u0026 selectedChain.isSupportErc20()\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift, Cosmostation/Controller/Sheet/SelectDisplayTokenListSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"867fb6eced8bccc67540f177a7f2b3c0f5f5cca06797c52e9d2b43030f2d4ead"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sendAssetType == .COSMOS_COIN || sendAssetType == .GNO_COIN\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/GenTx/CommonTransfer.swift, Cosmostation/Controller/Sheet/TxSendAmountSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1aff59cd89845a0e1606d3a526f0f8e93d160026f7744f30caa61da52091ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sendAssetType == .COSMOS_WASM || sendAssetType == .EVM_ERC20 || sendAssetType == .GNO_GRC20 || sendAssetType == .SOLANA_SPL\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/GenTx/CommonTransfer.swift, Cosmostation/Controller/Sheet/TxSendAmountSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"453d727e96f07aa8d20b0361dd7fccbe2d4e48fba1b163c634e008c83cfd03ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sendType == .EVM_ERC20 \u0026\u0026 fromChain.tag != toChain.tag\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Sheet/SelectAddressListSheet.swift, Cosmostation/Controller/Sheet/TxSendAddressSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"787b69a873cc07b1b08078c4f086f98492e104f977199ba6a8ea7909d48a507b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sendType == .EVM_ERC20 \u0026\u0026 fromChain.tag == toChain.tag\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Sheet/SelectAddressListSheet.swift, Cosmostation/Controller/Sheet/TxSendAddressSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a12262757cd8dffbf69eb0dfb3ade19dceddf161a5ac491817988f70c62433"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sheetType == .SelectDelegatedAction || sheetType == .SelectInitiaDelegatedAction\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift, Cosmostation/Controller/Main/CosmosClass/CosmosStakingInfoVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/BabylonStakingInfoVC.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fef0bee7a97706b10581cee695fdb9f86e40ed52e7a733bd85c7a45d670b60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toChain is ChainBitCoin86 || toChain is ChainBitCoin86_T\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Sheet/SelectAddressListSheet.swift, Cosmostation/Controller/Sheet/TxSendAddressSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5208e8ddf8279c3755079894784a026508dfaed595b5e277cd50daf0e68e9cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toChain.supportEvm == false \u0026\u0026 toChain.supportCosmos == true\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Sheet/SelectAddressListSheet.swift, Cosmostation/Controller/Sheet/TxSendAddressSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f56107ac3d1e6109881179b1f66d85177b8582b60b299e823ff04979bc8945"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toChain.supportEvm == true \u0026\u0026 toChain.supportCosmos == false\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Sheet/SelectAddressListSheet.swift, Cosmostation/Controller/Sheet/TxSendAddressSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fee415091c89173c4c72a629fa09e4923e247042a1eeb12f95b1effbea59b2d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toChain.supportEvm == true \u0026\u0026 toChain.supportCosmos == true\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Sheet/SelectAddressListSheet.swift, Cosmostation/Controller/Sheet/TxSendAddressSheet.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Sheet/SelectAddressListSheet.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16866a986353cd464c0cf1969232145787fba53ade435f5469b453696676cef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060txStyle == .SOLANA_STYLE || txStyle == .SPL_STYLE\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/GenTx/CommonTransfer.swift, Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5234a6590d3fa424df7ea6b4a06fe7295e1ffea27bf10afb84ea81e2bda0e2bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060txStyle == .SUI_STYLE || txStyle == .IOTA_STYLE\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift, Cosmostation/Controller/Main/GenTx/NftTransfer.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransferResult.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b9ab2f841249feabdc8921106a9ba7d12a20502bf00c4ba72dd36134846464"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userCustomTokens.contains($0.address!) \u0026\u0026 !userCustomTokens.contains($1.address!)\u0060 appears character-identically in 2 files \u2014 Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift, Cosmostation/Controller/Main/EvmClass/EvmAssetVC.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/CosmosCryptoVC.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9450e5373e9b8eb0393ed89a7f9c60f4189f898ed5e42b3ebb5fe84f8053fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060votingPeriods.count == 0 \u0026\u0026 etcPeriods.count == 0\u0060 appears character-identically in 3 files \u2014 Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift, Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronOverruleDao.swift, Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronSingleDao.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/Neutron/NeutronMultiDao.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3d57f7c5cb93237569f52388586b82f95bcfe006beb4455ee030021ae55c3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/AptosFetcher.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a2181d45798216753353536c121e8c84c5d23969434152340ed685dd0e1f4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/BabylonFetcher.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a22f872a105a31fa8c08dffddea22eca2c0a1668c141408aa9eb1e862b90c00"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Fetcher/OktFetcher.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8829c836d48c70986af1e1199a5480a8cbd212fdfb0c87308c425e55948476"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"459f02d90b4f07ae2fa693033acc94df18fdbb698869b24557b48f4822757065"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/SwapStartVC.swift"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"637b4d2d06e426e173ecdc6bcfd49d7e6bef018dbb92f065d08189ade4250247"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Sui/SuiStake.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfc39c37e28b1397a1f0ffd1c12bb07d9123c52643904a4425e239a092168ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Sui/SuiUnstake.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5076edf1d939464f91399ec1c240d929146ab1672efa2982a8c32686dd72aee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaStake.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7c2486247d20345171f597120f62e042127c552164156cc584825c08710b4e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/MajorClass/Iota/IotaUnstake.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c920dc7184d51d45f581ffdeee2ad7582b77debf174aa1f11e8a820d7dc7c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"add3cf14bc535115451c612738cedce0442a483210821bfaeab523078d796404"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3106abf495138f58554e7ae5a3be7cfe0db844bb8ef15073f4a4cb37edf778"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ae88a9309d0358e9941ad6bbc1fb01bb247485129df8f01fce10bb3f949952"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08dbf133b19c4c0831f5ad537271e42893e53503b9a0c843af082ff774a803d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"477c9998d271d0172573281e44bc88286bebd60b9a535bc4235b556ec0736738"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ce67b2b45f0d2aaf363680e8903d6734374b1c387e241c05593f39292966bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f31f0400475d992cb463215f9a77fb2f82ed10aca241d62bd166840097e229"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fc248d8041968ed134c3e3cdd2cba87b1930419e894273a1050fa2824296e1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/CommonTransfer.swift"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6356044cb838807dfc422aa19c0add3138917723b1a1d1725bd741f6538ab8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/NftTransfer.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"593072b88d3107cf6da0a02c9399966848edf62585da5acb475cfa14e5cd1873"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/NftTransfer.swift"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63ba1a5aa5fab433074689f24d8019eeaa862f4dab7bea17d1c952dd27f8642"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/GenTx/NftTransfer.swift"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"e247e5e8b666c2bfa100451e9596d226892a54bdc472aae22cae1492d7ecf7d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/BabylonClaimRewards.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f315fbcdb8903afcb155bb8f6c9a2e29fa8027b930a331f31acfca114416fc2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCancelUnbonding.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4bbe0a9520176d7f5cc2b159562a08fdedd6333cdfb5ac7c9a281d93631e46"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimCommission.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3a312a50aeafe688093b192dbf05da5252939cf32cf71e9b7064ef703414c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosClaimRewards.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2913fc51c78b1d7ee0e4acfa2eec8e90633522f5cecd35fe194c7a73466ca5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosCompounding.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c211a53bd4acbc75d5ddb80f4ff922fb412bafa22d017ba5a65ad425e79956"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosDelegate.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7bd1b6e8a3a4a1f03af369ca0ab930af9c39b6f3517bcf22059e645c22b1ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRedelegate.swift"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbed3176d4f899c82fa57bc4cd2bab0fda41938c08201eb2509066c702da82df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosRewardAddress.swift"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"7279b49c1566cf8fd2b794d697c6ff4202d0439dc0876e189c668e2a1b612986"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosUndelegate.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"22840fd391c484140bb59a9caafb293cabb40ab6de080e0462db335c588a30ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/CosmosVote.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1bce07492b63447c3047bb95493fffe63806189dd8ef5903c9a7c2794b6d5c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/NeutronCompounding.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a7bd6a82463ce2aa0e948593705caad7a974e38503a1264ca2ac38354f49af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVault.swift"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"df02c9a66873d1ab626c550401057a76ca4a83dc91666d6b14377adbe1e85829"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Neutron/NeutronVote.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c4017c4d8a28a436fc1351ae808fd6294551fb2866d502ee68eb045ce908d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaClaimIncentives.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b202698f17d9af9d2633b37cfed766c9a90bf39698f70f7c29c03debeaaf1f50"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnDepositAction.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c0ac85634783028c78aa062663a59f3f4fb86780a82f415577b2702d60406e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaEarnWithdrawAction.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b181fbc6c18dd280f01520af5e791486e021d3c9054bfc8ebc866588174e7f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaLendAction.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e72cfdea874fa053107d0e544ddffea138d048e1e93e890dd9c2ff1327cac19"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintAction.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca38bd25ed0c157f26d90c6cfaf5daf7b7d57a16dcb5c162fd3790082ee526f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaMintCreateAction.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc79694ede9738a9bee3aced0feae1b69c28a3a16f6914553418e0708d74879b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Kava/KavaSwapAction.swift"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83ad6b1a37c7430c5d404a4fc4db59352c2776120cb3bb59faeb262f30348d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Controller/Main/CosmosClass/GenTx/Atomone/AtomoneMintVC.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e67c59fcaf24e4200e118076e0d78f8630da5ea5e337ddcae99ce4c70f284d"}},{"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 Swift code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/MintscanProposal.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf1c3fbfcd1429d40cd53ef9230ef723bb6cb27a444d47670ebfad6f1f6a7d4"}},{"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 Swift code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cosmostation/Model/MintscanProposal.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea6e14bf28a25cc2fe04c060ad740918cda22875b65bdff44437bbefc7271fd"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"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":23,"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."]}]}