{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"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":"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":"SmartRefreshLayout.dispatchTouchEvent (cyclomatic 91): SmartRefreshLayout.dispatchTouchEvent has cyclomatic complexity 91 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b885e11dc2b1857bb169953c61364fef3341808b3e35585e0cd04f5132c37c2"}},{"ruleId":"D1","level":"warning","message":{"text":"RefreshKernelImpl.moveSpinner (cyclomatic 75): RefreshKernelImpl.moveSpinner has cyclomatic complexity 75 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3743}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b713621c6c56af9e770cd61bc3427eebca9601af46a68eadd236b02a3d45cc"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartRefreshLayout.onMeasure (cyclomatic 56): SmartRefreshLayout.onMeasure has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65d0209620ffafbe8a8ad0bd666002dd58dd376311c7b4054167669bdb08bd5"}},{"ruleId":"D1","level":"warning","message":{"text":"PathDataNode.addCommand (cyclomatic 50): PathDataNode.addCommand has cyclomatic complexity 50 (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":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"4963fcd39c6549b247acbec45d7e9d0a43603d32d6adfaf54177e5f82d2a47ea"}},{"ruleId":"D1","level":"warning","message":{"text":"RefreshKernelImpl.setState (cyclomatic 37): RefreshKernelImpl.setState has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3598}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59f5086d5573a4c34bbdb6c59338c14c06f5230f27d80156b3d7716704477e3"}},{"ruleId":"D1","level":"warning","message":{"text":"5.run (cyclomatic 33): 5.run has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f45089c3f7bd19ddfd625982ee563d4a993bbd45513ddcd43b92ab5bf90b6e0"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartRefreshLayout.moveSpinnerInfinitely (cyclomatic 32): SmartRefreshLayout.moveSpinnerInfinitely has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e032336b23ef0c98ff19260dc5611b62c9ec1937cb93057d0c3f9f72af8399"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassicsHeader.\u003Cinit\u003E (cyclomatic 31): ClassicsHeader.\u003Cinit\u003E has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5936bd979ea81287a320c1a246d8f76ad81d75f47538e4b125851dff7856ab21"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartRefreshLayout.onLayout (cyclomatic 29): SmartRefreshLayout.onLayout has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"2152cf1ef445a3ec2c8f96bdf34850f6dfc8c34a3e4e6a6643a772c908bf4a26"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartRefreshLayout.drawChild (cyclomatic 28): SmartRefreshLayout.drawChild has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef37865a3ec414ba2296f964a7ab28c49b3f32ee603895b6091ab2758a79a30"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartRefreshLayout.onAttachedToWindow (cyclomatic 25): SmartRefreshLayout.onAttachedToWindow has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b11189c4f7ebbce15eb65c300b9e6f5ca73075271cfc85b17506af7edec3932"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartRefreshLayout.overSpinner (cyclomatic 25): SmartRefreshLayout.overSpinner has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92cf0be9cc89f52e6791f5f35e89baccc52e414ded204dad24b312ec3f3fa36"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassicsFooter.\u003Cinit\u003E (cyclomatic 24): ClassicsFooter.\u003Cinit\u003E has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-footer-classics/src/main/java/com/scwang/smart/refresh/footer/ClassicsFooter.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5278531640bc8e824d45e020b0b5a498f4ffc82f6d7082165cc596faf0692a2"}},{"ruleId":"D1","level":"warning","message":{"text":"4.run (cyclomatic 24): 4.run has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68e59b4f363927d3efb192c65faa678d984e0725e537a96de675eed3100994e"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartRefreshLayout.onFinishInflate (cyclomatic 23): SmartRefreshLayout.onFinishInflate has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2d63b59b00744996c11a339d33542fe2efd6de9bde70173eac65eda78a5f10"}},{"ruleId":"D1","level":"warning","message":{"text":"FunGameView.\u003Cinit\u003E (cyclomatic 22): FunGameView.\u003Cinit\u003E has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/fungame/FunGameView.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fda84debe0978ad2ce5dcc7d4a83ccb4d647c6ed358219fee83552ca1f027e"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartRefreshLayout.startFlingIfNeed (cyclomatic 20): SmartRefreshLayout.startFlingIfNeed has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dc5cbaf316476ad3f81dc6cf16546de6dd404d38477bd1da716232b5a06bce"}},{"ruleId":"D1","level":"warning","message":{"text":"PathsDrawable.onMeasure (cyclomatic 17): PathsDrawable.onMeasure has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/PathsDrawable.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"577f3bccfd5f52cc7a742d518cb6a41e9e71ec4bab1228d7c9171e5dcd67808a"}},{"ruleId":"D1","level":"warning","message":{"text":"FlingRunnable.start (cyclomatic 17): FlingRunnable.start has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"731d7f3397014647bd4eda73ddcfdbe288d515847003cd46b88312734bdb15e8"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartRefreshLayout.onNestedScroll (cyclomatic 16): SmartRefreshLayout.onNestedScroll has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 15 of the 20 methods over the threshold \u2014 including the worst \u2014 and 306 of the 375 points over it (82%), 8.7\u00D7 the next-largest file (refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"480b1376ca7d6ad9b04b2eaba8aad2ca225896694de213ede677d95f0fc52931"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.dispatchTouchEvent (cognitive 147): SmartRefreshLayout.dispatchTouchEvent has cognitive complexity 147 (threshold 15). Drivers by points: if/else 36 (89 pts), boolean chains 45, ternaries 4 (11 pts), loops 1, match/switch 1 (nesting depth added 60). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd04691631ab229375eca0fe3969ea6a002d4518c350e3b9f371d85a65b4db83"}},{"ruleId":"D2","level":"warning","message":{"text":"RefreshKernelImpl.moveSpinner (cognitive 136): RefreshKernelImpl.moveSpinner has cognitive complexity 136 (threshold 15). Drivers by points: if/else 33 (73 pts), ternaries 10 (32 pts), boolean chains 31 (nesting depth added 62). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3743}}}],"partialFingerprints":{"codehealthFindingId/v1":"13603a6ef4c928b0cecf8de1768715602f629bc4d1a1ea76f29819347cecb4ab"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.onMeasure (cognitive 133): SmartRefreshLayout.onMeasure has cognitive complexity 133 (threshold 15). Drivers by points: if/else 26 (82 pts), ternaries 9 (31 pts), boolean chains 19, loops 1 (nesting depth added 78). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0beb0996d0a1857862b2644daa168c3646d78bc523459919fcd0f4c287872d"}},{"ruleId":"D2","level":"warning","message":{"text":"5.run (cognitive 62): 5.run has cognitive complexity 62 (threshold 15). Drivers by points: if/else 24 (41 pts), ternaries 3 (11 pts), boolean chains 10 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4694e6fac215f00c051554de71d620603cdae1985420bb9d201c88d80e33b86"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.onLayout (cognitive 55): SmartRefreshLayout.onLayout has cognitive complexity 55 (threshold 15). Drivers by points: if/else 11 (26 pts), ternaries 5 (17 pts), boolean chains 11, loops 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ed8b00a15ccb31cadc629024e4ae904540e428286290071a6ec9e77dac4e07"}},{"ruleId":"D2","level":"warning","message":{"text":"4.run (cognitive 52): 4.run has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (46 pts), boolean chains 6 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71fdd17976222c1fc53ec96597f59b12da7a575548e7e3513eb44e5a710d33f"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.moveSpinnerInfinitely (cognitive 50): SmartRefreshLayout.moveSpinnerInfinitely has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (21 pts), ternaries 8 (20 pts), boolean chains 9 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62ce7cca8d6d0255bc4a6556daab3d6b4a18088ee03b7e3e732c139336a4049"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.onAttachedToWindow (cognitive 47): SmartRefreshLayout.onAttachedToWindow has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (38 pts), boolean chains 6, loops 1 (3 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedc747d4e664627f086ce16e4f1aec42614a3b595c861870d1547a35e4476ff"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.drawChild (cognitive 45): SmartRefreshLayout.drawChild has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 12, ternaries 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"0799966e3b40cb29153aa092b20e2e41e3c3d80771d792e4f6b4e5f754902b43"}},{"ruleId":"D2","level":"warning","message":{"text":"RefreshKernelImpl.setState (cognitive 44): RefreshKernelImpl.setState has cognitive complexity 44 (threshold 15). Drivers by points: if/else 20 (30 pts), boolean chains 13, 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3598}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b03794b317c23d4ff16088656dad95f7f82ba15adf6a0db38c29772842f83d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassicsHeader.\u003Cinit\u003E (cognitive 40): ClassicsHeader.\u003Cinit\u003E has cognitive complexity 40 (threshold 15). Drivers by points: if/else 36 (37 pts), ternaries 2, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb9718a72e84225710d8c2b97b47950a4ea1f6592b024ac56ceac239880979e"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.onFinishInflate (cognitive 33): SmartRefreshLayout.onFinishInflate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 3 (9 pts), boolean chains 8, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e722b2c25bb4559d50d8bdfbb213fadeaafe37ea9c667e49e997d002a19764e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassicsFooter.\u003Cinit\u003E (cognitive 31): ClassicsFooter.\u003Cinit\u003E has cognitive complexity 31 (threshold 15). Drivers by points: if/else 30, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-footer-classics/src/main/java/com/scwang/smart/refresh/footer/ClassicsFooter.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"949e46a3c42d583c0c192024f3913b10ef8bffff3bb50f4ef5ff047d3984679e"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.overSpinner (cognitive 31): SmartRefreshLayout.overSpinner has cognitive complexity 31 (threshold 15). Drivers by points: if/else 21 (28 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"f311f46ef42fe8d646fc8de116394ee1da29cb493c88452e71f3bd0b30bbf2ae"}},{"ruleId":"D2","level":"warning","message":{"text":"TaurusHeader.drawWinds (cognitive 30): TaurusHeader.drawWinds has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (14 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/TaurusHeader.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f42898c50c082bf6c579ebe261369d88ad58be93f02553ff7e557e6ff0dc566"}},{"ruleId":"D2","level":"warning","message":{"text":"PathDataNode.addCommand (cognitive 28): PathDataNode.addCommand has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 4, match/switch 2 (3 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec2afc9a91cdc7e306444aa5b12a4948d8fd94b4e6d49891f8c27ace6a057c5"}},{"ruleId":"D2","level":"warning","message":{"text":"PathsDrawable.onMeasure (cognitive 28): PathsDrawable.onMeasure has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 7 (9 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/PathsDrawable.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eae5f4f6a2938ffee7e958f11c05c8260fbe8a37904100b104ada58bd7bd83f"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleComponent.getSpinnerStyle (cognitive 24): SimpleComponent.getSpinnerStyle has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 1 (4 pts), boolean chains 2 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/simple/SimpleComponent.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71fcb40c7be1a26eeeedeeb44fc6169269037b0da12bd3404837e7eeff005c9"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.onNestedScroll (cognitive 23): SmartRefreshLayout.onNestedScroll has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 9, ternaries 1 (3 pts) (nesting depth added 8). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0160d6354a473b40e8360bc75edaf53ab68130c9022b1ecd767775d51ab0a3"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.startFlingIfNeed (cognitive 23): SmartRefreshLayout.startFlingIfNeed has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (9 pts), ternaries 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e73d65ee43c8638ba8398760003798bf3c5c3623b94e34e95cf6ba6faee651f"}},{"ruleId":"D2","level":"warning","message":{"text":"FlingRunnable.start (cognitive 22): FlingRunnable.start has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (9 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1fad547f2496a00d317612b6556854a9d7cddd87cac6c41c9ad2e16f2fa737"}},{"ruleId":"D2","level":"warning","message":{"text":"2.onStateChanged (cognitive 21): 2.onStateChanged has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (21 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshStylesFragment.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f5d5c2e23ca82ca1fa2c98488b1ad4822e3b2f68ecf9ba39a2c5bdd671f5cb"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassicsAbstract.onMeasure (cognitive 21): ClassicsAbstract.onMeasure has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-footer-classics/src/main/java/com/scwang/smart/refresh/classics/ClassicsAbstract.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b49678df1eeafa6dd0799549fe85c470eab9cbbb38143d4325d57981ecaa29"}},{"ruleId":"D2","level":"warning","message":{"text":"FunGameView.\u003Cinit\u003E (cognitive 21): FunGameView.\u003Cinit\u003E has cognitive complexity 21 (threshold 15). Drivers by points: if/else 21. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/fungame/FunGameView.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f427ba501e50bfb7dca343237ea9b1e7fafc2926da12ca70a6173237cc456b"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleComponent.onStateChanged (cognitive 21): SimpleComponent.onStateChanged has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/simple/SimpleComponent.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"81092f59f00b6cd3e0cd49b14ccc0705df401f0a1d88fb065b2f1a423e1bcaf0"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.setFooterHeightPx (cognitive 21): SmartRefreshLayout.setFooterHeightPx has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (11 pts), if/else 5 (8 pts), boolean chains 2 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (SmartRefreshLayout.setHeaderHeightPx) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28ec1237296e90536da7eaef94ff70580bc28f20c60c17a70076f2cd53ee5ae"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.setHeaderHeightPx (cognitive 21): SmartRefreshLayout.setHeaderHeightPx has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (11 pts), if/else 5 (8 pts), boolean chains 2 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (SmartRefreshLayout.setFooterHeightPx) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":2079}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36357e93829563e3fec4482b6c1c48655edb0a5f6276c2970fc59467ac2edbe"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.setStateDirectLoading (cognitive 21): SmartRefreshLayout.setStateDirectLoading has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a42cfdbb04256da28d2d6f4fa6159366e595cd7e0b87f44ad459f1864da081"}},{"ruleId":"D2","level":"warning","message":{"text":"BounceRunnable.run (cognitive 21): BounceRunnable.run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7915fdcf0960fe15f2b68237e28b6274e8bca67387bec712020eaa30a93e97d"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTimeFormat.format (cognitive 20): DynamicTimeFormat.format has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (3 pts), ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/util/DynamicTimeFormat.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee121927e22d9002d8da5565a5410f38f772cc2dba96ba8a91eea477c3377f7"}},{"ruleId":"D2","level":"warning","message":{"text":"TwoLevelHeader.onStateChanged (cognitive 20): TwoLevelHeader.onStateChanged has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header-two-level/src/main/java/com/scwang/smart/refresh/header/TwoLevelHeader.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb36f58e142c470a1e9c2272fd2e27eabb5011d3a2e7b728a97f082887cdb43f"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshHorizontal.onLayout (cognitive 19): SmartRefreshHorizontal.onLayout has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/widget/SmartRefreshHorizontal.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa33a723a4ccccc55dcf786a4a7f68ae6b979230d2075a78fc1a156966852bb"}},{"ruleId":"D2","level":"warning","message":{"text":"FunGameBattleCityHeader.drawEnemyTank (cognitive 19): FunGameBattleCityHeader.drawEnemyTank has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/FunGameBattleCityHeader.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8e33a289ffab5ca053bd8f4cb255b35e249c1e477537e62ab59636d1bac98e"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreHouseHeader.dispatchDraw (cognitive 19): StoreHouseHeader.dispatchDraw has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/StoreHouseHeader.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b1a860f087b11e3fb452415d0da5886af72ec703673e7484084d2bb7bafa66"}},{"ruleId":"D2","level":"warning","message":{"text":"RefreshContentWrapper.moveSpinner (cognitive 18): RefreshContentWrapper.moveSpinner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/wrapper/RefreshContentWrapper.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4d7fa17f052bfea2382e71ca330cdd11a0a01a8d69d28195cd05c9128167d9"}},{"ruleId":"D2","level":"warning","message":{"text":"FlyRefreshHeader.onMoving (cognitive 16): FlyRefreshHeader.onMoving has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/FlyRefreshHeader.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9995f2e92d990461324eb458518bce099a9daa6448d54c8a5646f6728aa2a8d"}},{"ruleId":"D2","level":"warning","message":{"text":"FunGameHitBlockHeader.drawBallPath (cognitive 16): FunGameHitBlockHeader.drawBallPath has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/FunGameHitBlockHeader.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c68474afae3596148a4d666b936466e37c34706a22c866fa5169eab60831a6"}},{"ruleId":"D2","level":"warning","message":{"text":"TaurusHeader.drawCenterClouds (cognitive 16): TaurusHeader.drawCenterClouds has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 3, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/TaurusHeader.java"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1c3af92ffc8a7381e5af81509c261e1ef141dfc2779820fdee570ac991b947"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveSwipeHeader.onMoving (cognitive 16): WaveSwipeHeader.onMoving has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (5 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/WaveSwipeHeader.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4925824345d6f09c4a941881310add1ee631adc099d472fbfd38f26ba60c36"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.computeScroll (cognitive 16): SmartRefreshLayout.computeScroll has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, ternaries 1 (4 pts) (nesting depth added 6). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca61a044f1dd894940b60acc56376fa7c6be0774a797ceda66408a85682e91de"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartRefreshLayout.setNoMoreData (cognitive 16): SmartRefreshLayout.setNoMoreData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java holds 21 of the 41 methods over the threshold \u2014 including the worst \u2014 and 704 of the 848 points over it (83%), 28.2\u00D7 the next-largest file (refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java at 25). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":2910}}}],"partialFingerprints":{"codehealthFindingId/v1":"42811d3ed5ef4d8032508ba425d53d19762da7ed0ebea69b867883bb14fa2698"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SmartRefreshLayout: ClassTooLong \u2014 2056 significant lines (blank, comment-only and punctuation-only lines excluded), 114 methods. The bar is 400 significant lines; this is 1656 over it, 5.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa491d731c5e69aac1ed30587c9cc8e20a9d23dbb07f11b04eee4fee822450ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/SmartRefreshLayout.java: FileTooLong \u2014 2127 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: SmartRefreshLayout (82-4009). The bar is 500 significant lines; this is 1627 over it, 4.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ba0bbc8c619b833739b487b6d32eeda6a535754aaa5929b49083939b267b4e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SmartRefreshLayout: TooManyMethods \u2014 114 methods. The bar is 30 methods; this is 84 over it, 3.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc78ca71681488679b0a4266446b8387518cd46573fd607266750564d513d7c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PathDataNode.addCommand: MethodTooLong \u2014 addCommand runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 123 over it, 2.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdfeed3ffb5ef7574a8bbb14acf30a84b147bd8ecd19701247587a80a61ee4a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SmartRefreshLayout.dispatchTouchEvent: MethodTooLong \u2014 dispatchTouchEvent runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ac430cdd36b5ab96d2af590953e4609bacfd4498499fd5eff6a3eb53d2e45f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PathParser: ClassTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 135 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9a5cedf5830b5c68d50cb84e8541aabf88af463a24b9cefc33462bd6ee6ab2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TwoLevelHeader: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header-two-level/src/main/java/com/scwang/smart/refresh/header/TwoLevelHeader.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d539989096db9cecf523c6f13cc105bb8a98fab078b96103cd0a25615bd2dd7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClassicsHeader.\u003Cinit\u003E: MethodTooLong \u2014 \u003Cinit\u003E runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba785e96ae7973cbe1b758240bcb440a99509eb493f07ccc1c3b6863764b262c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: path/PathParser.java: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: PathParser (29-849). The bar is 500 significant lines; this is 44 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e35abd07e163fde9576aa51aed6488da6bb30373c9eccf5994f1408839b2d37"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClassicsAbstract: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-footer-classics/src/main/java/com/scwang/smart/refresh/classics/ClassicsAbstract.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93d931253dc2f45ea96730952ae389f3a55541b8505dd1c9ff1221f73767c39"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RefreshKernelImpl.moveSpinner: MethodTooLong \u2014 moveSpinner runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3743}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d0958139c0dee13d814ec78c1af9177d49773108075c61446dffd6c52d8009"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (12 members, 11 shared lines): app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:52-83 | app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java:55-87 | app/src/main/java/com/scwang/refresh/layout/activity/style/ClassicsStyleActivity.java:69-117 | app/src/main/java/com/scwang/refresh/layout/activity/style/DropBoxStyleActivity.java:61-89 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameBattleCityStyleActivity.java:50-82 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameHitBlockStyleActivity.java:50-83 | app/src/main/java/com/scwang/refresh/layout/activity/style/MaterialStyleActivity.java:55-88 | app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:59-116 | app/src/main/java/com/scwang/refresh/layout/activity/style/StoreHouseStyleActivity.java:56-87 | app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java:59-116 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaterDropStyleActivity.java:52-83 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaveSwipeStyleActivity.java:51-83 \u2014 These 12 members are variants of one another: a block of 11 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 12 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"316e65f2c5e6a4b8777706d3be52e82123dcd5ba8e2d185eb04d4e99ee860498"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:86-108 | app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java:90-118 | app/src/main/java/com/scwang/refresh/layout/activity/style/ClassicsStyleActivity.java:120-167 | app/src/main/java/com/scwang/refresh/layout/activity/style/DeliveryStyleActivity.java:87-116 | app/src/main/java/com/scwang/refresh/layout/activity/style/DropBoxStyleActivity.java:92-112 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameBattleCityStyleActivity.java:85-104 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameHitBlockStyleActivity.java:86-105 | app/src/main/java/com/scwang/refresh/layout/activity/style/MaterialStyleActivity.java:91-119 | app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:119-145 | app/src/main/java/com/scwang/refresh/layout/activity/style/StoreHouseStyleActivity.java:90-134 | app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java:119-145 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaterDropStyleActivity.java:86-112 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaveSwipeStyleActivity.java:86-108 \u2014 These 13 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 13 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 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4303f62f3b846dad79a768220a1795fc894de41f2f5d0560541df0e753642450"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java:110-123 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentInner.java:58-107 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java:88-101 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragment.java:68-135 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentIntegral.java:135-148 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:56-77 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentFooter.java:44-71 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentHeader.java:45-69 | app/src/main/java/com/scwang/refresh/layout/fragment/example/SpecifyStyleExampleFragment.java:59-81 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshPracticeFragment.java:76-97 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e8440e34a3dccd381a16993e316c9efd6ce0178b61a8fa130c8af4374be477"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java:126-133 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentInner.java:119-126 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java:104-111 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragment.java:138-146 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:80-87 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentFooter.java:74-81 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentHeader.java:72-79 | app/src/main/java/com/scwang/refresh/layout/fragment/example/SpecifyStyleExampleFragment.java:84-91 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshExampleFragment.java:111-118 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshPracticeFragment.java:100-107 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc7de2afd8ab1f89abf7cd4bc17ce304666a937e7e9d36913c2aead24578e4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): app/src/main/java/com/scwang/refresh/layout/activity/example/BasicExampleActivity.java:42-112 | app/src/main/java/com/scwang/refresh/layout/activity/example/CustomExampleActivity.java:45-79 | app/src/main/java/com/scwang/refresh/layout/fragment/example/BottomSheetExampleFragment.java:48-82 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentViewPager.java:118-131 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NoMoreDataExampleFragment.java:50-100 | app/src/main/java/com/scwang/refresh/layout/fragment/example/ViewPagerExampleFragment.java:138-153 | app/src/main/java/com/scwang/refresh/layout/fragment/practice/SecondFloorPracticeFragment.java:44-127 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/example/BasicExampleActivity.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d938434f54e5c5eaec9f0318ce1212a15466dc90f9eae3b57be726b9e383938d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:56-77 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentFooter.java:44-71 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentHeader.java:45-69 | app/src/main/java/com/scwang/refresh/layout/fragment/example/SpecifyStyleExampleFragment.java:59-81 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshExampleFragment.java:89-108 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshPracticeFragment.java:76-97 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshStylesFragment.java:98-186 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc3923bae29417c0ec3030e72a13c7783fe36577c5f3e1dbc4712867ffc788d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (119 corresponding lines): refresh-footer-classics/src/main/java/com/scwang/smart/refresh/footer/ClassicsFooter.java:52-170 | refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java:82-240 \u2014 These two members are one piece of code written twice and then edited apart: 119 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-footer-classics/src/main/java/com/scwang/smart/refresh/footer/ClassicsFooter.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fec31a2cbfc1759196727c9a88bf0032ab91285ccc682b20a52c7c64ff887c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): refresh-header/src/main/java/com/scwang/smart/refresh/header/waveswipe/WaveView.java:443-477 | refresh-header/src/main/java/com/scwang/smart/refresh/header/waveswipe/WaveView.java:479-531 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/waveswipe/WaveView.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a186c2a23552464b97fea9904b9745886b0b5ece0ab1ed7096a6c4b450759f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:3384-3433 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:3479-3528 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3384}}}],"partialFingerprints":{"codehealthFindingId/v1":"4445107a73f307ef7091779711c18cef419f6b0d6524592b73aafea0ea9746f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:2079-2112 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:2131-2165 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":2079}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fa78dff6dd9666f415fa40ab4a53c38337b1a46bf701d6cce5e65016036458"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java:71-107 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java:56-81 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e851759142ae9d01332110071b8cad131175d394edab9f7ce22495814a08f022"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:2608-2636 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:2660-2691 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":2608}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98aa05f9ec2a317cf94941bff19d3aa7da09cfc1f0fe42d7b9407db61334e19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): app/src/main/java/com/scwang/refresh/layout/activity/example/AssignCodeExampleActivity.java:25-66 | app/src/main/java/com/scwang/refresh/layout/activity/example/AssignDefaultExampleActivity.java:32-68 | app/src/main/java/com/scwang/refresh/layout/activity/example/AssignXmlExampleActivity.java:22-55 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/example/AssignCodeExampleActivity.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadf2a34703049c9cde35a424ea1aec5c084da72f8bb11cfa37d3ae9fd509cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java:26-49 | app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java:58-81 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java:132-156 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java:165-189 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd773494e660a149948230aaf784bf0f9d8411c2bd4c98cdeae8cd5cf37e4ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/com/scwang/refresh/layout/activity/example/OverScrollExampleActivity.java:20-45 | app/src/main/java/com/scwang/refresh/layout/activity/practice/QQBrowserPracticeActivity.java:23-51 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/example/OverScrollExampleActivity.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"690cc5ac1ed588491dc42b1bb211910fa670f2fe1e8eda87db8c64a80e806b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/scwang/refresh/layout/fragment/practice/InstantPracticeFragment.java:177-191 | app/src/main/java/com/scwang/refresh/layout/fragment/practice/InstantPracticeFragment.java:197-211 \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":"app/src/main/java/com/scwang/refresh/layout/fragment/practice/InstantPracticeFragment.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"840978ae6a08d591ba0f4931e3cab50c2570b521f4d8fd408fc622abdd243d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): refresh-header/src/main/java/com/scwang/smart/refresh/header/DeliveryHeader.java:144-167 | refresh-header/src/main/java/com/scwang/smart/refresh/header/PhoenixHeader.java:262-283 | refresh-header/src/main/java/com/scwang/smart/refresh/header/TaurusHeader.java:261-284 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/DeliveryHeader.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa91bc0fbb32c42ff3137ae96f15a7a5d75ec4df03909cbbb1ee1e1333a8c7ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:147-155 | app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java:147-155 \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":"app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53a5ab3046e80bd84e9b3725ad0b107a058b3fb673575c3ff6ac113e34e33d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/com/scwang/refresh/layout/activity/example/BasicExampleActivity.java:114-133 | app/src/main/java/com/scwang/refresh/layout/activity/example/BasicExampleActivity.java:135-156 \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":"app/src/main/java/com/scwang/refresh/layout/activity/example/BasicExampleActivity.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68d7a6479002e3d63996bc4c38e1900a7c4c2ddeabc3216b3715dcbd458bf3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): refresh-drawable-path/src/main/java/com/scwang/smart/drawable/PathsDrawable.java:169-180 | refresh-drawable-path/src/main/java/com/scwang/smart/drawable/PathsDrawable.java:182-192 \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":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/PathsDrawable.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccb1d0a1668be90b82ccdc172879c2b317cb1a061fe471d9e172d28fc86a38c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/scwang/refresh/layout/activity/practice/RepastPracticeActivity.java:82-92 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentIntegral.java:167-177 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/practice/RepastPracticeActivity.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3d55a3b1411094843df88460ba9a97be85667bd55611e73ce7fe1e6293a21a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): refresh-footer-classics/src/main/java/com/scwang/smart/refresh/classics/ClassicsAbstract.java:278-287 | refresh-footer-classics/src/main/java/com/scwang/smart/refresh/classics/ClassicsAbstract.java:298-308 \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":"refresh-footer-classics/src/main/java/com/scwang/smart/refresh/classics/ClassicsAbstract.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8360a08a8eaa535f36ad342d70140f90041be3a0ffff96cfa151a56501e230f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): refresh-header-material/src/main/java/com/scwang/smart/refresh/header/MaterialHeader.java:328-336 | refresh-header/src/main/java/com/scwang/smart/refresh/header/WaveSwipeHeader.java:151-161 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:2876-2884 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header-material/src/main/java/com/scwang/smart/refresh/header/MaterialHeader.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69f5a54a08996e15e81c5c882e7de9b81955bd7702448a045d3b24a66437bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/scwang/refresh/layout/widget/RefreshContentHorizontal.java:20-28 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/wrapper/RefreshContentWrapper.java:260-268 \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":"app/src/main/java/com/scwang/refresh/layout/widget/RefreshContentHorizontal.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0519370bbb3bcbd21ec1a1a2cebd876d74a8b96fdc5ba91b3537220d7a3a971"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:3973-3983 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:3986-4003 \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":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3973}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d83d6966a71dd451f1e577504ebac25b4c6dbf220f8a133630c02f6be69dc29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): app/src/main/java/com/scwang/refresh/layout/util/StatusBarUtil.java:73-81 | app/src/main/java/com/scwang/refresh/layout/util/StatusBarUtil.java:83-92 | app/src/main/java/com/scwang/refresh/layout/util/StatusBarUtil.java:103-112 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/util/StatusBarUtil.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6e09d58e7cc410b071ebcc7991025092a67ad752d831cf8dc418bffaabb9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): refresh-header-radar/src/main/java/com/scwang/smart/refresh/header/BezierRadarHeader.java:122-131 | refresh-header/src/main/java/com/scwang/smart/refresh/header/fungame/FunGameView.java:239-247 \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":"refresh-header-radar/src/main/java/com/scwang/smart/refresh/header/BezierRadarHeader.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"85829785e99aacad565b6f8e11fe012ae1f88d7699b2432eab68425477c0ab12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): refresh-header/src/main/java/com/scwang/smart/refresh/header/DeliveryHeader.java:262-272 | refresh-header/src/main/java/com/scwang/smart/refresh/header/DropBoxHeader.java:413-423 \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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/DeliveryHeader.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"580b3b2c474c71b3db80b3d8e8cbd7267201666564c922414e6510ff39b5a3eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): app/src/main/java/com/scwang/refresh/layout/activity/example/CustomExampleActivity.java:81-83 | app/src/main/java/com/scwang/refresh/layout/fragment/example/BottomSheetExampleFragment.java:84-86 | app/src/main/java/com/scwang/refresh/layout/fragment/example/HorizontalExampleFragment.java:96-98 | app/src/main/java/com/scwang/refresh/layout/fragment/example/ViewPagerExampleFragment.java:155-157 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/example/CustomExampleActivity.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fc47450174d3b253d3dc96986bf9556d60e38f51d04cdccf226bf7f3ae32a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): refresh-footer-classics/src/main/java/com/scwang/smart/refresh/classics/ClassicsAbstract.java:270-276 | refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java:346-352 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-footer-classics/src/main/java/com/scwang/smart/refresh/classics/ClassicsAbstract.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee00f57589c39be2e935db74a4dba6f512c7a3340433e6147940ab8658be02a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:98-130 | refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:482-515 \u2014 both copies are in the same file, so extract the block 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 \u0060refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:98\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":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"649a72c22b0f9dcbc0eb660346220567ff9ccde486b3f604c1c9efc43d699269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 3): app/src/main/java/com/scwang/refresh/layout/activity/example/AssignCodeExampleActivity.java:45-66 | app/src/main/java/com/scwang/refresh/layout/activity/example/AssignDefaultExampleActivity.java:46-68 | app/src/main/java/com/scwang/refresh/layout/activity/example/AssignXmlExampleActivity.java:34-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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/activity/example/AssignCodeExampleActivity.java:45\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/scwang/refresh/layout/activity/example/AssignCodeExampleActivity.java:35\u0060 calls \u0060setRefreshHeader\u0060, \u0060MaterialHeader\u0060, \u0060setShowBezierWave\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/example/AssignDefaultExampleActivity.java:45\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/example/AssignCodeExampleActivity.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a568a43534124eccf8c243883fd7bb7c1dcbfd4200722b6a5015d8fbe49b17af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:63-109 | app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java:63-109 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7339ce3dcb1c21697ccc3eae5a08efae9344a222f77a5310cba1b14697ccff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:120-137 | app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java:120-137 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:120\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":"app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a28a6a7b8b1581a254c8c8aa394a9746a688548f7bd3d8565bb25309d283882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java:90-107 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentInner.java:90-107 \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 \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java:90\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be74eac3bbf503e64a3a382a6eb6d6bab2465e1beef4715764222953cceea70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/activity/example/SnapHelperExampleActivity.java:58-74 | app/src/main/java/com/scwang/refresh/layout/fragment/example/StaggeredGridExampleFragment.java:58-74 \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":"app/src/main/java/com/scwang/refresh/layout/activity/example/SnapHelperExampleActivity.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae56b15bad6f5a28e970b9b9a3c7411fff36667cfe3a79b7c69ebddeb03672b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:104-116 | app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java:104-116 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragment.java:122-135 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentViewPager.java:64-77 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:104\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":"app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2c89bf9fe5b5661887e8138d4d5b87ada2926183b1e3447f4f4ab559d6d418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:87-100 | app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java:91-104 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaveSwipeStyleActivity.java:87-100 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"be25d41133d7514acdb75da75edb7ed3ab3b03431d250b2f7cae8b23f744b101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:581-594 | refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:628-640 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:581\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f13755ee84c205206e81ab7fa5f9fdcc2dd7d1090bc372c9610bae6ba658405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:56-67 | app/src/main/java/com/scwang/refresh/layout/activity/style/DeliveryStyleActivity.java:61-72 | app/src/main/java/com/scwang/refresh/layout/activity/style/DropBoxStyleActivity.java:65-76 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameBattleCityStyleActivity.java:54-65 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameHitBlockStyleActivity.java:54-65 | app/src/main/java/com/scwang/refresh/layout/activity/style/StoreHouseStyleActivity.java:60-71 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaterDropStyleActivity.java:56-67 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaveSwipeStyleActivity.java:55-66 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/DropBoxStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:69\u0060 calls \u0060addItemDecoration\u0060, \u0060DividerItemDecoration\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/DeliveryStyleActivity.java:74\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"418e642d5742dd672e603f7264f834b19bbe58c95aa3b35c6ef5bd10073423fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 13): app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:95-105 | app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java:99-109 | app/src/main/java/com/scwang/refresh/layout/activity/style/ClassicsStyleActivity.java:151-161 | app/src/main/java/com/scwang/refresh/layout/activity/style/DeliveryStyleActivity.java:103-113 | app/src/main/java/com/scwang/refresh/layout/activity/style/DropBoxStyleActivity.java:99-109 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameBattleCityStyleActivity.java:91-101 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameHitBlockStyleActivity.java:92-102 | app/src/main/java/com/scwang/refresh/layout/activity/style/MaterialStyleActivity.java:106-116 | app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:132-142 | app/src/main/java/com/scwang/refresh/layout/activity/style/StoreHouseStyleActivity.java:121-131 | app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java:132-142 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaterDropStyleActivity.java:99-109 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaveSwipeStyleActivity.java:95-105 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3d7b35347a3d3ef85ebcb558b24453d3993b2939a248f225d677ee53eec9e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/activity/practice/QQBrowserPracticeActivity.java:34-43 | app/src/main/java/com/scwang/refresh/layout/activity/practice/WebViewPracticeActivity.java:39-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/activity/practice/QQBrowserPracticeActivity.java:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/practice/QQBrowserPracticeActivity.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54c914a3d025d5c701248827bf49946f1743af26247c07b0209279b51213b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/fragment/practice/SecondFloorPracticeFragment.java:96-106 | app/src/main/java/com/scwang/refresh/layout/fragment/practice/TwoLevelPracticeFragment.java:57-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/fragment/practice/SecondFloorPracticeFragment.java: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":"app/src/main/java/com/scwang/refresh/layout/fragment/practice/SecondFloorPracticeFragment.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a627939f34e80e10d0fc1e5750910ecbac09d0c3f29144b38e48051769f6e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:601-611 | refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:645-655 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14f889f933f9df8a753b427227710b1d901a1956b110a88a980fa311670cc14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:60-69 | app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java:64-73 | app/src/main/java/com/scwang/refresh/layout/activity/style/DropBoxStyleActivity.java:69-78 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameBattleCityStyleActivity.java:58-67 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameHitBlockStyleActivity.java:58-67 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaterDropStyleActivity.java:60-69 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaveSwipeStyleActivity.java:59-68 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java:62\u0060 calls \u0060findViewById\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:57\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d176226b4f19d39c6dc07434d3aff2df636abc0aef1e682cfe2c993bc0cc32c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentViewPager.java:146-155 | app/src/main/java/com/scwang/refresh/layout/fragment/example/ViewPagerExampleFragment.java:168-177 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentViewPager.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b061ad2731a3d70c03428adb1a9ca0e0a578a7554f3c3658fd4184bbdedfda6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/fragment/practice/SecondFloorPracticeFragment.java:48-57 | app/src/main/java/com/scwang/refresh/layout/fragment/practice/TwoLevelPracticeFragment.java:36-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/scwang/refresh/layout/fragment/practice/SecondFloorPracticeFragment.java:47\u0060 calls \u0060findViewById\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/practice/TwoLevelPracticeFragment.java:34\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/practice/SecondFloorPracticeFragment.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e1f3af2129bf80c37850416a9e2669da6c3ed3bd27a980eaf6197b9aa9258b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 3): refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:571-579 | refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:597-604 | refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:621-626 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:571\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5999cf7e1f4f0d5091b1bb3424ade67f14aeb39c5bb9376a7fc3f87853bd55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 9): app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:77-83 | app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java:81-87 | app/src/main/java/com/scwang/refresh/layout/activity/style/DropBoxStyleActivity.java:83-89 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameBattleCityStyleActivity.java:76-82 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameHitBlockStyleActivity.java:76-83 | app/src/main/java/com/scwang/refresh/layout/activity/style/MaterialStyleActivity.java:82-88 | app/src/main/java/com/scwang/refresh/layout/activity/style/StoreHouseStyleActivity.java:81-87 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaterDropStyleActivity.java:77-83 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaveSwipeStyleActivity.java:77-83 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:77\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b150c37882966e22b350a40b7ed6428efe003e50086307682aa2ed04a8f57ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): refresh-header/src/main/java/com/scwang/smart/refresh/header/BezierCircleHeader.java:87-94 | refresh-header/src/main/java/com/scwang/smart/refresh/header/PhoenixHeader.java:264-271 | refresh-header/src/main/java/com/scwang/smart/refresh/header/TaurusHeader.java:263-270 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060refresh-header/src/main/java/com/scwang/smart/refresh/header/BezierCircleHeader.java:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/BezierCircleHeader.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4b2d799be10e7c90098797586121d667be28187a12511f2ad1918baa303df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshExampleFragment.java:90-97 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshPracticeFragment.java:77-84 \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 \u0060app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshExampleFragment.java:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshExampleFragment.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"20416ee89c1f4f297a8a8e26c763fb77bc24c0a6d694487fcfb3795954c8aee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/fragment/practice/InstantPracticeFragment.java:112-119 | app/src/main/java/com/scwang/refresh/layout/fragment/practice/InstantPracticeFragment.java:122-129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/fragment/practice/InstantPracticeFragment.java:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/practice/InstantPracticeFragment.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4bf7f9922f57e1f7cb214a23c894d02a257934c02b10081bab727593aac602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java:28-35 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java:134-141 \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 \u0060app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java:28\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":"app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"311199ab8151d02bf36eb09e64be2966f0860e227598350de49f1951fa1d8848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/src/main/java/com/scwang/refresh/layout/activity/style/ClassicsStyleActivity.java:103-109 | app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:87-93 | app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java:87-93 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/ClassicsStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/ClassicsStyleActivity.java:103\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/style/ClassicsStyleActivity.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"161acff7af6714d595e6045873a861c8159357598d75d586783bf9a3ef484b2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): refresh-header-two-level/src/main/java/com/scwang/smart/refresh/header/TwoLevelHeader.java:310-316 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:2619-2625 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:2674-2680 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header-two-level/src/main/java/com/scwang/smart/refresh/header/TwoLevelHeader.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cccddb70272e0d6a72d49e92a9f8d8b9735418cfc316a5d0c8b77c596f3a51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20139 lines \u00D7 7): app/src/main/java/com/scwang/refresh/layout/activity/example/BasicExampleActivity.java:46-54 | app/src/main/java/com/scwang/refresh/layout/activity/example/CustomExampleActivity.java:49-57 | app/src/main/java/com/scwang/refresh/layout/fragment/example/BottomSheetExampleFragment.java:69-72 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentViewPager.java:124-131 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NoMoreDataExampleFragment.java:60-68 | app/src/main/java/com/scwang/refresh/layout/fragment/example/ViewPagerExampleFragment.java:146-153 | app/src/main/java/com/scwang/refresh/layout/fragment/practice/SecondFloorPracticeFragment.java:113-120 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/activity/example/BasicExampleActivity.java:46\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/example/BasicExampleActivity.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53d6548d4c553d86ebe44eb58c557d732b3a245d1e4d3208f4d5ffeedba3f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/activity/style/DeliveryStyleActivity.java:53-59 | app/src/main/java/com/scwang/refresh/layout/activity/style/DeliveryStyleActivity.java:94-100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/style/DeliveryStyleActivity.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e410561a840ee6b0d3cb5e7fc32fb0e11751c8d483f1383fe54d20d53c91bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentInner.java:81-87 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java:71-77 \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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentInner.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec938c1b4d7bb5119c32b779b0044e0ae67b965f2260224473de19f04c7ee043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java:60-66 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java:167-173 \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 \u0060app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java:60\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":"app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7f29b928fffb98e43768e359099cfb54a1870151e16263cc6a3f35d8a91c50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): refresh-drawable-path/src/main/java/com/scwang/smart/drawable/PathsDrawable.java:143-149 | refresh-drawable-path/src/main/java/com/scwang/smart/drawable/PathsDrawable.java:201-207 \u2014 both copies are in the same file, so extract the block 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 \u0060refresh-drawable-path/src/main/java/com/scwang/smart/drawable/PathsDrawable.java:143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/PathsDrawable.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"22aca07ab2fda25cb9b8067aa018a2c3421edc2470d54252cbcfe0fd5111ad62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): refresh-header/src/main/java/com/scwang/smart/refresh/header/DropBoxHeader.java:322-328 | refresh-header/src/main/java/com/scwang/smart/refresh/header/DropBoxHeader.java:344-350 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/DropBoxHeader.java"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da80a97d88b4016a4d2da12d745385f5845e5fd3aa4d7b3b8fcff1529aaecda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:3006-3012 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:3153-3159 \u2014 both copies are in the same file, so extract the block 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 \u0060refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:3006\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":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3006}}}],"partialFingerprints":{"codehealthFindingId/v1":"0412811efad7072bb25366eb87b185bcde22127bf2532b6efd81aebe9569ecf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 13): app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:65-70 | app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java:69-74 | app/src/main/java/com/scwang/refresh/layout/activity/style/ClassicsStyleActivity.java:91-96 | app/src/main/java/com/scwang/refresh/layout/activity/style/DeliveryStyleActivity.java:74-77 | app/src/main/java/com/scwang/refresh/layout/activity/style/DropBoxStyleActivity.java:74-79 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameBattleCityStyleActivity.java:63-68 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameHitBlockStyleActivity.java:63-68 | app/src/main/java/com/scwang/refresh/layout/activity/style/MaterialStyleActivity.java:70-75 | app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:75-80 | app/src/main/java/com/scwang/refresh/layout/activity/style/StoreHouseStyleActivity.java:74-77 | app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java:75-80 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaterDropStyleActivity.java:65-70 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaveSwipeStyleActivity.java:64-69 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java: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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:70\u0060 calls \u0060setItemAnimator\u0060, \u0060DefaultItemAnimator\u0060, \u0060addAll\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/DeliveryStyleActivity.java:77\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91707070f6b954605cad81b0e3818bc732eb1ab3b6c0fa519ab9622549435c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10): app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java:128-133 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentInner.java:121-126 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java:106-111 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragment.java:141-146 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:82-87 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentFooter.java:76-81 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentHeader.java:74-79 | app/src/main/java/com/scwang/refresh/layout/fragment/example/SpecifyStyleExampleFragment.java:86-91 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshExampleFragment.java:113-118 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshPracticeFragment.java:102-107 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java:128\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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2168dad2d6ce922501cbd04280a531ff005b16a2ef946336dbde23990f7d7d94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentIntegral.java:143-148 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:71-76 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentFooter.java:65-70 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentHeader.java:63-68 | app/src/main/java/com/scwang/refresh/layout/fragment/example/SpecifyStyleExampleFragment.java:75-80 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshPracticeFragment.java:89-94 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/SpecifyStyleExampleFragment.java\u0060 as WHOLE FILES: 84% 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 5 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentIntegral.java:143\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060model\u0060 to \u0060NestedScrollExampleFragment.Item\u0060 in one and \u0060Item\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshPracticeFragment.java:95\u0060 calls \u0060findViewById\u0060, \u0060setOnRefreshListener\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:77\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentIntegral.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae98c8f5fb08249bc86086f8517c7057459fcc6823bab5a5bb382d3e03a10565"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:62-67 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentFooter.java:56-61 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentHeader.java:54-59 | app/src/main/java/com/scwang/refresh/layout/fragment/example/SpecifyStyleExampleFragment.java:66-71 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshExampleFragment.java:93-98 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshPracticeFragment.java:80-85 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/SpecifyStyleExampleFragment.java\u0060 as WHOLE FILES: 84% 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 5 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentHeader.java:51\u0060 calls \u0060findViewById\u0060, \u0060setRefreshHeader\u0060, \u0060FalsifyHeader\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:60\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f71e3dff083fedf1882baed1df37c2eefb4cee352ca34e896ce6c30c349e06f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java:31-36 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java:137-142 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/wrapper/RefreshContentWrapper.java:108-113 \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 \u0060app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a92cd15a95edf74e6acd4b9fe31b0ca33265ec2e0d6819b5685f3bc581f9bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:581-587 | refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:614-619 | refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:628-633 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java:581\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"314d123de44b9679ab3404adac4036858ea147b7c9174e40a36c51687a7e7ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/activity/example/OverScrollExampleActivity.java:24-30 | app/src/main/java/com/scwang/refresh/layout/activity/practice/WebViewPracticeActivity.java:30-36 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/scwang/refresh/layout/activity/practice/WebViewPracticeActivity.java:39\u0060 calls \u0060getSettings\u0060, \u0060setJavaScriptEnabled\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/example/OverScrollExampleActivity.java:33\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/example/OverScrollExampleActivity.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4a357fba7af9e507275c8b063369c49f76d21664755084deee766cd1f1caa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/activity/example/SnapHelperExampleActivity.java:46-52 | app/src/main/java/com/scwang/refresh/layout/fragment/example/StaggeredGridExampleFragment.java:48-54 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/scwang/refresh/layout/activity/example/SnapHelperExampleActivity.java:45\u0060 calls \u0060setLayoutManager\u0060, \u0060LinearLayoutManager\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/StaggeredGridExampleFragment.java:47\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/example/SnapHelperExampleActivity.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f8391ceed10b7393353658d819f083dd07367e506e2db4d46607a54d4be913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/activity/practice/BannerPracticeActivity.java:120-125 | app/src/main/java/com/scwang/refresh/layout/activity/practice/WebViewPracticeActivity.java:56-61 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/activity/practice/BannerPracticeActivity.java:120\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":"app/src/main/java/com/scwang/refresh/layout/activity/practice/BannerPracticeActivity.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3980ae32668c0b428c031980b3001414bb35bcc607205c14eb4559a81f87cc67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java:72-84 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java:57-69 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java\u0060 as WHOLE FILES: this scan already matched 4 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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"920f658c6ec43132f2236fab64ca365eae882a2ae620c354cf1ae705af3d6f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java:115-120 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java:93-98 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java:115\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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6608fa313376775c558ab939c4db8bb278d37fcef17891663e50d880a884e1d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:478-483 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:2745-2750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4eda006e9129d3e6d25616e3d33cf93ffbd39ce58263f6bd72df1582c404c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java:140-148 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java:173-181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java:140\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":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13646ba7ddef157c48a89161722d238cfeef609f74ce832cb4a53205872d6be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/wrapper/RefreshContentWrapper.java:220-225 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/wrapper/RefreshContentWrapper.java:230-235 \u2014 both copies are in the same file, so extract the block 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 \u0060refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/wrapper/RefreshContentWrapper.java:220\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/wrapper/RefreshContentWrapper.java:236\u0060 calls \u0060LayoutParams\u0060 and \u0060refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/wrapper/RefreshContentWrapper.java:226\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/wrapper/RefreshContentWrapper.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"800945a8694cebe5fd49e2d111ae7007afbbc174b7333a366b0d59b9fffd38fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 12): app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:75-81 | app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java:79-85 | app/src/main/java/com/scwang/refresh/layout/activity/style/ClassicsStyleActivity.java:101-107 | app/src/main/java/com/scwang/refresh/layout/activity/style/DropBoxStyleActivity.java:81-87 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameBattleCityStyleActivity.java:74-80 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameHitBlockStyleActivity.java:74-80 | app/src/main/java/com/scwang/refresh/layout/activity/style/MaterialStyleActivity.java:80-86 | app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:85-91 | app/src/main/java/com/scwang/refresh/layout/activity/style/StoreHouseStyleActivity.java:79-85 | app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java:85-91 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaterDropStyleActivity.java:75-81 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaveSwipeStyleActivity.java:75-81 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:75\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b95210b81bff27657b06cd57ac1eb1ec0190773492fec1200f58fe921026974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java:115-119 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentInner.java:75-79 | app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java:93-97 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragment.java:82-86 | app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentIntegral.java:143-147 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:71-75 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentFooter.java:65-69 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentHeader.java:63-67 | app/src/main/java/com/scwang/refresh/layout/fragment/example/SpecifyStyleExampleFragment.java:75-79 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshPracticeFragment.java:89-93 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java:115\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060model\u0060 to \u0060Item\u0060 in one and \u0060NestedScrollExampleFragment.Item\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshPracticeFragment.java:95\u0060 calls \u0060findViewById\u0060, \u0060setOnRefreshListener\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:77\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f9e57047dc566230db9b046e310e3a7bfd570ce4f98994b5e617ee30ee1ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:63-67 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentFooter.java:57-61 | app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentHeader.java:55-59 | app/src/main/java/com/scwang/refresh/layout/fragment/example/SpecifyStyleExampleFragment.java:67-71 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshExampleFragment.java:94-98 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshPracticeFragment.java:81-85 | app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshStylesFragment.java:103-107 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/SpecifyStyleExampleFragment.java\u0060 as WHOLE FILES: 84% 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 5 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentHeader.java:51\u0060 calls \u0060findViewById\u0060, \u0060setRefreshHeader\u0060, \u0060FalsifyHeader\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java:60\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a8600cdbdd763693cb348185a5b75c92e1f6763531db6f1020ec12494c1009"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java:138-143 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java:171-176 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/wrapper/RefreshContentWrapper.java:109-114 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java:138\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fe8729c8e4487040078d3dbd24615402e54b32ccf6be96c80c700e99c80f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java:148-155 | app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java:148-155 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba428cae69af09007dc037c09f88d9e3df92caa57a96022fe98b47906708e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): refresh-header-material/src/main/java/com/scwang/smart/refresh/header/MaterialHeader.java:213-222 | refresh-header/src/main/java/com/scwang/smart/refresh/header/WaterDropHeader.java:168-177 \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":"refresh-header-material/src/main/java/com/scwang/smart/refresh/header/MaterialHeader.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3656745dc48a8c89e195eab53dc1b5a4f3fa6d1860d6083c2f494a22ebaa05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:502-507 | refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:651-656 \u2014 both copies are in the same file, so extract the block 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 \u0060refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:502\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:659\u0060 calls \u0060isInEditMode\u0060, \u0060isEnableRefreshOrLoadMore\u0060 and \u0060refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:510\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa08e6e273d757157507eda00f42d2511c966d26e2af0e7ffb4467f65d4f265d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java:110-114 | app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java:120-124 | app/src/main/java/com/scwang/refresh/layout/activity/style/DropBoxStyleActivity.java:114-118 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameBattleCityStyleActivity.java:106-110 | app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameHitBlockStyleActivity.java:107-111 | app/src/main/java/com/scwang/refresh/layout/activity/style/StoreHouseStyleActivity.java:136-140 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaterDropStyleActivity.java:114-118 | app/src/main/java/com/scwang/refresh/layout/activity/style/WaveSwipeStyleActivity.java:110-114 \u2014 before extracting anything, compare \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java\u0060 and \u0060app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"43847fd347077988ffaabddd4b179499a9164a59dceb45704254a5457c4898ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentViewPager.java:137-143 | app/src/main/java/com/scwang/refresh/layout/fragment/example/ViewPagerExampleFragment.java:159-165 \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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentViewPager.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd15d10959c9c35386025abd49b00b8ba8cf0dab6c6f296136aaf6b7edaa4bf"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :refresh-footer-ball: :refresh-footer-ball: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"903ba10e0925b0d011fe5a99a3f6027e232177fb94cd43d9918c51d2be9e5de5"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HORRIBLE HACK FOR REVERS ANIMATION THAT SHOULD WORK LIKE RESTART ANIMATION \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/TaurusHeader.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"a796838c449b2bcce8e31da78120907f2faf96c008e0fabeccbc31c7880febed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo SCROLL_STATE_IDLE \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":"app/src/main/java/com/scwang/refresh/layout/activity/example/BasicExampleActivity.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55529beb87abeca7189f90cf6108fec513c3a914e672c31688a8dd579abe974"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060app/build.gradle\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"123dd0e8ffcc36166e0d545fa94752f835564d5aa9b01b1d50abd074628ad295"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 12 project(s) overshoot their size bounds, lowering Project Cohesion to 9.0/10. The most over is \u0060app\u0060 (6811 LoC, 81 module-visible types across 11 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"5a2d3306f4848e0feb58ad37d19ab72112fbcb8a2cdd646f0414180ea627114d"},"taxa":[{"id":"CWE-330","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 96 of 96 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 96 separate risks. Counted over 96 of the 148 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40b46e2af86bfad41e33c2f836deb278cd327f5cb58eae510cd76b8cef22ad3"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/path/PathParser.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"240cbfdd5d0720dfcdf1bfa96bf0a2836e00add493e4a42ebd7b4c4f80ac057d"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-header/src/main/java/com/scwang/smart/refresh/header/waveswipe/WaveView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3114931f52fcd41df2e4823dfeddec9cc67186d0e97daacc050871461018e182"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/TaurusHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc073eb7420fbf45dd88e2750757c425f15984eda9e29130f9abdfa573e21c36"}},{"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":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/api/RefreshLayout.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9ea601a389e9cc00d7818653d6c67952d4dacb032c05c8abe525ae58f9183a"}},{"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":"refresh-header-material/src/main/java/com/scwang/smart/refresh/header/material/MaterialProgressDrawable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2aa92b1bd7eea390a3575dfde48a3da84c2eabb7b9e65d2eeea739a75f5426a"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/DropBoxHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9ff8a1ba439d22e0b8287fb5960771369f792cb32a5c73a5315bfacba94b1f"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/fungame/FunGameView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2814263c3790232852b78aa82d2f93602c75308a5c876d3da27c353d2b2d54"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/PhoenixHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7717c0c0f53a9b4462d5a486ee606402431025f9e8e826b7d2a566fc622f56"}},{"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":"refresh-header-two-level/src/main/java/com/scwang/smart/refresh/header/TwoLevelHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9be359fe01178b7cd8cd5d33cd29bba77e4582c44c82799bebfaa134aea79e5"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/WaveSwipeHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00885d77c6463a56d78fd5f126fcbb0d18ec1f425c528f7fe208710f087fa9b4"}},{"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":"refresh-header-classics/src/main/java/com/scwang/smart/refresh/header/ClassicsHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f049daf9479b73213ca53d02e4a1bc7d6a9ecdfe0b048a86d63ebb20a7cc11e"}},{"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":"refresh-header-material/src/main/java/com/scwang/smart/refresh/header/MaterialHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e38bcb4cab26f5c49e06a2a4dfd04c4188493cc6dd28dd7aaf98d16b76d499"}},{"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":"refresh-header-radar/src/main/java/com/scwang/smart/refresh/header/BezierRadarHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce1fd257a0dcbe9b5f841361139637a11fb64d85d6493455ad00c1924f2a396"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/StoreHouseHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"474ac6e1a3ef1d1311bf4b0d6bf4411ca5ab00e20b647dc9478c69352888960c"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/FlyRefreshStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"786720ec3dda3727184804fd49388442aac4387bcc94f23a9be47864ea02fee5"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/BezierCircleHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f405490a233c8669c79b41cb55fef8a0c4fd84cbba61a4aa9f6b228a5e411e"}},{"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":"refresh-footer-classics/src/main/java/com/scwang/smart/refresh/classics/ClassicsAbstract.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf63db8204277daad174dccbbe5e7efca7ec0ed56ffd591b20e43420956d4d0"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/practice/BannerPracticeActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5911fa047ad1dab0eccf30990cf60c9ca35a6cd39b6df2719ba7c1cfdd57fe"}},{"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":"app/src/main/java/com/scwang/refresh/layout/util/StatusBarUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8e3d5a3b59302b8a7ed14d961c872cebbcb00119a3b3a595a79b725bf02a01"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/DeliveryHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"651437f099282772b0071f83d8ce303581ddb89c75f1ed40064f92b740630f85"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/FunGameBattleCityHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d941d3b7669c4282894f70ec6547d90c8f1d2a425596a1878040df9f289aa99d"}},{"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":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/wrapper/RefreshContentWrapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"084eed094fa8f850d8cd07b003c92f041a627048d73d5b1f61ce397a72b2830a"}},{"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":"refresh-footer-classics/src/main/java/com/scwang/smart/refresh/footer/ClassicsFooter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e62890e82e09c0c35f4f99e2fca27e8def8726f21f6aa70f46c08acd6ee4319"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/flyrefresh/MountainSceneView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b05cdf01b5fb09493363623569cdc498b6a6053215ea0240fb0878f73d1c9d"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/storehouse/StoreHousePath.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaeb4f7a588607ee20555715d6662ae89b8ac983ff9da66a1fc109c74501383"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshStylesFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc37bfe1ab4db038afcb30288413fdd9c7294b43a496f1b8efe3fbcadf7c0d0"}},{"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":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cba79ada5fa1d35a6679dcedc347c0b19957f317b7ab296fd75a7df0c0cb7c"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/FlyRefreshHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90220407730591266c5f4e0a436a07f098d569dd9cc25e59a0eea23191209fc5"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/WaterDropHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e624d795dd311db16edfb021b364ba8eed11848660668a24bcccf23c18e20df"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/FunGameHitBlockHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d38ad69cf1392db63303124e03a5a7bdaaf876e3038ed8d2d80604c047cba66"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/StoreHouseStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc97f44142ba52c97567677f3c383098fdeba6f958e87d82f0e78cc1a5421ddb"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/waterdrop/WaterDropView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e84972e79cb6582491104c6e3bb83e9380377df5c10c6fa39ea9726a9807e1"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/practice/InstantPracticeFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"872adcc83a2513719a48d2bb53a291ebfa33ebee9bca957e85eae0e2c74f15b4"}},{"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":"build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b779771563e32f41c1bf12ef984441742d36ce2c4d204713f14020eda532a336"}},{"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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/fungame/FunGameBase.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1ad932526c7ce6780cb02a778143068052c5bf6573106f71eb0811a910a468"}},{"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":"refresh-drawable-path/src/main/java/com/scwang/smart/drawable/PathsDrawable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af49492c5bb98761d69099dd6a7773606be47cf32d4f83e4de51bcc53138a96d"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/ClassicsStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f234b31f5acc0d4922aa634d8190e640398cceb438c6c55b73a9a119af220ebf"}},{"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":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/simple/SimpleComponent.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f0527dda701e1237ca9a055a498027e90170d0bd9806edda3bdbb8347b5d5c"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/example/CustomExampleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80dd065275cafb010a8d79099e45a2300589aec292446f335a49ff6fa618cae"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/ViewPagerExampleFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb6ed38522170c54936d85b572f3985cfe21738b0900c4c7a001d91da344172"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/example/BasicExampleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2731d37747c0780b8e72916d9942147bc7e614c1db184613a44138209381df5b"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentIntegral.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30cfae63b8d7ce8a589575cab45b9bfc2fb8df520b5d5844c9e2416e6d92919"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/TaurusStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"744993a33136a3d47fdbc08dc48d25da3a8bbeed7da7a34043891847d64a9d5c"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/PhoenixStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fdb5805d22a8bdc811a6226e08a93dda9290bfff73ecba477f161988bdd2f6"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragmentViewPager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5a024440be002165bf3b55151a2c2584b6377e2e6b028c66b647dc0ed4cb28"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/example/ListenerExampleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce7e9fe67b8058eccb6583452a08133d3b13e4aa2f5715bbad12b0624b53809"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/NestedScrollExampleFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49515399c060ed910ee8ba85c12d92a476ebd93b6ed1c9c741eb34e8087248c5"}},{"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":"refresh-footer-ball/src/main/java/com/scwang/smart/refresh/footer/BallPulseFooter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1b9370b0fbac8fa647e14cc07b8f6bfb3061c5be72078d7415f09dd414ba2b"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshExampleFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4d55858941c9b2a62b8560b136b35acbed7d716c39b0ce75563a62e2be6b06"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/practice/RepastPracticeActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2219c392d626e99ab6795289c444c1cf1a589411a97393e2a3a672e6e7dd72b7"}},{"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":"app/src/main/java/com/scwang/refresh/layout/adapter/BaseRecyclerAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"619dbbe34cb103cf01c017754069668e66ab39f4dad60ab184f6e106d57a3a92"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/DeliveryStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4279fa03cb82c41ac298f185884c80ded8b0c6c18dd1615f18226f03c138c8"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/practice/SecondFloorPracticeFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e196be93edc05e927a0857f7ae1db6720f7a607d88140bcbb33d17e8399ee6"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"756af96647db42fbd2e767b427785e815cd799d62ec81ddc55f3c36cb32ebbcf"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/MaterialStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c696fb7430a727085e51b1a011b7f1aa7560cee4db88d1db69934876b18a646e"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/BezierRadarStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d9e1a83883a131dd0373eee3979eabae11d980cc19b9656b72f64e763d4618"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentInner.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6dd2d51e45252cf2a62edee368afbeecbceb130393ec85bf184b257c57e78d"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/DropBoxStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c73bffd0ec4c46603a56443c81eb2079a2e954205e82c780fcbd8b5487bdc2"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/WaterDropStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c7e9cc8b8c2c81cefe05625248550d314a11c746a6fa5873e8c0ccc867c7d3"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/example/AssignDefaultExampleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df1ecbc5e9a2ae2f0ad4930d8d62828044b839e088e4dd04f7d5a6413cc18e7"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/index/RefreshPracticeFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cd2289b4342fbb2819b97285ac1879829c9c67bd43e065651a0f5a03f1e822"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/WaveSwipeStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6b1770266c2dc3b4a504e8b5443ceb5fa874ea3887b5b17601c0345928a302"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/BezierCircleStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7ec2933aca31312978dec700926c59ed87a7f571bb994ef10bf1fb224629df"}},{"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":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/api/RefreshComponent.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b4daeec12cb7ea5f8fbd1ef40ffca1b1d3d73c7e99a57510aee1ab7d7aecc5"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/IndexMainActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dba07f2413bb0b7cfea56ae5e719bcb93482ec7409ed5cd3dec6a9571978a89"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameBattleCityStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dda44a8343e9949682842a7043aa9d10dd57f07048968749f8fce0f85fb3c3a"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/style/FunGameHitBlockStyleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cc906329aa7e99a7bf12c8dc0bbd3b54fb7d09ad092fbfa5064bdc44c4545f"}},{"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":"app/src/main/java/com/scwang/refresh/layout/widget/SmartRefreshHorizontal.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b11c47bab82b09263b6f9f8865abdb8c8755b449a79eba57d322bbade5eeb3c"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/EmptyLayoutExampleFragmentOuter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2bcd0a9dd989149d99f2527bbe6920872834f7174b40e58926fd493b5acff2"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/NoMoreDataExampleFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"164b79a239581b4c41e9e8012c41054a7872a549c3a15a2912b1837c4eafd605"}},{"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":"app/src/main/java/com/scwang/refresh/layout/util/DynamicTimeFormat.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb885f30aa9f0dcc104f4044a60cabcf07eb6559811104c3a81f8d06c42c5509"}},{"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":"app/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f143c70fef02619983f4dccd7d90915ee3cb309abf954ae0d49107359b512e9"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/example/NestedLayoutExampleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf00809af0de4334a15611d7bea7d12d95aabd9f692e9df25deaf78e5082bd92"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/example/I18nExampleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34727504428e1ac5469ac5e34ab3d76a1020ef92c68f0eef39fa92979aac612e"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/BottomSheetExampleFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcd18d887dffb7a11d36a36f42ee32dac7e4137ae0abe73eb5676052788923e"}},{"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":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/api/RefreshKernel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"257dbdd395b0c38e5a12e15440b9aeaf851622cc3a99071c1413600a0f3e943b"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/DisallowInterceptExampleFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa4204dffbefe61e165cc0657285b1ab81dc20f2f190e3d7a66bba588802050"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/SpecifyStyleExampleFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"756b4214b60d57573b05168fc38d38d0ed06dffa0090f5d29198ed6d713e1fd0"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/HorizontalExampleFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5efe75b1e17d99f3fa3a6aead69754dc2997140978b501803549585b6216e0f"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/FlexBoxLayoutManagerFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a6c05aece856ba691499cb439a1024a65a18cc29ba4beff5c1079a220dbc96"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/practice/WeiboPracticeActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3703e6aba392d68d8b3673fc5d6e25d910529b830103aec14e38a5c2d16d44f0"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5040ce078a9c7afb7931dd04c018c934071b515b10d23e7a2a2538769bbea3d8"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/StaggeredGridExampleFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5746d74ae9e837ad19106f5fc9b5cab1c588e08a24c0b4ce90b45e090d2cd50"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentFooter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e298a33a92a72ab95324d69b4a502167af8d038eb13137837df3dfa7526c5ee"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/example/PureScrollExampleFragmentHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d5337986229a3b8306bdd643ee018c01b6f69006dff3923a38b446d42da49b"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/example/SnapHelperExampleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d9149e0abb67a0df87da168dde1f4ac51fdfb0b6895bb85ffe26c6370e1fb9"}},{"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":"app/src/main/java/com/scwang/refresh/layout/adapter/SmartViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eba7a5010b84a6768986ca3ac136427d86e849622399e8eea984c66abc46b3f"}},{"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":"refresh-header-falsify/src/main/java/com/scwang/smart/refresh/header/falsify/FalsifyAbstract.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d1b800bb729419c1d4f804a13e2e4b0369a4fedf8016fe6e1cb25427d73ee4"}},{"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":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/constant/DimensionStatus.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca78851baffacee5e7e79b82ffab353a8aee82fa0aa696fcc978e8cebfcbd879"}},{"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":"app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89558396587c35418e9596ca328c098fa4865958fae374a8aa4343d3f5bbc7f6"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/FragmentActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2761b1b20b641da8eff3db685061c66fe38f05082c9361d549a9cfacb60ac2"}},{"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":"refresh-drawable-paint/src/main/java/com/scwang/smart/drawable/ProgressDrawable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc4b9d9428ab3e5d5ba5ca10f2388642a7644e730a3b96789b2503c6392943b"}},{"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":"app/src/main/java/com/scwang/refresh/layout/App.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3465193d5a8100e26118a81cf404bea4ff77a3b9526764e1cf1d58ccfe676a"}},{"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":"app/src/main/java/com/scwang/refresh/layout/fragment/practice/TwoLevelPracticeFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea4d3dc5318f89c8c2b58296174449c0d0e9b0ebf013b23300ffd6550c0bcde"}},{"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":"app/src/main/java/com/scwang/refresh/layout/activity/example/AssignCodeExampleActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"879c77af51b93ab1a36cb06d774af70588cec8e41eadc5fa670cd54460902986"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RefreshLayout (76 abstract methods): \u0060RefreshLayout\u0060 declares 76 abstract methods: \u0060autoLoadMore\u0060, \u0060autoLoadMore\u0060, \u0060autoLoadMore\u0060, \u0060autoLoadMoreAnimationOnly\u0060, \u0060autoRefresh\u0060, \u0060autoRefresh\u0060, \u0060autoRefresh\u0060, \u0060autoRefreshAnimationOnly\u0060, \u0060closeHeaderOrFooter\u0060, \u0060finishLoadMore\u0060, \u0060finishLoadMore\u0060, \u0060finishLoadMore\u0060, \u0060finishLoadMore\u0060, \u0060finishLoadMoreWithNoMoreData\u0060, \u0060finishRefresh\u0060, \u0060finishRefresh\u0060, \u0060finishRefresh\u0060, \u0060finishRefresh\u0060, \u0060finishRefreshWithNoMoreData\u0060, \u0060getLayout\u0060, \u0060getRefreshFooter\u0060, \u0060getRefreshHeader\u0060, \u0060getState\u0060, \u0060isLoading\u0060, \u0060isRefreshing\u0060, \u0060resetNoMoreData\u0060, \u0060setDisableContentWhenLoading\u0060, \u0060setDisableContentWhenRefresh\u0060, \u0060setDragRate\u0060, \u0060setEnableAutoLoadMore\u0060, \u0060setEnableClipFooterWhenFixedBehind\u0060, \u0060setEnableClipHeaderWhenFixedBehind\u0060, \u0060setEnableFooterFollowWhenNoMoreData\u0060, \u0060setEnableFooterTranslationContent\u0060, \u0060setEnableHeaderTranslationContent\u0060, \u0060setEnableLoadMore\u0060, \u0060setEnableLoadMoreWhenContentNotFull\u0060, \u0060setEnableNestedScroll\u0060, \u0060setEnableOverScrollBounce\u0060, \u0060setEnableOverScrollDrag\u0060, and 36 more. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 76 declarations carry 63 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 63 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/api/RefreshLayout.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56223958a022356d2782cabc7a26457a2f3c2990491e61259b3f141a7562e62"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.scwang.smart.refresh.layout\u0060 is marked as implementation by its own namespace, folder or name: \u0060RefreshKernelImpl\u0060 (refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java:3582, 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":"refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java"},"region":{"startLine":3582}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefe615a129654c463fe04f73473ce9060ae23f21e122fe93e88f9de5dd938f9"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mKernel != null \u0026\u0026 (this.equals(mKernel.getRefreshLayout().getRefreshFooter()))\u0060 appears character-identically in 2 files \u2014 refresh-header/src/main/java/com/scwang/smart/refresh/header/BezierCircleHeader.java, refresh-header/src/main/java/com/scwang/smart/refresh/header/DeliveryHeader.java. 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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/BezierCircleHeader.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ba72cec7178c026b4c5c57bc3fe0fd4a57bb089b588c4afdfcefa9f38e3257"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mState == RefreshState.Refreshing || mState == RefreshState.RefreshFinish\u0060 appears character-identically in 2 files \u2014 refresh-header/src/main/java/com/scwang/smart/refresh/header/DeliveryHeader.java, refresh-header/src/main/java/com/scwang/smart/refresh/header/fungame/FunGameBase.java. 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":"refresh-header/src/main/java/com/scwang/smart/refresh/header/DeliveryHeader.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c9b22057dd20db810f6d290531b5915d8d7d505d7d04329cfe459d941d8d2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060targetView instanceof ViewGroup \u0026\u0026 touch != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java, refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java. 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":"app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebcc976d05cbf5f0a72dee0fe835cfc577842f270f0a89cb560e47d732ccef4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060targetView instanceof ViewGroup \u0026\u0026 touch != null \u0026\u0026 !SmartUtil.isScrollableView(targetView)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java, refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/util/SmartUtil.java. 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":"app/src/main/java/com/scwang/refresh/layout/widget/ScrollBoundaryHorizontal.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c2abb8edc8e88543945d166eb0ba7f63e217a5f4fded53caac28231c5641c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/scwang/refresh/layout/util/StatusBarUtil.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3b37922bdd7334d4ca7e6c7ba604dde07a801c7e7bd2fdd02a6ec19c52b15c"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/39 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}}],"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-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-330","guid":"f811ddf9-2e54-865b-9c76-f97905849790","name":"Use of Insufficiently Random Values","shortDescription":{"text":"Use of Insufficiently Random Values"},"helpUri":"https://cwe.mitre.org/data/definitions/330.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"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/"}]}],"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":1,"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."]}]}