{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"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":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"PangleFlutterPlugin.onMethodCall (cyclomatic 35): PangleFlutterPlugin.onMethodCall has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0c8fd4f6426bcbec23ee0cc936d4e4063e48009bbccbffbc4fdd557de23cc4"}},{"ruleId":"D1","level":"warning","message":{"text":"SwiftPangleFlutterPlugin.handle (cyclomatic 29): SwiftPangleFlutterPlugin.handle has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b2ae5977fbb7e3acf39a502ed5b9f105b9532fc705e87bcfc70013f62f0e88"}},{"ruleId":"D2","level":"warning","message":{"text":"PangleFlutterPlugin.onMethodCall (cognitive 36): PangleFlutterPlugin.onMethodCall has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8eb1b641bc89db874e9b04c40f2988143c98b6fb5d77fa5965647cca2c0292"}},{"ruleId":"D2","level":"warning","message":{"text":"SwiftPangleFlutterPlugin.handle (cognitive 22): SwiftPangleFlutterPlugin.handle has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b2167043034847efa277d9014057d92ef481d6868c0e689b61863768c1c8b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PangleFlutterPlugin.onMethodCall: MethodTooLong \u2014 onMethodCall runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2b24ba793077847f8efc10b3f9ea508004a3d02a2f2ca3b4a3148ac0474281"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift:85-95 | ios/pangle_flutter/Sources/pangle_flutter/FLTDrawView.swift:53-63 | ios/pangle_flutter/Sources/pangle_flutter/FLTFeedView.swift:66-77 | ios/pangle_flutter/Sources/pangle_flutter/FLTSplashView.swift:124-135 \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":"ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46800a4fbf8b3bf7984a4e69d448f4ee9b2e403b7e903b6425831075d4187fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift:314-354 | ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift:378-415 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"f611fa32e7fd4626840f6d3a5201e789493864e7c132346d6551a1c7695eb6ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:373-398 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:402-420 \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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c04c5390a5615e31f3b3732334682e6ac4bfa7877f171b749f453867e16b729"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/task/FLTFullscreenVideoExpressAdTask.swift:25-46 | ios/pangle_flutter/Sources/pangle_flutter/task/FLTRewardedVideoExpressAdTask.swift:41-62 | ios/pangle_flutter/Sources/pangle_flutter/task/FLTSplashAdTask.swift:42-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 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/pangle_flutter/Sources/pangle_flutter/task/FLTFullscreenVideoExpressAdTask.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"77aabc1cf9667c0cf7ab2bf4e213e652fe3dce49c72bcdf3160011f7757c2e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 25\u002B corresponding lines): lib/src/view/banner/bannerview_method_channel.dart:41-68 | lib/src/view/draw/drawview_method_channel.dart:15-39 | lib/src/view/feed/feedview_method_channel.dart:41-67 | lib/src/view/splash/splashview_method_channel.dart:42-71 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/view/banner/bannerview_method_channel.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bddd49f57907f27c945b69ca4fdf95094f09eefa2494677667b74aaaf21f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift:121-139 | ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift:219-238 \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":"ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97d1e6471853e95963d09f4383207b64bcd7cbb1f02db8cd31e51d474f4ea1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): lib/src/view/banner/bannerview_android.dart:35-73 | lib/src/view/draw/drawview_android.dart:13-38 | lib/src/view/feed/feedview_android.dart:35-72 | lib/src/view/splash/splashview_android.dart:35-73 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/view/banner/bannerview_android.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8986f1834e976940711578ca74e58212644254a8044c4156a19135a56b0f742b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/FlutterDrawView.kt:50-70 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/FlutterFeedView.kt:54-77 \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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/FlutterDrawView.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a968eec44ec1196ac17bae20b700719218dd9e9bb46d4c114d45d7ee2ee83e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdManager.kt:148-172 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdManager.kt:198-224 \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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdManager.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4ab43a6a2f2784407a5a797b27bfdf0d5e85b985f0306070303b8ef247b253"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/FLTDrawView.swift:65-79 | ios/pangle_flutter/Sources/pangle_flutter/FLTFeedView.swift:79-97 \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":"ios/pangle_flutter/Sources/pangle_flutter/FLTDrawView.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9adaee200c41990ba8b7ca6a06aeab7d99272b1f9686c24486f6a3a75889da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/src/ad/fullscreen_ad_pool.dart:145-157 | lib/src/ad/rewarded_ad_pool.dart:157-170 \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":"lib/src/ad/fullscreen_ad_pool.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1da5dd0d2d96f1403643151fb981cd1ea0b85d58731a00685475984559ade1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTFullScreenVideoAd.kt:29-45 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTRewardedVideoAd.kt:28-45 \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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTFullScreenVideoAd.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b32ab819829611049aff582bd2a87864c9cc585ffd2596fe18c3750714a66d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): lib/src/view/banner/bannerview_ios.dart:34-60 | lib/src/view/draw/drawview_ios.dart:12-31 | lib/src/view/feed/feedview_ios.dart:34-59 | lib/src/view/splash/splashview_ios.dart:34-59 \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":"lib/src/view/banner/bannerview_ios.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26f39eb198499817a22e26f227f3d7bd3768d52479e225bbbdcce51b6914dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/src/ad/fullscreen_ad_pool.dart:159-171 | lib/src/ad/rewarded_ad_pool.dart:172-184 \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":"lib/src/ad/fullscreen_ad_pool.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9301ec38008846c09a5ff35783907b38f2d27375d633546a549eba148e9c5ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/delegate/FLTFullscreenVideoExpressAd.swift:29-43 | ios/pangle_flutter/Sources/pangle_flutter/delegate/FLTRewardedVideoExpressAd.swift:31-44 \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":"ios/pangle_flutter/Sources/pangle_flutter/delegate/FLTFullscreenVideoExpressAd.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4962a995851ea956ed1c49f66db25e9454cc53d41ee007596130c57bbc96f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdManager.kt:392-408 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdManager.kt:438-452 \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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdManager.kt"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25aadcb66ec8fbea021689942f71ec216b26105a461b48672fb3c9468cd011d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): android/src/main/kotlin/io/github/nullptrx/pangleflutter/util/ScreenUtil.kt:176-189 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/util/ScreenUtil.kt:200-213 \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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/util/ScreenUtil.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a61c73931e7eaaac54889f053007f4f8a39d26633179cc712e1ca9a16948e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 6\u002B corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift:17-22 | ios/pangle_flutter/Sources/pangle_flutter/FLTDrawView.swift:14-19 | ios/pangle_flutter/Sources/pangle_flutter/FLTEcMallView.swift:12-17 | ios/pangle_flutter/Sources/pangle_flutter/FLTFeedView.swift:16-21 | ios/pangle_flutter/Sources/pangle_flutter/FLTSplashView.swift:16-29 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"12455645cd81e05f01869f3c1a3653149c4d89c319835b974cee378905c4dc32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/FLTFeedView.swift:99-107 | ios/pangle_flutter/Sources/pangle_flutter/delegate/FLTNativeExpressAd.swift:73-81 \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":"ios/pangle_flutter/Sources/pangle_flutter/FLTFeedView.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f86f5625855f6692376915f4692e8c197906156ff7419f4054872b2ccbd1b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift:141-148 | ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift:240-247 \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":"ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe190300efae608090e705e18cfede35d89b6d547b49b53ad199397a6057091"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/config_android.dart:146-162 | lib/src/config_android.dart:278-289 \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":"lib/src/config_android.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55a2d75e832792074c8441cd97b5f465ca814024b51fee7f3d98c226f82724f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift:295-302 | ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift:359-366 \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":"ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"8564eb9df28c440b0f99ab3a9205fe6713b9290eb1c0a953a42829ab8c1771e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTRewardedVideoAd.kt:59-69 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTRewardedVideoAd.kt:125-137 \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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTRewardedVideoAd.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a62ec3b7e7c182f6e035257dd7922f0679a265865804e727b2312c1ec93ec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdSlotManager.kt:85-100 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdSlotManager.kt:119-134 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdSlotManager.kt:150-165 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdSlotManager.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fd8459a1633f226f2c660be54ba84a0e69348f5d999fa631bbc495d37e6581"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 3\u002B corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/BannerViewFactory.swift:22-24 | ios/pangle_flutter/Sources/pangle_flutter/DrawViewFactory.swift:19-26 | ios/pangle_flutter/Sources/pangle_flutter/EcMallViewFactory.swift:20-22 | ios/pangle_flutter/Sources/pangle_flutter/FeedViewFactory.swift:21-23 | ios/pangle_flutter/Sources/pangle_flutter/SplashViewFactory.swift:22-24 \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":"ios/pangle_flutter/Sources/pangle_flutter/BannerViewFactory.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0b52ba974a5deb741fb5ffaf4e3297648488355ed407191ebc3aa1bf72733f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift:37-40 | ios/pangle_flutter/Sources/pangle_flutter/FLTEcMallView.swift:102-108 \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":"ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cae4e15d1a6dc4569691fa7a259205102931b66f327317ba9ef600c820855f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/BannerViewFactory.kt:17-21 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/EcMallViewFactory.kt:16-21 \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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/BannerViewFactory.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6d60c4a47afe1515f2f658a5c7bfcdae85dc4012c25abf6d3dbb22a9a9a4ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/FLTEcMallView.swift:116-123 | ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift:47-49 \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":"ios/pangle_flutter/Sources/pangle_flutter/FLTEcMallView.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e213150e9518371ecf05237318b9d832448162439965eb845031c83309f616"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTBannerExpressAd.kt:14-21 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTFeedExpressAd.kt:16-23 \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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTBannerExpressAd.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"802201d3e9f17f4c776e903a51894c4f3dd55b0d2934ccd2245deb151a69bef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/src/config_android.dart:207-216 | lib/src/config_ios.dart:141-150 \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":"lib/src/config_android.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"7993f99a6337adc338b5a27319549df01d392f0bfe4d7688c3f927df4ce8ab48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/src/config_android.dart:84-95 | lib/src/config_ios.dart:42-50 \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":"lib/src/config_android.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a57ac74ede640e6e9d61ab6ae784cc5d53fd31d6736e5de94e73e1d86b9795"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/DrawViewFactory.kt:17-21 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/FeedViewFactory.kt:17-21 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/SplashViewFactory.kt:13-17 \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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/DrawViewFactory.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a9099b83e963f9e22fa4b963f6df055e65f4ffb93095f4b77165ad6bc4d0ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/config_android.dart:308-316 | lib/src/config_ios.dart:201-208 \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":"lib/src/config_android.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"1285accf0a66232e39a48680e9ac526118cd3e41a9dfa14fb6cbcd0c064ead5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift:63-65 | ios/pangle_flutter/Sources/pangle_flutter/FLTEcMallView.swift:72-76 | ios/pangle_flutter/Sources/pangle_flutter/FLTSplashView.swift:92-94 \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":"ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3358de2b9d7759184e08ec84677362c4cfa6f9ee5f083a61c1d8c783d7d46eb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/src/view/banner/bannerview_method_channel.dart:70-85 | lib/src/view/feed/feedview_method_channel.dart:69-84 | lib/src/view/splash/splashview_method_channel.dart:73-88 \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":"lib/src/view/banner/bannerview_method_channel.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8237986696307cef66602a1aff9f650f8d444c4204e098bf993b41ea0f54df10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/view/banner/bannerview_method_channel.dart:41-50 | lib/src/view/feed/feedview_method_channel.dart:41-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/view/banner/bannerview_method_channel.dart:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"lib/src/view/banner/bannerview_method_channel.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e11e0d0dea0f2252f3c88bb9281a768c3b29b412c7d8844dd794a91e1d9053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/view/bannerview.dart:195-203 | lib/src/view/splashview.dart:176-184 \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":"lib/src/view/bannerview.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc389527b1a95855401eae5926e2b21bb5542a7c35053aec7315f6fc7f546a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTBannerExpressAd.kt:30-48 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTFeedExpressAd.kt:31-49 \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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTBannerExpressAd.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"998fe18be62d1bc4cf95e19ab66fe77a0bae4f6e7a6988fb33654fb5366064d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): android/src/main/kotlin/io/github/nullptrx/pangleflutter/dialog/NativeSplashDialog.kt:47-60 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/dialog/SupportSplashDialog.kt:41-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060DialogFragment\u0060 names \u0060android.app.DialogFragment\u0060 in one and \u0060androidx.fragment.app.DialogFragment\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/dialog/NativeSplashDialog.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a787996b98c3187bccd186982eb1f33b91b55dc2722dd8802639dd975c4e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/FlutterDrawView.kt:51-60 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/FlutterFeedView.kt:55-66 \u2014 before extracting anything, compare \u0060android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/FlutterDrawView.kt\u0060 and \u0060android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/FlutterFeedView.kt\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/FlutterDrawView.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8f4c1de1bca569f0e5ca6e54976e49edc7509e804db15403f8d455cbe36ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTFullScreenVideoAd.kt:109-122 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTNativeExpressAd.kt:18-31 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTFullScreenVideoAd.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70f4c6e6ccaacc7e1c9180c81a25d42f6a083366567f023f0bba97635ca278b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:258-278 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:284-303 \u2014 both copies are in the same file, so extract the block 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 \u0060android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:258\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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74ecff05f1a55993f7b647ec59a923a7894bd077e9859227c39594592e99ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:193-202 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:210-219 \u2014 both copies are in the same file, so extract the block 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 \u0060android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:193\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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"239c75976d792ab1fb2ba66974feba999b0ca2b6b1d23e082046e4591181ba3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:166-172 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:331-337 \u2014 both copies are in the same file, so extract the block 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 \u0060android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:166\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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc2edc3556c4eee72296f4821635347dfd906ca8918bd7a06f8b5ad64b88f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:229-234 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:248-253 | android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt:317-322 \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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8072c61956b1f9e816f0eda11769a901c7b18fa0e26b43879faf879195831a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): ios/pangle_flutter/Sources/pangle_flutter/FLTDrawView.swift:65-75 | ios/pangle_flutter/Sources/pangle_flutter/FLTFeedView.swift:79-90 \u2014 before extracting anything, compare \u0060ios/pangle_flutter/Sources/pangle_flutter/FLTDrawView.swift\u0060 and \u0060ios/pangle_flutter/Sources/pangle_flutter/FLTFeedView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060ios/pangle_flutter/Sources/pangle_flutter/FLTDrawView.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/pangle_flutter/Sources/pangle_flutter/FLTDrawView.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbecfe7bc72c1d148ae04de8169c5732a1a08425d166a6277a66e78dc72b802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.swift:86-97 | ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.swift:99-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.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":"ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"682beaf9b16d307b3e87f640cd8a94b2272cc511a5d1f99437cc0573fcb22abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift:86-95 | ios/pangle_flutter/Sources/pangle_flutter/FLTDrawView.swift:54-63 | ios/pangle_flutter/Sources/pangle_flutter/FLTFeedView.swift:67-77 | ios/pangle_flutter/Sources/pangle_flutter/FLTSplashView.swift:126-135 \u2014 before extracting anything, compare \u0060ios/pangle_flutter/Sources/pangle_flutter/FLTDrawView.swift\u0060 and \u0060ios/pangle_flutter/Sources/pangle_flutter/FLTFeedView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6819c059d260cfc6b175d5c2dff86b04f5837324e3b66b7d7a7775dfe971f518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift:346-354 | ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift:407-415 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift:346\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":"ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e87693e7c3f5dd1e8f702f9b82204ba05e6c87519ba343a56c2bbf3eab5f823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.swift:121-129 | ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.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 \u0060ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.swift:121\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":"ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd03f781a12353989550705db13fe298ab7a99ed04d3d9b7be43a691d0cf358e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift:178-185 | ios/pangle_flutter/Sources/pangle_flutter/task/FLTNativeExpressAdTask.swift:40-46 \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":"ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f06a2ca6c10361f2ce4f5d737fc65e02deb3da749909cc4952f5879588ef56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ios/pangle_flutter/Sources/pangle_flutter/task/FLTDrawExpressAdTask.swift:44-60 | ios/pangle_flutter/Sources/pangle_flutter/task/FLTNativeExpressAdTask.swift:54-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/pangle_flutter/Sources/pangle_flutter/task/FLTDrawExpressAdTask.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"318ab19ed27011322e9a783def599819af597ffa8b7e581186fb44516d755b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/pangle_flutter/Sources/pangle_flutter/task/FLTFullscreenVideoExpressAdTask.swift:33-39 | ios/pangle_flutter/Sources/pangle_flutter/task/FLTRewardedVideoExpressAdTask.swift:49-55 \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 \u0060ios/pangle_flutter/Sources/pangle_flutter/task/FLTFullscreenVideoExpressAdTask.swift:33\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":"ios/pangle_flutter/Sources/pangle_flutter/task/FLTFullscreenVideoExpressAdTask.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5b62c8d7b5732126cc6aaacaef6f06bfc418aeb44d3fce77329ce596a9f80a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift:73-79 | ios/pangle_flutter/Sources/pangle_flutter/FLTDrawView.swift:37-43 | ios/pangle_flutter/Sources/pangle_flutter/FLTFeedView.swift:45-51 \u2014 before extracting anything, compare \u0060ios/pangle_flutter/Sources/pangle_flutter/FLTDrawView.swift\u0060 and \u0060ios/pangle_flutter/Sources/pangle_flutter/FLTFeedView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"ios/pangle_flutter/Sources/pangle_flutter/FLTBannerView.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a5c8c9d44f3545a90417cdbb8a601b2565b1c58d28bb31050fa238ce33442a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/pangle_flutter/Sources/pangle_flutter/delegate/FLTFullscreenVideoExpressAd.swift:62-69 | ios/pangle_flutter/Sources/pangle_flutter/delegate/FLTRewardedVideoExpressAd.swift:58-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":"ios/pangle_flutter/Sources/pangle_flutter/delegate/FLTFullscreenVideoExpressAd.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d0242c354b82103daf39973bc41a2b57132fa4b8fe1334d99ac7564c832849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): example/lib/page/feed/feed_icon_page.dart:74-111 | example/lib/page/feed/feed_page.dart:82-119 | example/lib/page/feed/feed_page.dart:191-228 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 38 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/page/feed/feed_icon_page.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5cbd6d897c2c9b67a03c4ed1a78002db72e7978d387dc77824091bfb14b252"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): example/lib/page/fullscreen/fullscreen_list_page.dart:10-42 | example/lib/page/splash/splash_list_page.dart:11-40 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/page/fullscreen/fullscreen_list_page.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf0dd392e30fa51e126d8e9248170d2383411642e39649a74334b41e0bf0653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): example/lib/page/feed/feed_page.dart:33-65 | example/lib/page/feed/feed_page.dart:142-174 \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":"example/lib/page/feed/feed_page.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c00c7bdc758d979fcf4b604d78cf217959bb54faf13bf748feefe4389398178"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): example/lib/page/draw/draw_list_page.dart:20-47 | example/lib/page/stream/preroll_page.dart:19-40 \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":"example/lib/page/draw/draw_list_page.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1633047a11dc867a9e569eceae9ce1ecf12db64019eabfac4ff35bfa8b60b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): example/lib/page/fullscreen/fullscreen_page.dart:66-88 | example/lib/page/reward/reward_page.dart:71-90 \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":"example/lib/page/fullscreen/fullscreen_page.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de506f10be37d003b9aa2a1be61eaea0c8e201d814e8d376f847fda7de7a3da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): example/lib/page/fullscreen/fullscreen_page.dart:49-64 | example/lib/page/reward/reward_page.dart:51-69 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/page/fullscreen/fullscreen_page.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c3720e0994f5b41a4a0ea0a30e12a653ad3f4bfa6a41989ddb8155f977a82c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): example/lib/page/feed/feed_page.dart:41-65 | example/lib/page/feed/feed_page.dart:150-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/page/feed/feed_page.dart:41\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":"example/lib/page/feed/feed_page.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cac639200e72b02471429137ab850978d7d9850064ee44edcb6f0092a177ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): example/lib/page/fullscreen/fullscreen_page.dart:24-47 | example/lib/page/reward/reward_page.dart:26-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/page/fullscreen/fullscreen_page.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ad2ba5368682dc71ea424c0b8d654025afa7a0385223d4d91b1f7c51dbbbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): example/lib/page/feed/feed_icon_page.dart:25-38 | example/lib/page/feed/feed_page.dart:33-46 | example/lib/page/feed/feed_page.dart:142-155 \u2014 before extracting anything, compare \u0060example/lib/page/feed/feed_icon_page.dart\u0060 and \u0060example/lib/page/feed/feed_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/page/feed/feed_icon_page.dart: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":"example/lib/page/feed/feed_icon_page.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7711388b17231e47c50f63a6b32aaf89ccb3b08205d190599dcae6f60fc55827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): example/lib/page/feed/feed_icon_page.dart:90-111 | example/lib/page/feed/feed_page.dart:98-119 | example/lib/page/feed/feed_page.dart:207-228 \u2014 before extracting anything, compare \u0060example/lib/page/feed/feed_icon_page.dart\u0060 and \u0060example/lib/page/feed/feed_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/page/feed/feed_icon_page.dart: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":"example/lib/page/feed/feed_icon_page.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3c87d9638595b89df5c8d9001933bc26f327b858048fdbaed86ee268fcec2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): example/lib/page/feed/feed_icon_page.dart:59-72 | example/lib/page/feed/feed_page.dart:67-80 \u2014 before extracting anything, compare \u0060example/lib/page/feed/feed_icon_page.dart\u0060 and \u0060example/lib/page/feed/feed_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"example/lib/page/feed/feed_icon_page.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"226aaa4090d51998158d7465cffe31e60655fbb33b30467efb49a63cae09b5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): example/lib/page/fullscreen/fullscreen_list_page.dart:21-32 | example/lib/page/reward/reward_list_page.dart:36-48 | example/lib/page/splash/splash_list_page.dart:23-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/page/fullscreen/fullscreen_list_page.dart:21\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/page/fullscreen/fullscreen_list_page.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2053647066e9543ef470474355f464dd6d2401ed00c39ff4f1807f435d937c04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): example/lib/page/feed/feed_page.dart:96-104 | example/lib/page/feed/feed_page.dart:205-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/page/feed/feed_page.dart:96\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/page/feed/feed_page.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef1c347bf01d9d4433677e74cbe14ac83d155229b5e48f5bbaabeb0883d14b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example/lib/page/draw/draw_list_page.dart:40-47 | example/lib/page/stream/preroll_page.dart:33-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/page/draw/draw_list_page.dart:40\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":"example/lib/page/draw/draw_list_page.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0c16c7a7b92b68a819c184a525303912ece2e25aae1a6085fb06e420f62e2c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _EcMallViewState (LCOM4 5): _EcMallViewState\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":"lib/src/view/ecmallview.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafcd9131689ce9409f2652867a0380891983d703c7328b0d559b7c663eb6748"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FeedViewState (LCOM4 4): FeedViewState\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":"lib/src/view/feedview.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c14ff48d002da49c17def254366d2c46a5b97473a9237e617c9fa2d4074cbb1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt: android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in PangleFlutterPlugin.onMethodCall at line 120. 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-03-01..2026-05-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-01 12:10:58 \u002B08:00\u0027 --until=\u00272026-05-30 12:10:58 \u002B08:00\u0027 --full-history --no-merges -- android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt\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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fb90afe540412e057f454d47669a9c93d11c33a32ee7837109ace56424ab93"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.swift: ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in SwiftPangleFlutterPlugin.handle at line 50. 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-03-01..2026-05-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-01 12:10:58 \u002B08:00\u0027 --until=\u00272026-05-30 12:10:58 \u002B08:00\u0027 --full-history --no-merges -- ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.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":"ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f2bbb11cf367d4da39786002893e2ac41ad25e4ab18d4a63984ddddcb36099"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 7 significant file(s) lose their only recent owner: android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdManager.kt, android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt, ios/pangle_flutter/Sources/pangle_flutter/PangleAdManager.swift, android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdSlotManager.kt, lib/src/config_android.dart, ios/pangle_flutter/Sources/pangle_flutter/SwiftPangleFlutterPlugin.swift, lib/src/config_ios.dart. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"29da3699f4e43d7af6b8c0f8f0331efddd2ab60986d4e08d43ae0c95c6b5f1e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(amirh): remove this when the issues above are fixed. \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":"lib/src/view/splash/splashview_android.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c471ccd01199baafcf469f43dbe594473d56182b03b5807ed1f3780474c5b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(amirh): remove this when the issues above are fixed. \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":"lib/src/view/feed/feedview_android.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"707726329a69b907c78f3e37527b116e0d625c3769ee1c658d4858ae53e2e98c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(amirh): remove this when the issues above are fixed. \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":"lib/src/view/banner/bannerview_android.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41370e1f278430047caf8d01065b67c03e719b7c7504ffde1aec7cab64cc1cf"}},{"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":"a190ffb1cbf7e2ac034b927a5d23742a9c14e7d1b11cfde0db3da4cc6accafe7"},"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":"5799f088c78977b11452ca7ea1d0adf8b81ed010c2f199a2ffaf59f40be59fff"},"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":"6c28c609a06a87aa70c3d9a36cd49193d76b05ce8daddef6b0dd5fc924a90fdb"},"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":"f2969e803a687ad9d0ae7a974932303214acb9fe11bdff1c09085c351c474fc2"},"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":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 53 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (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; 53 of the 111 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: android/src/main/kotlin/io/github/nullptrx/pangleflutter/util/ScreenUtil.kt. 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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/util/ScreenUtil.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a2076dd8d2e0dece45360a35bec6ca97072a1810f8cf8902670190fdb0d86f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PangleAdSlotManager.kt \u2194 PangleFlutterPlugin.kt: \u0060android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdSlotManager.kt\u0060 and \u0060android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleFlutterPlugin.kt\u0060 change together 86% of the time (12 of the 14 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 \u0060aaa09f96\u0060 android(Phase 3): \u65B0\u589E Draw/Stream Android \u539F\u751F\u5B9E\u73B0; \u0060d63b800b\u0060 \u5347\u7EA7android sdk\u52304.2\u002B; \u0060d1241532\u0060 \u65B0\u589E\u5F00\u5C4F\u5E7F\u544A\u6837\u5F0F\u5B9A\u5236 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdSlotManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"420716f73c71975d12c2467df8d7a65a54acb2b13ce4e00923c865fdb4eaba40"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: config_android.dart \u2194 config_ios.dart: \u0060lib/src/config_android.dart\u0060 and \u0060lib/src/config_ios.dart\u0060 change together 62% of the time (15 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) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u0060fce4ee63\u0060 dart(Phase 2): Plugin Dart \u5C42\u65B0\u589E Draw/Stream/FeedIcon \u63A5\u53E3\u53CA\u914D\u7F6E\u7C7B; \u0060d63b800b\u0060 \u5347\u7EA7android sdk\u52304.2\u002B; \u0060fa8a55d0\u0060 \u9002\u914Dandroid 3901, ios 3902\u7248\u672C\u66F4\u65B0\u5185\u5BB9 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/config_android.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ac436e90b1e85eb2cceb986cbb14bcde670cee55e7f6c4833f98f1f8b9aa56"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"ADRs not easily discoverable: 1 ADR-shaped document(s) detected by content \u2014 \u0060FAQ.md\u0060. They are not under a conventional ADR folder (docs/adr/) and are not named NNNN-title.md, and this check found them by their decision signature rather than by where they live \u2014 so a reader who does not already know these paths has no route to them. Detected by content signature only: records kept outside the repository, or written without a Status/Decision/Consequences shape, are not visible to this check and are not counted here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea921cf64dae701abd877090b3279ff10d03c2e3250e26c8c299d7c5665e0d3f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README.md links to \u0060SETUP.md\u0060, but \u0060SETUP.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85864071a30ab325207b0475304e4f6aa1b79c8e2996b50e4173a6d35a328ea"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README_CN.md links to \u0060SETUP.md\u0060, but \u0060SETUP.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README_CN.md"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64c811dd0976221b1ed21be4ed33720e87898f52ee0e87b96dcedb643fce368"}},{"ruleId":"P1","level":"note","message":{"text":"CI build step not evidenced: A CI pipeline exists but no build step was matched \u2014 changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"251015acef1a259fcc13b7c60660cc8917ccb3ae8056cb5165ae03312dd586e8"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060io.github.nullptrx.pangleflutter.delegate\u0060 is marked as implementation by its own namespace, folder or name: \u0060FullScreenVideoAdInteractionImpl\u0060 (android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTFullScreenVideoAd.kt:83, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTFullScreenVideoAd.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce9242a1cd9837835ca761884df2ecd76289440b9092d3de95bf760f197e1ae"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/code_quality.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060android/build.gradle.kts\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/build.gradle.kts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4c7bd31c84a8a7d4e714704585fe15dd2fa7199d215fe298f42d4d08f53c39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060loadingType == PangleLoadingType.preload || loadingType == PangleLoadingType.preload_only\u0060 appears character-identically in 3 files \u2014 android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdManager.kt, android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTFullScreenVideoAd.kt, android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTRewardedVideoAd.kt. 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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdManager.kt"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"92adf3bf48390723f56e87aff35f930cb964927f3618cf4064f5d6f8ba664260"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ttNativeExpressAds == null || ttNativeExpressAds.isEmpty()\u0060 appears character-identically in 3 files \u2014 android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTBannerExpressAd.kt, android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTFeedExpressAd.kt, android/src/main/kotlin/io/github/nullptrx/pangleflutter/view/FlutterBannerView.kt. 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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/delegate/FLTBannerExpressAd.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"127f9c7a0839030f097b34236f3bffc27332a72153382fa9e3d01c73c5ecb45e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.loadingType == .preload || self.loadingType == .preload_only\u0060 appears character-identically in 2 files \u2014 ios/pangle_flutter/Sources/pangle_flutter/delegate/FLTFullscreenVideoExpressAd.swift, ios/pangle_flutter/Sources/pangle_flutter/delegate/FLTRewardedVideoExpressAd.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":"ios/pangle_flutter/Sources/pangle_flutter/delegate/FLTFullscreenVideoExpressAd.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56eda632ed24de5628aea94f4f71831e0ec1189a3064be6458c3fee8c7eee5d"}},{"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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/PangleAdManager.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e0bcd056b3361d44984e51de1411bbaa97699bbeb3c0b5e93ae524df5b2432"}},{"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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/util/ScreenUtil.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"54897a7cb6947a9ea903874689a3a8b203001726c8964892e13b05f2c3126b51"}},{"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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/util/ScreenUtil.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3727b9931d7b0b912c7488aafe88d724e09987ef280735e45756ccc497fc371"}},{"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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/util/ScreenUtil.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3085992f720d74937c143df863e64297469a6d8079a391efa33f089ddff00159"}},{"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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/util/ScreenUtil.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba8dafcf8b3cce81d70c042ad44241f882264e5b7851d90bbec537cec0122c8"}},{"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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/dialog/NativeSplashDialog.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"54289779b5701d37a777fdd6a7aad145720f72c8140a327c59dbc0929cab58e4"}},{"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":"android/src/main/kotlin/io/github/nullptrx/pangleflutter/dialog/SupportSplashDialog.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65a454dd16db7eea59eeb51b2d6af5107ef094f766d6210d8d48cbd1a57df95"}}],"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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-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":5,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}