{"$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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"MeasureHelper.doMeasure (cyclomatic 51): MeasureHelper.doMeasure has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/MeasureHelper.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7cc46f1683a72f83c4158be16d32a72ea9152a7835406c373bd4754ee61af8"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailFilterActivity.resolveTypeUI (cyclomatic 40): DetailFilterActivity.resolveTypeUI has cyclomatic complexity 40 (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":"app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dd0eaa955b7a630be6b9507f2cfe6d3bcc6259a7e25ae5be30ce59bc370d17"}},{"ruleId":"D1","level":"warning","message":{"text":"1.onOrientationChanged (cyclomatic 32): 1.onOrientationChanged has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/OrientationUtils.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35c4a99ee42ad69c3b8a50f403f15ff08fcb92a07a509f7960dc6bb5669f34f"}},{"ruleId":"D1","level":"warning","message":{"text":"XmlContentHandler.characters (cyclomatic 27): XmlContentHandler.characters has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/BiliDanmukuParser.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9368349f03222af1a2ac14588c8f4c97ade971624bb330bd55b7de043b856941"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkUtils.getNetWorkType (cyclomatic 25): NetworkUtils.getNetWorkType has cyclomatic complexity 25 (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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/NetworkUtils.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91414db11c1069fde118ef56c4fc02e7f143ff672ad557371a76e7e42edddf1"}},{"ruleId":"D1","level":"warning","message":{"text":"GSYSampleADVideoPlayer.changeAdUIState (cyclomatic 23): GSYSampleADVideoPlayer.changeAdUIState has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYSampleADVideoPlayer.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"6136d16a7356e2e9ad992bd135bdc19d595820bede509e4a31c332634951bea4"}},{"ruleId":"D1","level":"warning","message":{"text":"TvVideoPlayer.onTouch (cyclomatic 22): TvVideoPlayer.onTouch has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3e204b41d3901ac529c901bb34e07593b7196d1520e37a650c57b7b120dede"}},{"ruleId":"D1","level":"warning","message":{"text":"FoldDetailActivity.applyFoldState (cyclomatic 22): FoldDetailActivity.applyFoldState 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":"app/src/main/java/com/example/gsyvideoplayer/FoldDetailActivity.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4429e197ba93f88ddaca9073f0760ad9c5f31eb2a0c25dad4422f81aa4f8edf7"}},{"ruleId":"D1","level":"warning","message":{"text":"GSYVideoControlView.onTouch (cyclomatic 22): GSYVideoControlView.onTouch has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be4673c31f936316a196d4844ff2aee80793f490dcb2d342f237b7303cbf708"}},{"ruleId":"D1","level":"warning","message":{"text":"StandardGSYVideoPlayer.onClickUiToggle (cyclomatic 22): StandardGSYVideoPlayer.onClickUiToggle has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf7a42937af45df09f514519daeb75982a2252ba3d08cf00602b265bdfa9e0e"}},{"ruleId":"D1","level":"warning","message":{"text":"IjkPlayerManager.initVideoPlayer (cyclomatic 20): IjkPlayerManager.initVideoPlayer has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/IjkPlayerManager.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9fffaf33e6ff55c7908040a28f6eb5943bf1193b00e7db89138ba84898ae39"}},{"ruleId":"D1","level":"warning","message":{"text":"FoldComposeActivityKt.FoldScreen (cyclomatic 20): FoldComposeActivityKt.FoldScreen has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/FoldComposeActivity.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a7cc172c8537b8a5ff777c5f35228dc2113913d4d08cf0414afead1fe12e1b"}},{"ruleId":"D1","level":"warning","message":{"text":"GSYWebVttSubtitleParser.parse (cyclomatic 19): GSYWebVttSubtitleParser.parse has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYWebVttSubtitleParser.java"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7119a31b16a0a4662c779b229f9175423d555fcbc1ab190bd7ff496b096a6385"}},{"ruleId":"D1","level":"warning","message":{"text":"GSYVideoControlView.setStateAndUi (cyclomatic 19): GSYVideoControlView.setStateAndUi has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"1400443674c472ca7264c6e689dac9616b436ceeefa16b689ea9d5d8cdba6556"}},{"ruleId":"D1","level":"warning","message":{"text":"StandardGSYVideoPlayer.showProgressDialog (cyclomatic 19): StandardGSYVideoPlayer.showProgressDialog has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f269e9f1e469a38dcff2794b7667d2e6b97ccef2e7bc9331d23fcdea37d194de"}},{"ruleId":"D1","level":"warning","message":{"text":"GSYVideoControlView.clickStartIcon (cyclomatic 18): GSYVideoControlView.clickStartIcon has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b3ff1b995fe606a1a92bc7d4a2de75afaf041b1cfac56ae1dd19d3883281dc"}},{"ruleId":"D1","level":"warning","message":{"text":"GSYVideoControlView.onClick (cyclomatic 18): GSYVideoControlView.onClick has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0518aa0b8d358fd991a4141abf7aefd1049c627946f5c54ebb489efa49e019"}},{"ruleId":"D1","level":"warning","message":{"text":"GSYVideoControlView.touchSurfaceUp (cyclomatic 18): GSYVideoControlView.touchSurfaceUp has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5269e57fb17f427fb5295e859d6e5bc572226d7d021d872304532d6bc83404"}},{"ruleId":"D1","level":"warning","message":{"text":"GSYDefaultHttpDataSource.open (cyclomatic 17): GSYDefaultHttpDataSource.open 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":"app/src/main/java/com/example/gsyvideoplayer/exosource/GSYDefaultHttpDataSource.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2c32ebb6a7dbbbd00db0e9d1d3abc581c7fb008f3027ac02936c72faaa63ff"}},{"ruleId":"D1","level":"warning","message":{"text":"NeuQuant.map (cyclomatic 17): NeuQuant.map 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"be392b4ed34dc90324ed42498c718461b618c5a23c9e21867efa2ef62774b6a0"}},{"ruleId":"D1","level":"warning","message":{"text":"GSYVideoControlView.setProgressAndTime (cyclomatic 17): GSYVideoControlView.setProgressAndTime has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ccb0b7e6b83725edb296015dd8b1aa4aa17a0edb5d5691264d3fb6c66130af"}},{"ruleId":"D1","level":"warning","message":{"text":"ENDownloadView.onDraw (cyclomatic 16): ENDownloadView.onDraw has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb78c43a7bae497b0fa4ed83906b23b769f966f94bb9c3c87df65c9679d8505f"}},{"ruleId":"D1","level":"warning","message":{"text":"GSYGestureModifierKt.gsyGestureControl (cyclomatic 16): GSYGestureModifierKt.gsyGestureControl has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYGestureModifier.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c86b6d13fe8e74fd4ec27fbc0a6dba76e4044808d121ae712805b7de37dec6c"}},{"ruleId":"D2","level":"warning","message":{"text":"MeasureHelper.doMeasure (cognitive 83): MeasureHelper.doMeasure has cognitive complexity 83 (threshold 15). Drivers by points: if/else 27 (62 pts), boolean chains 15, match/switch 2 (6 pts) (nesting depth added 39). 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/MeasureHelper.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ab6eb92bfd1645f38171f5e035b8ff31a6d73056f2ceec82ca9fa20e692842"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlContentHandler.characters (cognitive 76): XmlContentHandler.characters has cognitive complexity 76 (threshold 15). Drivers by points: if/else 19 (60 pts), loops 2 (9 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 50). 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/example/gsyvideoplayer/utils/BiliDanmukuParser.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"811b821a3c8f85c0cd7ccfdc60bda2d080e55c3f860790d82f92a8c1adc89379"}},{"ruleId":"D2","level":"warning","message":{"text":"NeuQuant.map (cognitive 58): NeuQuant.map has cognitive complexity 58 (threshold 15). Drivers by points: if/else 16 (56 pts), boolean chains 1, loops 1 (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"311ecb755665d0270541b456834bac112fca5773863a26dc34542e6210ff4382"}},{"ruleId":"D2","level":"warning","message":{"text":"1.onOrientationChanged (cognitive 58): 1.onOrientationChanged has cognitive complexity 58 (threshold 15). Drivers by points: if/else 25 (48 pts), boolean chains 10 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/OrientationUtils.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a83cf18b9a24462304158ac0768f7b7b39e15132078010f5b52c94bb1d1f3a2"}},{"ruleId":"D2","level":"warning","message":{"text":"StandardGSYVideoPlayer.onClickUiToggle (cognitive 45): StandardGSYVideoPlayer.onClickUiToggle has cognitive complexity 45 (threshold 15). Drivers by points: if/else 25 (43 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2f57862ab50946858e172084e277eb04ab4f3a89d8c6d6cf72f062b9e0992a"}},{"ruleId":"D2","level":"warning","message":{"text":"3.onPrepared (cognitive 40): 3.onPrepared has cognitive complexity 40 (threshold 15). Drivers by points: loops 6 (30 pts), if/else 6 (10 pts) (nesting depth added 28). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dec6f21f8af512baf88448901477888cadc1e46e8ac05f62a0f5be1dc472c2"}},{"ruleId":"D2","level":"warning","message":{"text":"TvVideoPlayer.onTouch (cognitive 30): TvVideoPlayer.onTouch has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, loops 2 (6 pts), match/switch 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3470ce526dbafc206b5331219f3d5b0e7bd191af30fabff1c6ae5ce66470a9b0"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYWebVttSubtitleParser.parse (cognitive 30): GSYWebVttSubtitleParser.parse has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, loops 3 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYWebVttSubtitleParser.java"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f92262acc7ca25e9f89c44860d9f476491cd16434906fa865445e9066929c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoControlView.onTouch (cognitive 30): GSYVideoControlView.onTouch has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, loops 2 (6 pts), match/switch 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"525205d8aa7c6803ea2beaf09ef4f2fe6745fb65cc380f10aad134d2c7f499f8"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoControlView.clickStartIcon (cognitive 29): GSYVideoControlView.clickStartIcon has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 4, error handling 2 (4 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ad47df444ee1223f81ae88c875e303779f5aab245656c5425f57acdf9dbf1d"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYSampleADVideoPlayer.changeAdUIState (cognitive 29): GSYSampleADVideoPlayer.changeAdUIState has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 8, if/else 7 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYSampleADVideoPlayer.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb7d9f4237876f0cb0531c5113a583960c9bcb7eea65c4a5e0e581d813be005"}},{"ruleId":"D2","level":"warning","message":{"text":"FoldDetailActivity.applyFoldState (cognitive 28): FoldDetailActivity.applyFoldState has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 8, boolean chains 7 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/FoldDetailActivity.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9721af178a0ab7ed4ad5c2de79c4c945d7728f3946ccd46928b0d9a21230371"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoControlView.onClick (cognitive 28): GSYVideoControlView.onClick has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (25 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"6123737822478ca6fbaab9b380e292cace144c56651450d58f27a1e12cd131fc"}},{"ruleId":"D2","level":"warning","message":{"text":"StandardGSYVideoPlayer.showProgressDialog (cognitive 28): StandardGSYVideoPlayer.showProgressDialog has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec081ba4239377f6cc52c0999afb3c16ccde7980d7c8ffc4d42ce13eb31b48f"}},{"ruleId":"D2","level":"warning","message":{"text":"IjkPlayerManager.initVideoPlayer (cognitive 25): IjkPlayerManager.initVideoPlayer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 7, error handling 2 (4 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/IjkPlayerManager.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3796632f57e5e785d798875763e906ce495f2fa5b6dd36b1e65afa0ecbb94689"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoControlView.touchSurfaceUp (cognitive 25): GSYVideoControlView.touchSurfaceUp has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5, ternaries 2 (4 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"82dc0a007acec161ab7b8e6fd809aaa30a9e3358e43df827700842121e84991b"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpUrlSource.openConnection (cognitive 25): HttpUrlSource.openConnection has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-proxy_cache/src/main/java/com/danikula/videocache/HttpUrlSource.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c0b5d393d192c9cc54f534a67224e61d37b6f65b8f8b93526c97bf7237c553"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYDefaultHttpDataSource.open (cognitive 24): GSYDefaultHttpDataSource.open has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (6 pts), error handling 4 (5 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exosource/GSYDefaultHttpDataSource.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f3387207f2e9abcfaf2e55c24bd75dc7a700be9e698e3d513060d02da7b3d5"}},{"ruleId":"D2","level":"warning","message":{"text":"NeuQuant.learn (cognitive 23): NeuQuant.learn has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 3 (5 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd798377da4a40c18fd6a84e65bbe43b828823bba91f5984f83b37952fb4c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoControlView.touchSurfaceMoveFullLogic (cognitive 23): GSYVideoControlView.touchSurfaceMoveFullLogic has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52470e36465b82b65380a1a6100efbdf80def46587912b757a5f51a22f00c36"}},{"ruleId":"D2","level":"warning","message":{"text":"7.onClick (cognitive 22): 7.onClick has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 1 (3 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"51422c669eb8caf792388adb5c492aba5bdf4481a2d4426b373fe3ee690a9b05"}},{"ruleId":"D2","level":"warning","message":{"text":"LZWEncoder.compress (cognitive 22): LZWEncoder.compress has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec9813449b9929a2703f10c66d1e2694d0aebf1a1f8870dc88dcfde82e2d851"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollCalculatorHelper.playVideo (cognitive 21): ScrollCalculatorHelper.playVideo has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/ScrollCalculatorHelper.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"943016ba84b5c90fefeecd6d46064ce1fd50b4709c68b12fe2ecc6f5d972a6f9"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoControlView.setStateAndUi (cognitive 21): GSYVideoControlView.setStateAndUi has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa9be62c13c8bb0f97198d10bba14a47a4bbccc0ff87207cfb190b0dce92894"}},{"ruleId":"D2","level":"warning","message":{"text":"ENDownloadView.onDraw (cognitive 21): ENDownloadView.onDraw has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fccc7d0af2223a632b7f40f6a8b91ec5bd163045bf07b26cd6b25b54b2cfc7"}},{"ruleId":"D2","level":"warning","message":{"text":"FoldComposeActivityKt.FoldScreen (cognitive 20): FoldComposeActivityKt.FoldScreen has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, match/switch 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/FoldComposeActivity.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"528272709d96bae15a3d4b4e58fdc04fe2c6f2bf08da868cd5cfd1b06cf964c9"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartPickVideo.resolveStartChange (cognitive 19): SmartPickVideo.resolveStartChange has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 1 (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":"app/src/main/java/com/example/gsyvideoplayer/video/SmartPickVideo.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f990716f7ba02d6e7e01950a1bb617f96843c5ca9bf42029e6ccfd85bf23874"}},{"ruleId":"D2","level":"warning","message":{"text":"Api29.select (cognitive 19): Api29.select has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, error handling 2 (3 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/GSYIjkMediaCodecSelector.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"42982e1b7255290bc03fad2018efb899a48e9513a42e299cee933db396e047d0"}},{"ruleId":"D2","level":"warning","message":{"text":"SampleCastControlVideo.isPlausibleIpv4 (cognitive 18): SampleCastControlVideo.isPlausibleIpv4 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"663dfb88143c95f79c3870b7b5647502a14a33455ac2a05e96be10767a07b337"}},{"ruleId":"D2","level":"warning","message":{"text":"TvVideoHandler.handleMessage (cognitive 18): TvVideoHandler.handleMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57822412597b2d88d5f19f46e2a4973a4a2a7b4210c7b4cc763c46229521579"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoControlView.setProgressAndTime (cognitive 18): GSYVideoControlView.setProgressAndTime has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc29180fb0f474919f036f1ebe429602dc46375c64a822133db81d68e0b046a"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYADVideoPlayer.changeAdUIState (cognitive 18): GSYADVideoPlayer.changeAdUIState has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 6 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYADVideoPlayer.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e88b0da78f84020f4a5911028abd4c64c8211e13ac5d65b81fa50e47e6e69c8"}},{"ruleId":"D2","level":"warning","message":{"text":"SampleCastControlVideo.enterRemoteMode (cognitive 17): SampleCastControlVideo.enterRemoteMode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, ternaries 2 (4 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45a9314a770f2559411b56739381f66e48146b208551ebb0ad702b951d04a01"}},{"ruleId":"D2","level":"warning","message":{"text":"SampleCastControlVideo.updateRemoteOverlayProgress (cognitive 17): SampleCastControlVideo.updateRemoteOverlayProgress has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f807bed0d22f4aa206b1e261d30372bbc9b3f3bb85fcf26048b20ee96ac25a8"}},{"ruleId":"D2","level":"warning","message":{"text":"8.onClick (cognitive 17): 8.onClick has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (8 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fe7527eca42b1bdbebe0d4827823c7b6c51fd4ed735cf5f7fd31292cda27b7"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoGLViewMultiPassRender.takeBitmap (cognitive 17): GSYVideoGLViewMultiPassRender.takeBitmap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (6 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewMultiPassRender.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"b187e1621e74594ddf92e1be792ee47a415033598b0908575a2d45fc6d803a11"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoGLViewSimpleRender.takeBitmap (cognitive 17): GSYVideoGLViewSimpleRender.takeBitmap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (6 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewSimpleRender.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb37257f0f9e4a7018a7adff99b4ab3a77f1f88e331351870bf1df1d39fa5e0"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYGestureModifierKt.gsyGestureControl (cognitive 17): GSYGestureModifierKt.gsyGestureControl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 2, match/switch 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":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYGestureModifier.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"15476e5bd0a2426afd5df4e18955600358f2be60f72797ca5dabc5cc0463be64"}},{"ruleId":"D2","level":"warning","message":{"text":"5.onPrepared (cognitive 16): 5.onPrepared has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (8 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59243f0c9dd2319cd6c7a57fe6e0c1307c0d179a6c2fd1d265f0a762c9e1080"}},{"ruleId":"D2","level":"warning","message":{"text":"IjkExo2MediaPlayer.onPlayWhenReadyChanged (cognitive 16): IjkExo2MediaPlayer.onPlayWhenReadyChanged has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 4 (7 pts), boolean chains 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e9001b9f073dfbfd21cedb9c6d9fef03fbb2b110ecea88718a7d6d0c078107"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoPreviewVttParser.parseFrames (cognitive 16): GSYVideoPreviewVttParser.parseFrames has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/preview/GSYVideoPreviewVttParser.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"934c28523b720f3833653901f38e2aaa190f0ede291abded9cbe0df3997114df"}},{"ruleId":"D2","level":"warning","message":{"text":"OrientationUtils.resolveByClick (cognitive 16): OrientationUtils.resolveByClick has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/OrientationUtils.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdc81fb0cee08ea863bf61983fb3bd7ada90734220a0d4874f38b8fe9a1e4f8"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoControlView.touchSurfaceMove (cognitive 16): GSYVideoControlView.touchSurfaceMove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf1d73c3405e757c604669e9185e560ce6131ff52ac7308bcfb9b48f28f3a79"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheDownloadComposeActivityKt.CacheDownloadScreen (cognitive 16): CacheDownloadComposeActivityKt.CacheDownloadScreen has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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":"app/src/main/java/com/example/gsyvideoplayer/compose/host/CacheDownloadComposeActivity.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ddc8a72a9083082fbd6259604a541a2578f88971a1f830bda8de8e57cc9531"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYVideoControlView: TooManyMethods \u2014 120 methods. The bar is 30 methods; this is 90 over it, 4.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf497a53ab8662cf1af10246c4cc8e9a2197a742d5471f7b8e4be741577ffdd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYVideoView: TooManyMethods \u2014 91 methods. The bar is 30 methods; this is 61 over it, 3.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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb935ad6255927a8e5d5ffc85a67459a279b35c897282e8d75bad0daf0cd99e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IjkExo2MediaPlayer: TooManyMethods \u2014 89 methods. The bar is 30 methods; this is 59 over it, 2.97\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":"gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"757c10313b292bdf9adec9c85bd1047e872ccff9871287f365db40912509e283"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYVideoBaseManager: TooManyMethods \u2014 87 methods. The bar is 30 methods; this is 57 over it, 2.90\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6ab26a34fcff01897e1f8d806ae0df4f323a17eb1fa825ce753f84e8bb30f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailPlayer.onCreate: MethodTooLong \u2014 onCreate runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\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":"app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"889f02473a0ba1867e5689817ced796c9316e9ce1cb0514f74b2b1e169b94c15"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GSYVideoControlView: ClassTooLong \u2014 865 significant lines (blank, comment-only and punctuation-only lines excluded), 120 methods. The bar is 400 significant lines; this is 465 over it, 2.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b6f6d2d855712fb700be7613351cfa4104c67d93ee85f04419e2bed1b6823d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYBaseVideoPlayer: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6d63bd72d87f11b0b2d57819e524b86133133717bb7f48e90a585de29623de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StandardGSYVideoPlayer: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"49890efdd92bd7a1939039bff7246ff924ad85c215139748f534891ed1149b57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: base/GSYVideoControlView.java: FileTooLong \u2014 905 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: GSYVideoControlView (54-1604). The bar is 500 significant lines; this is 405 over it, 1.81\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7504cc5d81c6090df5bef82d50087d8e26f20dfec3423120623867fe144d28ae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ListVideoUtil: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"414073d4ceb32ccf494e3fb29bbb086821ed9451fbea8cce69425d3998b09edb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYVideoOptionBuilder: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/builder/GSYVideoOptionBuilder.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"610166ec8e5cabba5ffee5909e9b4b4cc62f1b0b3ba16510c19007f9fbdf4aef"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SampleCastControlVideo: ClassTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 245 over it, 1.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31d353cabf3e9c5e98bc10791135dd3d18d4b534a5ff04360c852eafa6c7526"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GSYVideoBaseManager: ClassTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded), 87 methods. The bar is 400 significant lines; this is 237 over it, 1.59\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb78db6fbc07005a0366f3224eda0ac2c34edf4d3ed4108861c49c8904bb6efb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainActivity.onClick: MethodTooLong \u2014 onClick runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/MainActivity.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b990d36894b2f573e4480d1d1d7dd76346d0aa87725d7fc1f8f808d0d28fa2b6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYVideoGLView: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYVideoGLView.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d15dc9cdac626702badb379f6e99dc16da0430bdcf70f9c3e85141e09dcac0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StandardGSYVideoPlayer: ClassTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 200 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cf6236d5212798ca60866cb4b7718791ec68e6bf89a1e11b7900526ecd3a9d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GSYBaseVideoPlayer: ClassTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. The bar is 400 significant lines; this is 176 over it, 1.44\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a0f53e6bb30653f4f5ae913b1e38b03af57b92db846c36536590dc1e34a296"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYSmallVideoHelperBuilder: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94d8074986aff7bdfdde35fe1895dcd292d7fdf601d63d2703b0feb7629e7e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AliMediaPlayer: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliMediaPlayer.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4380d4e9cc36bb9a2e744aaaf022a007e7450c98eed350bb3b539c240cf1300"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYVideoHelperBuilder: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee610df79e85ae5e9c08c5be3c717fda10b07be1627819728aa46f99b8557012"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SmartPickVideo: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SmartPickVideo.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d365f32f28bf9f9eefde8afd425b79bf9435024421fecbc05ad81c76b296243"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYPlayerController: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe6c08e78f607b7f62563b97d26cac322f4129fe797bdee047a1cdac6c0be35"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/AnimatedGifEncoder.java: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 180 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a456cd8931abbcaece16c7dc0052c4fd1814b617e78a953f6a767677d97f86ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/SampleCastControlVideo.java: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: SampleCastControlVideo (50-1089). The bar is 500 significant lines; this is 179 over it, 1.36\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":"app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2bf73f081af9ac0c1afc79a99dc74382b42135fce5479dcefff1577e7e96d2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GSYVideoView: ClassTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), 91 methods. The bar is 400 significant lines; this is 138 over it, 1.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"241045ce6aa926b1dc9f1536b3ef848ab432ccd187238e9aa36d7fbe91a100ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gsyvideoplayer/GSYVideoBaseManager.java: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: GSYVideoBaseManager (44-1143). The bar is 500 significant lines; this is 168 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf32359d6bcbfe6b750bea01fc26891d3585a4c009b57dc77b52fef8060b876d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExoSourceManager: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/ExoSourceManager.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f3146642c172d334a5734cf5c44cb42e5319a445a3343d10ed7cc73dfe780d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYBaseActivityDetail: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYBaseActivityDetail.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"44810d41776fa917a8e459e826182b0eec6c4b4041036a7301f5c79fd9e9b47e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JumpUtils: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"63989739c4aa61b2b9d33906f038a2a0ef48d7655119e7479d01feba427a1b95"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SampleCastControlVideo: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"097dce8d781e6b93649ce5cf5030380097ef840ccaf6a0973f7d89ed6487b70d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailFilterActivity.resolveTypeUI: MethodTooLong \u2014 resolveTypeUI runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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":"app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c6594ffc9804c18ddf0a062c7eaada7d8ce2cfad1fb55e5e59ae411695a032"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/StandardGSYVideoPlayer.java: FileTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: StandardGSYVideoPlayer (48-1099). The bar is 500 significant lines; this is 136 over it, 1.27\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d95cf66eddc99091a05ed0fb5e20d9b3ef4f59db306a12bd85512f7f07abe4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: base/GSYBaseVideoPlayer.java: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: GSYBaseVideoPlayer (44-1118). The bar is 500 significant lines; this is 108 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee97c4e0e54820091b5736669876545a8f489a7ef5b55ac81bc998b5f7212aee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GSYExoSubTitleDetailPlayer.onCreate: MethodTooLong \u2014 onCreate runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1642e3c7949285c42f850e955cd41d7b4018e976851106c484e168e0c28a682b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EventLogger: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/demo/EventLogger.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc12f9b261bad79398eee27477d87b7b4e35c9b150e02e4329d9dff9a138998"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DetailFilterActivity: ClassTooLong \u2014 465 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 65 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebcb2b92a22b7b4fcd2b530361ad6ace5f03af2b412af9fa37452011af15bb9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: 3.onPlayError: MethodTooLong \u2014 onPlayError runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"22284fabf925e23dad77031babcd9a38bb1732ed3d08871549f66b4f661a1204"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MeasureHelper.doMeasure: MethodTooLong \u2014 doMeasure runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/MeasureHelper.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e26e2a4a8bd3467462a14b3764e41a95931632f4eee6ff9c4b88e49c6adc88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: base/GSYVideoView.java: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: GSYVideoView (44-1225). The bar is 500 significant lines; this is 69 over it, 1.14\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85da1382d5d3138dad73f8c829279f8c23b8a6418d7a397e97b227b6e6c4c698"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IjkPlayerManager: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/IjkPlayerManager.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90d11a575e81c1f4b3656051326907b9b286230158ae025a200711a6b7a0934"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CustomControlsThemeComposeActivityKt.CustomControlsThemeScreen: MethodTooLong \u2014 CustomControlsThemeScreen runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"app/src/main/java/com/example/gsyvideoplayer/compose/host/CustomControlsThemeComposeActivity.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"040a15c62ce2ca61c4e399f4914090673e9c2bdf3bf7a2e4c45ef37b05a42bf8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DanmakuVideoPlayer: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/DanmakuVideoPlayer.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc570a46eb68dcdaf99123140eb1251e651faa05f2716b0aed3c8b77aca0746"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gsyvideoplayer/DetailFilterActivity.java: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: DetailFilterActivity (97-825). The bar is 500 significant lines; this is 48 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b53166f9a67f47a17d6405d8604f8d3fee5ecaf0f59c92cb5844919788455f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GSYDefaultHttpDataSource: ClassTooLong \u2014 427 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 27 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exosource/GSYDefaultHttpDataSource.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bda1b9fb9651a23a8d6cd49fcc78e45897371f692b2ef547815b34cf1d441e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MediaCodecTextureView: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb82a33597f34a7bf9eb1ca882faad04811bf6e0d2bf1e9202d1d8a58bfca06"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CustomTextureSurface: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b3eb1b7f56af4370dd58d083139123e7fd57635c7294cb5cfd79e4ac50cdd0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BasicWrapperActivityKt.BasicWrapperScreen: MethodTooLong \u2014 BasicWrapperScreen runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/BasicWrapperActivity.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e988a34676048a981f5650e4af9c082fb34308578145acfbebdb210c6ca703"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYDefaultHttpDataSource: 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":"app/src/main/java/com/example/gsyvideoplayer/exosource/GSYDefaultHttpDataSource.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"657d6c1d1114aa4218e1bd86ca6940398b2d25f44c272c2d2df449e0ab401d06"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYSurfaceView: 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cf17909c35aa11de645a4b968c7d4214e3f15988e0b364757b66adfb2dcce2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GSYTextureView: 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"402b24c1f323c3a2e51526211d4202f528eefc137e0508996f04a065fef6b53d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GSYPlayerController: ClassTooLong \u2014 406 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 6 over it, 1.02\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":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d353a01fe62698265819d054b503851fd9d9ad4ce494b7cbad24a21b566f228"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 52 shared lines): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:38-159 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:50-197 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:39-166 | app/src/main/java/com/example/gsyvideoplayer/ScrollingActivity.java:52-170 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:171-368 \u2014 These 5 members are variants of one another: a block of 52 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c09aeaa360c956600143349f6cdbe8f49426b96d2e89f5e47d119e2db2db3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 25 shared lines): app/src/main/java/com/example/gsyvideoplayer/compose/host/CacheDownloadComposeActivity.kt:106-215 | app/src/main/java/com/example/gsyvideoplayer/compose/host/DetailFilterComposeActivity.kt:76-159 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ExoSwitchSourceComposeActivity.kt:93-173 | app/src/main/java/com/example/gsyvideoplayer/compose/host/SubtitleComposeActivity.kt:83-204 \u2014 These 4 members are variants of one another: a block of 25 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/CacheDownloadComposeActivity.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d77a4ad1a3715890b357ea269656ecefe0c3a3dd88b550d583cfab5e676e9cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:198-219 | app/src/main/java/com/example/gsyvideoplayer/video/FloatingVideo.java:156-184 \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/example/gsyvideoplayer/exo/GSYExo2PlayerView.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9542f2d45fef2f16b1c8d4b6d7eb2b7848b11ed9cf0244d56eb5ee5402c1827b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DuotoneEffect.java:33-73 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/SepiaEffect.java:20-50 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DuotoneEffect.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3f2a69d74231aa8ff05aac9acf97385422d91b87159a653c90a8ec41d1dd21"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:43-79 | app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:57-77 | app/src/main/java/com/example/gsyvideoplayer/PlayEmptyControlActivity.java:38-68 | app/src/main/java/com/example/gsyvideoplayer/PlayEmptyControlActivity.java:51-66 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:43-79 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:57-77 | app/src/main/java/com/example/gsyvideoplayer/PlayTVActivity.java:43-79 | app/src/main/java/com/example/gsyvideoplayer/PlayTVActivity.java:57-77 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10e0a36b11653b354bee084b3324eae0cd9f20c25dd33a7b769f8bca1141fb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:317-331 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:450-464 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:309-323 | app/src/main/java/com/example/gsyvideoplayer/WebDetailActivity.java:153-167 | app/src/main/java/com/example/gsyvideoplayer/simple/SimpleDetailActivityMode1.java:86-98 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c832ebbcad91d4b3105fe7c05c998f21e2804334c26e35e2602b5ecc7ccbe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:153-288 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:159-303 | app/src/main/java/com/example/gsyvideoplayer/adapter/ListMultiNormalAdapter.java:60-134 | app/src/main/java/com/example/gsyvideoplayer/adapter/ListNormalAdapter.java:73-229 | app/src/main/java/com/example/gsyvideoplayer/simple/adapter/SimpleListVideoModeAdapter.java:61-109 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9413b847a4b604d8c0cb7ec02bc3a77a04a499b114e60e868915427221095f46"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoVideoManager.java:182-190 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleVideoManager.java:150-158 | app/src/main/java/com/example/gsyvideoplayer/video/manager/CustomManager.java:179-187 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoADManager.java:115-123 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoManager.java:143-151 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoVideoManager.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc7e4ce206255318a83a634f0f6b06bd9895e3e44110381029a92f8392d2d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:253-278 | app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:36-72 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:624-655 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:658-696 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"2819b45a8d1421a2f1f919e8ede7abce4f067a048c468ec225fb15d1bd30fc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:64-76 | app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:84-96 | app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:103-115 | app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:123-135 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc0040b0bf896991505cd0134422fcb27c96ad3de95eb551294b5400b5a2064"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:214-222 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java:216-224 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:260-268 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java:321-374 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ca216b720f90f6b4f4372b92315bf297fe49609fee1a2c15e65c36ab23035f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:87-107 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:494-514 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:517-536 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:577-592 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e9a966e2ca4ead05dc0a896b464f9275641b77f627eafaf09ebab658bb5397"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java:42-144 | app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode2.java:39-123 \u2014 These two members are one piece of code written twice and then edited apart: 85 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/example/gsyvideoplayer/ListVideo2Activity.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7fe89d3f9b3586b55946fbda3dea61791287f4ab30513493403118931e5038"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java:60-130 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:532-616 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e22da3b5afde449ebebdf08f814d62a30298c4bee2325ab15adee18fb669f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java:45-118 | app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemPlayNormalHolder.java:43-112 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64a3b3f05cc435d8dcaa91aa998498b64c69acbd1640d9cb4f5e3a6cbe89c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:54-116 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:59-122 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/example/gsyvideoplayer/RecyclerView2Activity.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"16142dcfc83ce547b52b3b1a7caed7381b748f31feb21ccef95b584f6c03e0d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java:62-124 | app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java:76-147 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/example/gsyvideoplayer/video/SampleControlVideo.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8b4caf04dbb273b08896ec206e7e68ca6c4713432bf8f5fbdc64ce5304847d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java:119-170 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java:143-203 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/example/gsyvideoplayer/view/CustomTextureSurface.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"158a99a6cd6df15b482e132a5b73bf962ab76024e3d423b94e5a1458619918ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java:41-110 | app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java:37-102 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b22bdefe1b9c7486f5bb296468ecda9ecc10e7da205f39256a6c1d01516bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:125-176 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:145-196 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/example/gsyvideoplayer/RecyclerView2Activity.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfb20685bbf2b8f8713645d6fbb5be0db5b0896168f15486101be9b34f2c436"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 58\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:38-95 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:43-101 | app/src/main/java/com/example/gsyvideoplayer/ListMultiVideoActivity.java:36-96 | app/src/main/java/com/example/gsyvideoplayer/ListVideoActivity.java:32-90 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 58 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/example/gsyvideoplayer/ListADVideoActivity.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7291c294f84e81cd52587bcc046ea7dcb59ae217641a5ed386041faa478c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:64-141 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:56-133 \u2014 These two members are one piece of code written twice and then edited apart: 78 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8082fc58bd0b31774037bc041e6b58a26ed29c18e129ac101a2a21a0772b186d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:81-151 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:81-135 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c726d01181c0d7dd85e12d07906f59409659fc1167e987fa5a9e034cb2ea92a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java:47-82 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java:48-83 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffbc171d1c61611cdca91b911ec81fb00d4b4b8f710e6188ec28c5f4fab26fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:260-291 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:306-334 \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"232f15c598b669e3392c8b932960afc09e129d512bf7d9c3961be59abd3e4a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2MediaPlayer.java:175-220 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayer.java:35-105 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java:366-405 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 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/example/gsyvideoplayer/exo/GSYExo2MediaPlayer.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa944cee30bb009cd0863372adaf35ee44f7456c9c720f62e5853465f4f12112"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode1.java:23-67 | app/src/main/java/com/example/gsyvideoplayer/switchplay/SwitchListVideoActivity.java:22-66 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/example/gsyvideoplayer/simple/SimpleListVideoActivityMode1.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1711e18b98a96e2f1b5d0e30d57505206339fd22331fc61febee67e5c3027b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:228-265 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java:230-268 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b5aab499febdcec8f6c245dcafbda3e0239d890c301b55e1044d1fecd96e94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/ViewPager2Activity.java:28-74 | app/src/main/java/com/example/gsyvideoplayer/ViewPagerDemoActivity.java:28-80 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/example/gsyvideoplayer/ViewPager2Activity.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bcea9a9e468110a09530c834f0cf33cba4e2d1017a366ba9abce97b95cd487"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/adapter/ListVideoAdapter.java:72-106 | app/src/main/java/com/example/gsyvideoplayer/simple/adapter/SimpleListVideoMode2Adapter.java:67-99 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/adapter/ListVideoAdapter.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f32dfb77366845f6f74c6a77c9af4a23b6045c73e483851d86151776d849b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2MediaPlayer.java:179-217 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayer.java:39-102 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java:369-403 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 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/example/gsyvideoplayer/exo/GSYExo2MediaPlayer.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0fc22c89980bb853a735f5b0c602d8676a92b9dc69c99bb3acca250090be73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/wrapper/GSYAnyVideoPlayerView.kt:35-78 | gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/wrapper/GSYVideoPlayerView.kt:36-85 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/wrapper/GSYAnyVideoPlayerView.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"311d5f968ddcca625789afa7e56c67d06f94a3c3250339121e296e1a82150a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java:99-134 | gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENPlayView.java:67-97 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9fb917c19aedd65e26023093f33db959df6e045e86e44e453a95c5faa09d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:123-159 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java:125-161 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:185-221 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 37 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/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2e6e42b1e8d3a360f6257bb8ca35f4d1331e43db24f327688a7f78e7e5350c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java:38-67 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/SystemPlayerManager.java:53-78 \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":"gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"af32a05290eadc6630caca12d65236db8c86e838776462abb8deb86cb6d6d53b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYADVideoPlayer.java:213-234 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYSampleADVideoPlayer.java:250-274 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYADVideoPlayer.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bd92032e132cf8f6b42ee967feb269c40ab6a63d811a8d238908732fcaea6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:159-191 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleVideoView.java:52-84 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:346-373 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"934c98c5978f1e946d9c591c504690810b551e01c121819fe5240ddd67324ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/compose/host/AutoPlayListActivity.kt:205-242 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ListPlayNativeActivity.kt:179-231 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ListWithFullscreenActivity.kt:142-179 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 38 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/AutoPlayListActivity.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f21a84f0a81ff69c7db2ac2d0173ff797dd1cd60f9a6491ebbef1423a9c9cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java:239-262 | app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java:294-318 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e147b006c493025c576a221a1e27b1073831f0e27032611cad67660c725114b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:237-263 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:274-303 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"3319a037f30556906d50246416d80744e65b3050cfaf7ddd54eb0ac574f632b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/CommonUtil.java:113-138 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/CommonUtil.java:141-164 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/CommonUtil.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f596dd07bf88f069c58d398bc37918463986a468aa240f9aaa6d051af765e0b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:271-298 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java:274-302 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:309-336 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b694918f9271202904675bce62ee23893b42fd26cce04dd103020bdfb071ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java:101-140 | app/src/main/java/com/example/gsyvideoplayer/video/SampleCoverVideo.java:123-163 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java:417-453 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 37 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/example/gsyvideoplayer/video/AudioSampleVideo.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f3fcb22c56e2365e424d9fc8542f0180042ebc921958ab294037cdc33f86f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java:238-265 | gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java:267-298 | gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java:300-329 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ac7107d189ef84587b6941dbf62364e75a2e72fc733e9bf45bb59164773cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:416-451 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java:421-456 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49ee93eb848b2992f4aed4163d6dc452da3b50a203412af52d0d9c9d52a87e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/compose/host/MoreTypeComposeActivity.kt:138-160 | app/src/main/java/com/example/gsyvideoplayer/compose/host/MoreTypeComposeActivity.kt:168-191 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/MoreTypeComposeActivity.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaea1ba881453c70005d02d05fd77ab5d1b4793517084b35b51d041c647d61c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:226-250 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:673-694 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bb57c2c00253622ea2c504bf1aa503a0800ea4d39b85e00a23f904a9020312"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java:110-131 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:80-104 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:86-110 | app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode2.java:89-110 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc556a3bf4deffae970558c944edf257d64f590a71c59b232269d952906814fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java:70-90 | app/src/main/java/com/example/gsyvideoplayer/fragment/VideoFragment.java:73-91 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead8c259a6bfcff210aefdf0b8bd6a64b3f9fe359209c0e98538f43336f80445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewMultiPassRender.java:131-158 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewSimpleRender.java:104-133 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewMultiPassRender.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f715dea911e3af19189f0de8c39eb93849b21dd91f7694b09ed69df8a0bc265"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENPlayView.java:170-188 | gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENPlayView.java:190-208 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENPlayView.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d010a375cd507b4de17d4dd64a1d8420d8218c3e2cb8a621ce7321a43d78bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/ListVideoActivity.java:58-75 | app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode1.java:38-55 | app/src/main/java/com/example/gsyvideoplayer/switchplay/SwitchListVideoActivity.java:37-54 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ListVideoActivity.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc92e94eb68a8a279adec0963268ded157a84c2ba4aec3d7f10748e919afc098"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoVideoManager.java:121-133 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleVideoManager.java:89-101 | app/src/main/java/com/example/gsyvideoplayer/video/manager/CustomManager.java:53-65 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoADManager.java:54-66 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoManager.java:82-94 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoVideoManager.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffae194d9281686a3e370a0d6f8f148bee1109fb88c3178fff0ad7b2265685ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:456-471 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:559-574 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:749-764 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2c1a401c102e9e2cb2f3132e38b96a255f9865fbedb6d201351cf56fcf91d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java:324-343 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java:346-368 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java:371-390 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java:452-472 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"600967256ca6ac438517ed639977f82bd771131aed1a31d30b94a9facde89a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:294-314 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:385-405 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:286-306 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1689fc2a5dc0c04f0f6bb7271c65af8c4e8f3034a07c43bc99103c05aeecd5e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/builder/GSYVideoOptionBuilder.java:617-637 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:795-817 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/builder/GSYVideoOptionBuilder.java"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06218c93be3f04278470c437c89e0d1f9bf4c0a2d0ffb6210f722c48e406497"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:1083-1099 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:1102-1114 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"1106a1c192953e01d2f35a478551a72d5b373cce9db36c89a0f1344c58ce1e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/compose/host/ExoSwitchSourceComposeActivity.kt:46-64 | app/src/main/java/com/example/gsyvideoplayer/compose/host/SubtitleComposeActivity.kt:50-68 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/ExoSwitchSourceComposeActivity.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b98b6dc5852ceb1095418ee7d5ca49ffbd9ca19c2d3b6b213923f44b87eb8ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:108-120 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/ListGSYVideoPlayer.java:97-107 \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/example/gsyvideoplayer/exo/GSYExo2PlayerView.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faa8b4fcbd8901401772f4d9b85b75a3d9d768f568f45e15b893b7f3e4d3547"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/ViewPager2Activity.java:104-116 | app/src/main/java/com/example/gsyvideoplayer/ViewPagerDemoActivity.java:109-120 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ViewPager2Activity.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfe1ef2b93cec936a642ac5dc7c881aa59a685e83d8476d2209a92ac1a5cc1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/compose/host/FullFeatureNativeActivity.kt:317-325 | gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYDefaultControls.kt:164-172 \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/example/gsyvideoplayer/compose/host/FullFeatureNativeActivity.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"0693496bac9dea341a6aba6e215b134d8c89e57593225240850280237300ce12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java:632-643 | app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java:645-656 | app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java:658-669 | app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java:671-682 | app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java:688-699 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b5defb7f0e45c260ad2726a6a475cc2f413d408b3a48f5a7c77c9c76bde23c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java:918-931 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java:939-951 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd746fc68374c380ea4c4a4f1b68b1f620c008f264cd6e04d72814b3778d4ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/video/LandLayoutVideo.java:138-153 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYADVideoPlayer.java:111-124 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYSampleADVideoPlayer.java:150-163 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/LandLayoutVideo.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8442e39b48cd111ea1c761d3f4e7b87da19e0f1c4c4f4c8930aa8e00f82e5348"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java:81-95 | app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode2.java:60-74 \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/example/gsyvideoplayer/ListVideo2Activity.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b61e2468411e555afec1fe1391eb8eadd708bceb1215790266c2e38e848275"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:134-144 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/ListGSYVideoPlayer.java:120-130 \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/example/gsyvideoplayer/exo/GSYExo2PlayerView.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9062b5780000f4695d2d1c3d11eac222042b10aaa460c83d949e31cd528c3c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYADVideoPlayer.java:149-160 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYSampleADVideoPlayer.java:192-203 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYADVideoPlayer.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82aa56f15e6c0541a037de4b2c6bd0f0d95f9d16749924a135d862d4599b6e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYADVideoPlayer.java:45-59 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYSampleADVideoPlayer.java:54-68 \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYADVideoPlayer.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f2262ee0518452cc74557122a7a6e1c86210b8d79038915762537fe33227a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/cast/CastReceiverFloatingWindow.java:202-212 | app/src/main/java/com/example/gsyvideoplayer/cast/CastReceiverFloatingWindow.java:217-227 \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/example/gsyvideoplayer/cast/CastReceiverFloatingWindow.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd72154e8d9ea372c8051d5ed515394c75b8ed2462067439de79445589a1528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java:64-77 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java:62-79 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"37817c25751082d9661cff21bc4fb0124806bd4e36635ef042b7c8d016f172e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 16\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:149-164 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:331-347 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:141-156 | app/src/main/java/com/example/gsyvideoplayer/KeepLastFrameDemoActivity.java:57-72 | app/src/main/java/com/example/gsyvideoplayer/WebDetailActivity.java:120-136 | app/src/main/java/com/example/gsyvideoplayer/simple/SimpleDetailActivityMode1.java:54-70 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5373ecb5b170e79c9d6fcdb6b020865a7efd4f2f8a47eddb747ab34bb481f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java:291-301 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java:314-324 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java:294-304 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c42d1786dbd08ba89bb63b4c2b27709107be6ae2b72b5b4235165f8ceadcd94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java:40-48 | app/src/main/java/com/example/gsyvideoplayer/video/MultiSampleVideo.java:48-56 | app/src/main/java/com/example/gsyvideoplayer/video/SampleCoverVideo.java:52-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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/example/gsyvideoplayer/video/AudioSampleVideo.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ef4ea1c288dbdd9fb6c277d68b186ced6585dc32defb613f4fa4dfbfe1ef1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java:266-277 | app/src/main/java/com/example/gsyvideoplayer/video/SmartPickVideo.java:177-188 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dc48217cb63a5a50dc07b1d476d88ba66e0b248967afeaed0d8711a996c0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYSubtitleLoader.java:123-134 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/RawDataSourceProvider.java:66-78 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYSubtitleLoader.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca28542d90243324d52cedf20051afdc194b0417eba84be22ae07631dc7db3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYVideoGLView.java:191-203 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:992-1002 \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYVideoGLView.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"891ae066aa530009dbe6de2cf514c9b833aff9b7582ecb5f2869fd7c308bd038"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/ListGSYVideoPlayer.java:133-142 | app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/ListGSYVideoPlayer.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42b18373691b463a3d8fa6898e964c314a7474d840156f149dbe9b7732097fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:181-193 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:173-185 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYBaseActivityDetail.java:37-51 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"752a0b887b9949fb8a51770a59cf54a7d4554d0214c272f15ab27c6b9ac4d667"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaSession.java:179-188 | gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaSession.java:202-211 \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":"gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaSession.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa971c6ee96c584999c824d5b9b75fda0e843325315622936d0514b605ba7190"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaSession.java:418-433 | gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaSession.java:435-449 \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":"gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaSession.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"3381a1a5673487ec146c109c3a5f7d4056ddfd7a5b19fcba9bf0b12d34190efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/BloomEffect.java:118-131 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/IterativeBlurPyramidEffect.java:67-74 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/BloomEffect.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"100c26c9be1f5f62faf2723c552e36c2f15b1c834df927aab84a892ae342116b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/cast/LoopbackAvTransportService.java:180-187 | gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaSession.java:465-471 \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":"app/src/main/java/com/example/gsyvideoplayer/cast/LoopbackAvTransportService.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"83baf0d27f9f4054cea53f3a7edbcddf0a6474b82ce72988faa13d70ea89d778"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cache/CacheFactory.java:15-27 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/PlayerFactory.java:15-27 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cache/CacheFactory.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73e50c1d77ede6e775ef5e7b061e90ccd89a8fd2eef957971a9f4bad3b2738b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java:283-293 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:253-262 \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"566bfeac6580fbbf566ae37978e5e096e820e64580a6aa96dbb34d6a91cde855"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaSession.java:451-463 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cast/CastCapability.java:247-259 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaSession.java"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e235c2627e44737187d750ff8a94bf5587ca72f62c1385f47c87e77f0519e251"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/WindowActivity.java:66-76 | app/src/main/java/com/example/gsyvideoplayer/utils/floatUtil/FloatActivity.java:42-53 \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/example/gsyvideoplayer/WindowActivity.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58a8135c4041b28a72c9491ae65933fb9af98bb14a70ba0fc2afcd109013c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoVideoManager.java:58-64 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleVideoManager.java:55-60 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoVideoManager.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"950ee55304efcbbf9fea43452a5d831799dd5767c582daf61844bc3ce3f8023f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java:190-203 | app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java:241-256 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f0ec61dd3f9374bbe2eee8c723aa3e027b586491be16f99da51e81d8208eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java:191-196 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java:114-122 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ada51834b35142886e3e9fc5fbaf313a51fa9a81227486c01b4f9d0a3dc6a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java:199-204 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java:128-136 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec0c0f0e078d9088f5ba7e89fe5125bf8e6e07f3412992a67eb2569959c1888"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender4.java:55-61 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewMultiPassRender.java:112-117 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender4.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c26270353769966897027dafeed91abd521bdf8707a2d3864533eba6f4b19eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/CastDemoActivity.java:86-91 | app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:74-79 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/CastDemoActivity.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccdbd0579a7533ac71055cbf775b195465829ad9db6a6c724a5b5d9c2311684"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java:239-248 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:214-222 \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/example/gsyvideoplayer/DetailDownloadExoPlayer.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69beef4366f1539e0d4ec16070c86d9684080716a887ee11560ab5e35b731cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/GSYRenderView.java:158-164 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:899-905 \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/GSYRenderView.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c1dc81310d2368740c4d1a2e0c2acfbb2cdf5de2733e17dcc6f0ff3e712a4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:255-258 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:442-445 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:247-250 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdcbedc0da99bc01f63694649f56cbe272964736de3676652c315e2d437dbff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java:239-247 | app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender3.java:65-71 \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":"app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e747bb0bd96899d6a628494dc74124091694f75024bb5fb9ff6a4f6df35cc11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYBaseADActivityDetail.java:98-106 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYBaseActivityDetail.java:63-73 \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYBaseADActivityDetail.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0d518d1288e0a27e75af04a413cd6c68e81083cd862422be0fbb1a1d27ced6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYVideoGLView.java:194-199 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:995-1000 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYVideoGLView.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"26db57690f354dfc396f7a13e4bd1d0e4fb5e7b5378c68484fe0ad8aa664c462"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/DanmkuVideoActivity.java:171-181 | app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:167-175 \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/example/gsyvideoplayer/DanmkuVideoActivity.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"642f81bef0edebd30474e6b534025f117930c705192566162a75f401d8abc9be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java:102-110 | app/src/main/java/com/example/gsyvideoplayer/exo/ExoAdaptiveTrackActivity.java:68-76 \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/example/gsyvideoplayer/exo/DetailExoListPlayer.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"64776c89788060b99210ade8341a771bc18a2e1d5885e15fdc2e16cbd2c3d6f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/GSYRenderView.java:138-144 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:879-885 \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/GSYRenderView.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e666c8b868e85680d28e9f9f6ea7864d7500176c790956106da29f44b01c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/GSYRenderView.java:248-251 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYTextureRenderView.java:124-127 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/GSYRenderView.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"9795f4d84c9405c566cfb5916ba9fdd2df6176602d8d1b29a985770ea7a5539d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java:58-61 | app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java:64-67 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java:61-64 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java:56-59 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7f63e19edf9f32b6b60932792642d8c400e06f1ab6d994cc255c8680570a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecVideo.java:46-49 | app/src/main/java/com/example/gsyvideoplayer/video/CustomRenderVideoPlayer.java:28-31 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYTextureRenderView.java:114-117 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecVideo.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb0a71e2dd81397a445bb01304a2d573691e4b0194ffc57cba7e05922958b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/SharpnessEffect.java:20-29 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/VignetteEffect.java:21-29 \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/SharpnessEffect.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"df60cf8449f42fe931bdc9bb8efeaec3724958726e71ad0c6fad6f0bdb1ff5a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/example/gsyvideoplayer/WindowActivity.java:58-61 | app/src/main/java/com/example/gsyvideoplayer/utils/floatUtil/FloatActivity.java:33-37 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/WindowActivity.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b482a7cb2c1ee8509567600f8724140a7abf1836ee778e3b55d381b981fd8c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:160-222 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:166-228 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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/example/gsyvideoplayer/ListADVideoActivity.java:160\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac8b304ec853425011ec6c8fa8352923bce9ef3aa98a1aa40cdd5521a70534c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201359 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:93-151 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:87-135 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 150 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/example/gsyvideoplayer/PlayActivity.java:93\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/example/gsyvideoplayer/PlayActivity.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65d299abb0955f29e5d03bd37ddb337a8ae35d2362ab6cbb30c1e570e358890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:234-288 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:249-303 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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/example/gsyvideoplayer/ListADVideoActivity.java:234\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e648a5c6039de86dcb83893e82932bd40f4c75bb88d0fc0e6b32df579e448936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201341 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:42-81 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:47-87 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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/example/gsyvideoplayer/ListADVideoActivity.java:42\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ab762e043ace3590dfc792ee9432c5f4304cea37eb8ab397372c0e42f2dcf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201341 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java:61-96 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:534-574 \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/example/gsyvideoplayer/video/TvVideoPlayer.java:61\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.example.gsyvideoplayer.R\u0060 in one and \u0060com.shuyu.gsyvideoplayer.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:577\u0060 calls \u0060printfLog\u0060, \u0060hashCode\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java:97\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/example/gsyvideoplayer/video/TvVideoPlayer.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3f0c7edfd548a0bdd4c85681fff6e3a61ff1781914af8ba2546ef4223cf104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:69-107 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:61-99 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 161 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/example/gsyvideoplayer/DetailControlActivity.java:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"787a2a976a32051cb91a96c0b2910c6ac2747658291f3c4dc6c3f5f07d8509f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java:87-124 | app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java:110-147 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 111 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/example/gsyvideoplayer/video/SampleControlVideo.java:87\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/example/gsyvideoplayer/video/SampleControlVideo.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"070d14995e0bcfe0eb6953656b7fdd197e5008d827b93f5b2d94335dd0f148b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java:133-170 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java:166-203 \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/example/gsyvideoplayer/view/CustomTextureSurface.java:133\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, \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java:163\u0060 calls \u0060isRecycled\u0060, \u0060recycle\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java:132\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"634ba9116b7c461f0a739f8d0ecc3ba3e24f18b9a2402c0dc1e9d390ab4e95ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:57-92 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:62-98 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 112 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/example/gsyvideoplayer/RecyclerView2Activity.java:57\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/example/gsyvideoplayer/RecyclerView2Activity.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b908728cffc54d2fca9f157c9b1ea27054e412023e5b02c911f5bd502955d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DocumentaryEffect.java:29-64 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/LamoishEffect.java:29-65 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DocumentaryEffect.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7289ef0f3926ad31a0c6c2e7b88a53ed9eaf4a41bba7a19da929b1cd714a9078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java:87-118 | app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemPlayNormalHolder.java:80-111 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemPlayNormalHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java:87\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/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a2acd129459b3d887339f2705be7cc5ab791bc0744cf80d7e1e23184e49b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/adapter/ListVideoAdapter.java:77-106 | app/src/main/java/com/example/gsyvideoplayer/simple/adapter/SimpleListVideoMode2Adapter.java:72-99 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/adapter/ListVideoAdapter.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/simple/adapter/SimpleListVideoMode2Adapter.java\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/adapter/ListVideoAdapter.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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/adapter/ListVideoAdapter.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c518403cc20cab8d85acb44e4803f465d22db5f1682e2342c0ccd80db6651eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 5): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:90-118 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:107-135 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:97-125 | app/src/main/java/com/example/gsyvideoplayer/ScrollingActivity.java:99-127 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:262-289 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 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/example/gsyvideoplayer/AudioDetailPlayer.java:90\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/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3171dc069445ec4f419c472d8effc86b5d78f33c7a670f2d42c7a452cf37be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java:147-173 | app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java:170-196 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 111 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/example/gsyvideoplayer/video/SampleControlVideo.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2032fdfb09523ebe4fb8a3d0cdc0bc19ed033b268e3fb5d1312808e4d7c0f8d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DuotoneEffect.java:47-73 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/TintEffect.java:40-64 \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 \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DuotoneEffect.java:47\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/TintEffect.java:36\u0060 calls \u0060red\u0060, \u0060green\u0060, \u0060blue\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DuotoneEffect.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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DuotoneEffect.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dcc0ced382235bfb1001f772c1e2382afa7d310bb7d4cf7106566d995ddeeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:125-149 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:326-350 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:125\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/example/gsyvideoplayer/SubtitleDetailPlayer.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"170f41c3f76571e6d368c48f9907438f80ecaa6b04c6b9dfe0c473f32b6327f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:275-298 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:313-336 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:275\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/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b6ee2b6efc3190d1791eabeddde4e66d36212bef3f80cf7bf375d01906a3da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java:64-87 | app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java:79-102 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java:77\u0060 calls \u0060findViewById\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java:62\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/example/gsyvideoplayer/video/SampleControlVideo.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"602339fac36b7dc878a007e96effdb696041feddbc53e8dd4237b101a71cfc11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:154-176 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:174-196 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 112 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/example/gsyvideoplayer/RecyclerView2Activity.java:154\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/example/gsyvideoplayer/RecyclerView2Activity.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d899dfbd463fb21e737853954886679241e5966279b9125b996874a9f0f62493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java:97-118 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:579-601 \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/example/gsyvideoplayer/video/TvVideoPlayer.java:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.example.gsyvideoplayer.R\u0060 in one and \u0060com.shuyu.gsyvideoplayer.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f4e85cb3b510470174327e037d036fb44b431e607716fc8cb009fb922f1a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201322 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:61-74 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:51-64 | app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:158-179 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 218 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/example/gsyvideoplayer/DetailDownloadPlayer.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c97d5cad2b11e0700532da725c07f6498ace13d7c5ff88909baccb73bf590d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 3): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DocumentaryEffect.java:26-46 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/GrainEffect.java:37-58 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/LamoishEffect.java:26-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DocumentaryEffect.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c4ae55d970e1b0030f5ec8b1365d565316f8e6f9e253bb5cc6403680fa1637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java:240-261 | app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java:295-316 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 111 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/example/gsyvideoplayer/video/SampleControlVideo.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54ea7fd9c42c113c85eb4fbdf63b66d84730dc5e9a3a3e458d054517a9cde8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 6): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:107-126 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java:153-172 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:124-143 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:114-133 | app/src/main/java/com/example/gsyvideoplayer/ScrollingActivity.java:116-135 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:279-296 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:107\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e591c6854c7bbba7689ff11c008e629dd404cf87d3ef27214ebb0e35b1859fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:237-254 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:247-266 \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/example/gsyvideoplayer/DetailPlayer.java:237\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/example/gsyvideoplayer/DetailPlayer.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"6112db50144db95a54d773942b2609a12191582c7963b3ad6b13794314e33596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java:102-120 | app/src/main/java/com/example/gsyvideoplayer/video/SampleCoverVideo.java:124-142 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java:418-436 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/SampleCoverVideo.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d35f0fc963bc0318b717a474fcae6ada34c66281f39c04d9b4d4efbb935c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:52-70 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:52-70 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 150 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/example/gsyvideoplayer/PlayActivity.java:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3119c05139c4e35f86293fbb96f06f25b9380dfec8bdb98ec50974be5c5fd96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:210-228 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:433-451 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8242ee17e86cba8c21ffb0bb98a6f82d27e9e3c14d998c43300283ede5273d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:222-239 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:409-426 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:214-231 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 94 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/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26d5d6d1c771d308d894501bc184863ef810f208823c64d0bc122b14d1e64f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:75-91 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:207-224 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 202 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32f6a243fb794c2caa8c08e0ecbdfdcd45de8d30b9d5472f62393af59e86fa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java:62-79 | app/src/main/java/com/example/gsyvideoplayer/fragment/VideoFragment.java:65-82 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/fragment/VideoFragment.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8090261a4163d61f568d7d7ddcd3a0cd3ff8633060bc3653c1d6f3b5512906f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java:804-821 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java:829-846 \u2014 both copies are in the same file, so extract the block 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 \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java:804\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f923ff7224f746cc69c3e066bbc9106042c23ab6e632573498d575be3991fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 6): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:87-99 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:104-116 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:94-106 | app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:247-263 | app/src/main/java/com/example/gsyvideoplayer/ScrollingActivity.java:96-108 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:259-271 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 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/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb5a6914311bde738e93ed62a4537dc1bbfd0573c3db9ebed6f292fb95d4e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:99-115 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:116-132 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:106-122 | app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:272-288 | app/src/main/java/com/example/gsyvideoplayer/ScrollingActivity.java:108-124 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:271-287 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 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/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26ea25073012866d7fe8a87592a8d0ec4ec55f0b978df124a62ecd1f3ac0713"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java:127-144 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:100-116 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:106-122 | app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode2.java:106-123 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java:127\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/example/gsyvideoplayer/ListVideo2Activity.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3ed52d36cb44ce2ea3fdca76256ec27028e8198d8b56781bf1b8dcfd4fe576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:54-70 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:44-60 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:177-193 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 218 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/example/gsyvideoplayer/DetailDownloadPlayer.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8c589ed3b91eb8f9d4534b223502bed8329777788522e2fc674539c1125439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewMultiPassRender.java:132-148 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewSimpleRender.java:105-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewMultiPassRender.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"100f5389fe19b5d5866cdbb9602d92be8779e8a9ff0109bb66f4f784ecc3392f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewMultiPassRender.java:468-484 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewSimpleRender.java:307-323 \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewMultiPassRender.java"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ce6a9cd7be50f4eb5866c7b55a1f02fb378e5f8fef215dfc3aa91fb0259c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:475-491 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:540-556 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"daeb26c617be47373cb1da7afb76698916fedcf0e5e255516adcefccd2632de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201316 lines \u00D7 9): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:116-131 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java:162-177 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:133-148 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:123-138 | app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:408-420 | app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:421-425 | app/src/main/java/com/example/gsyvideoplayer/ScrollingActivity.java:125-140 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:288-300 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:301-304 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8168c25ccd3775acb72fa7ecfaeb570581ac7f1949440dad939a6934b854ce61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:262-277 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:792-807 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:254-269 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 94 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/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47b13f2abbd74f001ef5c5e3382439d9ada59e98fface84a1ac4c0239a4f838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:82-97 | app/src/main/java/com/example/gsyvideoplayer/PlayTVActivity.java:82-97 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/PlayTVActivity.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 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/example/gsyvideoplayer/PlayActivity.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbff03bf23a0b4ff4358ba5e61f5a3c947a24c401e380f1ebe6fb1f4679e1a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java:177-192 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java:184-199 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b8917ce0d5c2615bbf2760a831b9c654284daefee4cab396df9f596b30edab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:65-79 | app/src/main/java/com/example/gsyvideoplayer/PlayEmptyControlActivity.java:54-68 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:65-79 | app/src/main/java/com/example/gsyvideoplayer/PlayTVActivity.java:65-79 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/PlayEmptyControlActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 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/example/gsyvideoplayer/PlayActivity.java:65\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"18881d460118d2dbea0841b68c0c66e9c766bcb4807cecf35e62df839ebede41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:126-140 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:294-308 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:118-132 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 94 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/example/gsyvideoplayer/DetailControlActivity.java:126\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/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6462a521b28cf5bba65460358f547d848db187f1c578d074974eb294a20c2d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java:117-131 | app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender4.java:76-90 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewSimpleRender.java:341-355 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d7227dedd0054f1a4ef7bd2e9b8ed7ac5a51fdf24f9959cf42afada7313550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2MediaPlayer.java:183-197 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayer.java:46-60 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java:373-383 \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. 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/example/gsyvideoplayer/exo/GSYExo2MediaPlayer.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d41c19d89b86fc4a46362cb9f891fd84b0187d72f54a5aba9fc47b2a06c1a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java:286-300 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java:274-288 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/SystemPlayerManager.java:282-296 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java\u0060 and \u0060gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"264c6911d4f76b6597cf045ca5970da052a882922d92a8ac793bdec54444ed44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java:70-84 | app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java:80-94 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java:70\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/example/gsyvideoplayer/DetailListPlayer.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceef6642f8bc94099821c235728eed5e997dbcc3afd52b77eecc5977f0ed7c7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:283-297 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:660-674 \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, \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:678\u0060 calls \u0060abandonAudioFocus\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:300\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/example/gsyvideoplayer/exo/GSYExo2PlayerView.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0542286c112a14fc53dc1e5948dc692c544aca72c924b1db53a53229aa663e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:386-400 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:97-111 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"074935a41852eafe4a294e333037fb644654710a3f35229893f2919a743432b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:58-72 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:641-655 \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/example/gsyvideoplayer/video/KeepLastFrameVideo.java:58\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/example/gsyvideoplayer/video/KeepLastFrameVideo.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae9afc39e132dbd1c9e9f67cc400bb72ba4caf0d0ef4a8d6e2109255f38b26a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:72-84 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:62-74 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:204-217 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 218 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/example/gsyvideoplayer/DetailDownloadPlayer.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ff139ad978a7cf76f4eef5c61227f6aa109cea3bf55dc12a1153d349bc56dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:187-200 | app/src/main/java/com/example/gsyvideoplayer/PlayEmptyControlActivity.java:112-125 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:171-184 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/PlayEmptyControlActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 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/example/gsyvideoplayer/PlayActivity.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da6d0a78a492c2b3cf2214a0fbc5154444c37ba7459a3040a36a0622d5d268b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:60-73 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:67-80 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 188 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/example/gsyvideoplayer/AudioDetailPlayer.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/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a00c24b75aa38e71659880174bd63e9ec7170e8c2e8c529c80afdef8bca48b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java:44-56 | app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java:40-53 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java:44\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java:60\u0060 calls \u0060ScrollCalculatorHelper\u0060, \u0060getPlayTop\u0060, \u0060getPlayBottom\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java:55\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/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"907934b73c48ac2da2ff12795523427edf195c708237f96f992774cc23c0680c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:151-164 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:143-156 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 161 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/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"456d2647b3e26a1f234646dd9c4a29c06ab9f393b685f534eefd98330ee5328d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:344-357 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:336-349 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 161 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/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae69151a850f8932cdb425be48711d81fb709ef1b87f1cd1c82c991af3d00796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java:220-233 | app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender3.java:47-59 \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/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java:220\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/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac2783555027a53bdf091a9ab8dffefef790cb68f45b9a8453e1c31cdc692ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:127-140 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:189-202 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:127\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/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2be9643dd355989ae73b7b51d54ad01146f2859f47cd74f34eb2f3b440c75a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:495-508 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:518-529 \u2014 both copies are in the same file, so extract the block 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0592d6339232094552eaf89ef1b58add84ea0f99f2a3e4a2e1f1ecc2839a493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:685-698 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:734-747 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc35580070dff728c2c17f93f981aa064090a9373bb01b20619148e80002a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:94-106 | app/src/main/java/com/example/gsyvideoplayer/DanmkuVideoActivity.java:110-122 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:111-123 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:101-113 | app/src/main/java/com/example/gsyvideoplayer/ScrollingActivity.java:103-115 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:266-278 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 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/example/gsyvideoplayer/AudioDetailPlayer.java:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:107\u0060 calls \u0060printfError\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DanmkuVideoActivity.java:126\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cdc2c4784211a1c93956016b767110273333684f87486c60629372ed699b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 5): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:319-331 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:452-464 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:311-323 | app/src/main/java/com/example/gsyvideoplayer/WebDetailActivity.java:155-167 | app/src/main/java/com/example/gsyvideoplayer/simple/SimpleDetailActivityMode1.java:87-98 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 94 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/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"097cd4556c7599ca28ee285b9ace051ec044ec88a05441c1194efd810dc39919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:186-198 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:192-204 | app/src/main/java/com/example/gsyvideoplayer/adapter/ListMultiNormalAdapter.java:85-96 | app/src/main/java/com/example/gsyvideoplayer/adapter/ListNormalAdapter.java:141-152 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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/example/gsyvideoplayer/ListADVideoActivity.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"da67f5c66f5c5686847ea2c46b1599d6541c80c171aaa5d8301fddecbc6b4d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:265-277 | app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:58-70 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:641-653 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f11fcccd28c140d5dcdbaa21c513ddaa7f11722d8dffcfa4c04a0e6e8191b15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java:140-152 | app/src/main/java/com/example/gsyvideoplayer/DetailMoreTypeActivity.java:118-130 \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/example/gsyvideoplayer/DetailDownloadExoPlayer.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":"app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b38631176482f091412ee6a002bac63611c0a2355bb72c78e867d41af60071f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java:59-74 | app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode2.java:47-59 \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/example/gsyvideoplayer/ListVideo2Activity.java:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"350fb27cdc05180e55a8f00c32cd753d63964e94eed858bc6891a26969188635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:199-217 | app/src/main/java/com/example/gsyvideoplayer/video/FloatingVideo.java:157-176 \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/example/gsyvideoplayer/exo/GSYExo2PlayerView.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"44304a6b0934333e4ff0984969a39cd4cbf0cda191e07c0e2646959c4f807c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java:47-59 | app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemPlayNormalHolder.java:45-57 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemPlayNormalHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb0ad04bc91766afa520d4e2afbae494c3466394a2a1ef8ca8a94209eb33118"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java:75-87 | app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemPlayNormalHolder.java:65-75 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemPlayNormalHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java:75\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/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a92abcb798d7a3562867e06e54088b4881ed8b84c3d40dd7d5faaede101817"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java:325-337 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java:372-384 \u2014 both copies are in the same file, so extract the block 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 \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java:325\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29b5b3df442dc07921c190c9a494a6287ded5bf67a297db677d2958a0b1dae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java:247-259 | gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java:308-320 \u2014 both copies are in the same file, so extract the block 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 \u0060gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java:247\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":"gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bb87adbe4ca72a1b8511de219cd9905e69afb342f1ff2ad01dc5e9f89eb924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:112-125 | app/src/main/java/com/example/gsyvideoplayer/CastDemoActivity.java:96-108 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java:158-171 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:129-142 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:119-132 | app/src/main/java/com/example/gsyvideoplayer/ScrollingActivity.java:121-134 | app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:91-103 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:284-295 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:112\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:107\u0060 calls \u0060printfError\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/CastDemoActivity.java:95\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/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0189396198a676ffaf3c1b1bf837d01234a7500cdbb344e0cda7bf08fe9a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 5): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:74-84 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java:120-130 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:91-101 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:81-91 | app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:200-211 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"becfc087cf411f60b0503372873c63a094dc15994d01051f5f777ed1aaf23f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 5): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:56-66 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:62-72 | app/src/main/java/com/example/gsyvideoplayer/ListVideoActivity.java:53-63 | app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode1.java:32-43 | app/src/main/java/com/example/gsyvideoplayer/switchplay/SwitchListVideoActivity.java:31-42 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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/example/gsyvideoplayer/ListADVideoActivity.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b1ea63c014d371ebe5698e2e6a39e510e89d04ea208b935e6998da3066ca9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:216-227 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:222-232 | app/src/main/java/com/example/gsyvideoplayer/adapter/ListMultiNormalAdapter.java:103-114 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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/example/gsyvideoplayer/ListADVideoActivity.java:216\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/example/gsyvideoplayer/ListADVideoActivity.java:212\u0060 calls \u0060setShowFullAnimation\u0060, \u0060setIsTouchWiget\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/adapter/ListMultiNormalAdapter.java:100\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/example/gsyvideoplayer/ListADVideoActivity.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"179384a04adc77ce6f144bc58fc8796032597b8fd455d4fd0d377063b08f8ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:48-59 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:48-59 | app/src/main/java/com/example/gsyvideoplayer/PlayTVActivity.java:48-59 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 150 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/example/gsyvideoplayer/PlayActivity.java:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0178253bfde2989df47dc57c52a9132d5353da7c939f7997a162fa3c0f86cc98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java:56-67 | app/src/main/java/com/example/gsyvideoplayer/video/MultiSampleVideo.java:109-120 | app/src/main/java/com/example/gsyvideoplayer/video/SampleCoverVideo.java:68-79 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/MultiSampleVideo.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/example/gsyvideoplayer/video/AudioSampleVideo.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf8a7495a0984b70658d4c0ea61481098f3c02ca13decf9bf32c51bf38fd6cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:55-65 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:638-648 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:677-688 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:673\u0060 calls \u0060getGSYVideoManager\u0060, \u0060setCurrentVideoHeight\u0060, \u0060setCurrentVideoWidth\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:53\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/example/gsyvideoplayer/video/KeepLastFrameVideo.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b62943216039c32dba29afa635a013b797eebf1444139b0623538e03943e57f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java:62-73 | app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java:55-66 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ecc0307f263305608211d2a901502d71e3bcd8360601e01ccacf19d8935bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:342-353 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:366-377 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"04168aaa135ee8b0ff64a10c5b3a7e6215e241a6bb1cc0a8881c1977d4fd5366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DuotoneEffect.java:45-56 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/SepiaEffect.java:32-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DuotoneEffect.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"79840ecaae7baea46428ac6ee63ba6605fe003fbeca680d6f35a942fdd26de7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:89-99 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:83-93 | app/src/main/java/com/example/gsyvideoplayer/PlayTVActivity.java:89-99 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 150 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/example/gsyvideoplayer/PlayActivity.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7309748fb4370574fb1b67bf8c077d42b4f86463f46b981800bde63a4b034d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/adapter/ListVideoAdapter.java:44-54 | app/src/main/java/com/example/gsyvideoplayer/simple/adapter/SimpleListVideoMode2Adapter.java:39-49 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/adapter/ListVideoAdapter.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/simple/adapter/SimpleListVideoMode2Adapter.java\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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/example/gsyvideoplayer/adapter/ListVideoAdapter.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"45101295e34e2e37150f78d20c848da6263a305a8c0b04b982b61bb67606892e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYSampleADVideoPlayer.java:152-162 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/NormalGSYVideoPlayer.java:35-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYSampleADVideoPlayer.java:152\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYSampleADVideoPlayer.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8547a2279e7b917a68d8c57282b146fcaa03863b2a72d25ed3201440da94f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:74-83 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:80-89 | app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java:64-73 | app/src/main/java/com/example/gsyvideoplayer/fragment/VideoFragment.java:67-76 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 112 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/example/gsyvideoplayer/RecyclerView2Activity.java:74\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8df575465cbf5220e9f37041942f0f3931fc053a3608a7f4cb0742de78dd8c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:97-106 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:504-513 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:525-534 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:582-591 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:93\u0060 calls \u0060printfLog\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:500\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/example/gsyvideoplayer/video/KeepLastFrameVideo.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7956a7252e8fe36aa0c69a8117c7925693270ee8f335479992eaf1a0761763e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:151-160 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:333-342 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:143-152 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 94 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:345\u0060 calls \u0060setEffectFilter\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:163\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/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f607b4bcde8f2b83f307909444f1478cfe4e645dfd44d65f4d599f06509fdafc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:41-49 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:46-55 | app/src/main/java/com/example/gsyvideoplayer/ListMultiVideoActivity.java:39-47 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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/example/gsyvideoplayer/ListADVideoActivity.java:41\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/example/gsyvideoplayer/ListADVideoActivity.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"048c595b8da9f5e47de76e673f1a77fc32d4d1d225c2f5571079914aba8b341e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:160-169 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleVideoView.java:53-62 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:347-356 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:360\u0060 calls \u0060requestAudioFocus\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleVideoView.java:64\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b72a99fc0e871ec1925e04021b66dd13e868f9fe32e68f5edd1e59018e43e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:288-297 | app/src/main/java/com/example/gsyvideoplayer/video/FloatingVideo.java:125-134 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:665-674 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:678\u0060 calls \u0060abandonAudioFocus\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:300\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/example/gsyvideoplayer/exo/GSYExo2PlayerView.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb582d2a416a1d359eced663a37b52149b77f387f57e027e1020077871be43b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java:55-64 | app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java:64-73 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java:74\u0060 calls \u0060setAutoFullWithSize\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java:65\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/example/gsyvideoplayer/DetailListPlayer.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f3e7e27ebdc53e668028bfd623216a4cabfba3f82d8cb4bf8116e1524045fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/adapter/ListNormalAdapter.java:87-96 | app/src/main/java/com/example/gsyvideoplayer/simple/adapter/SimpleListVideoModeAdapter.java:73-80 \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/example/gsyvideoplayer/adapter/ListNormalAdapter.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"46af48a652f7d84f62f901989b8491f9aaa58a6e666bc399bb074cef2d21ef79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java:71-80 | app/src/main/java/com/example/gsyvideoplayer/exo/ExoAdaptiveTrackActivity.java:128-134 \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/example/gsyvideoplayer/exo/DetailExoListPlayer.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"63294e6d39f21a6a72880588431a72d0886104c73b13b00a643e1ede020fafad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:227-236 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:674-683 \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/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:227\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/example/gsyvideoplayer/exo/GSYExo2PlayerView.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd7950dea633d92b2da77b72c655c632ec55d9e3d9968695bbd5dcd4780ee1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201310 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java:62-71 | gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java:47-48 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java:60-69 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java\u0060 and \u0060gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java:60\u0060 calls \u0060isCache\u0060 and \u0060gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java:47\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/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e280006d8ee7122f51a57412a4cf491d89f99e56b28f7250411000f0cac94c11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java:174-183 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java:211-220 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa0761fb5a056818fd607726014bb7df5e57d251795abdd0344ad521683dd68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewMultiPassRender.java:176-184 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewSimpleRender.java:160-169 \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewMultiPassRender.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e753dfeabd38c7dfdb78e0a47bebe6fb37e3cc328dea0da01175d3e5875e739"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/OrientationUtils.java:102-111 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/OrientationUtils.java:232-241 \u2014 both copies are in the same file, so extract the block 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/OrientationUtils.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa950f57ca47347e0290f38657e526038f50b5ffeceb6953863533d2277b4b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:48-57 | app/src/main/java/com/example/gsyvideoplayer/PlayEmptyControlActivity.java:43-51 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:48-57 | app/src/main/java/com/example/gsyvideoplayer/PlayTVActivity.java:48-57 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/PlayEmptyControlActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 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/example/gsyvideoplayer/PlayActivity.java:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cca87794c76b34006537ba582c34018aafe6684af89868266e5bb94201f16f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java:74-82 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:148-156 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:168-176 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java:74\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a714cd3e0c82f507feb98c5258914f06160f8995eea03310cb17740080cd8a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYSrtSubtitleParser.java:49-57 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYWebVttSubtitleParser.java:48-56 \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 \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYSrtSubtitleParser.java:49\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYSrtSubtitleParser.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b581e7cdfffa3f7799ca87fab317c7ba2e918cbe3ce1270eab5a5be1f83a7b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:1084-1092 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:1103-1111 \u2014 both copies are in the same file, so extract the block 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c1c1eccbb221db11884963d24bb954898edc1764b581cfd8740e2c3d2c9fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 6): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:69-75 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:86-92 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:76-82 | app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:195-201 | app/src/main/java/com/example/gsyvideoplayer/ScrollingActivity.java:82-89 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:219-225 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 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/example/gsyvideoplayer/AudioDetailPlayer.java:69\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:194\u0060 calls \u0060setSurfaceErrorPlay\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:68\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/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"565f2352ded50c4654e764c1b8928fcdc09b18080797032eeeb87cea827c1216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoVideoManager.java:183-190 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleVideoManager.java:151-158 | app/src/main/java/com/example/gsyvideoplayer/video/manager/CustomManager.java:180-187 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoADManager.java:116-123 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoManager.java:144-151 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. 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/example/gsyvideoplayer/exo/GSYExoVideoManager.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4b04c738db637a88682682ea9d29e458a4b259316f27ce64823dee8959941e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:69-76 | app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:89-96 | app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:108-115 | app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:128-135 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:69\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/example/gsyvideoplayer/utils/JumpUtils.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"93645529248f482eb96e0c16092961f3391ae899ea2232223eadfbee333d315f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:215-222 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java:217-224 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:261-268 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f97a5ab8239ef6e50263c1db18596a52ff19d67f9b35bf37767967ee786f8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java:41-48 | app/src/main/java/com/example/gsyvideoplayer/video/MultiSampleVideo.java:49-56 | app/src/main/java/com/example/gsyvideoplayer/video/SampleCoverVideo.java:53-60 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/MultiSampleVideo.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/example/gsyvideoplayer/video/AudioSampleVideo.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad70e4f390b8c269e9bc54de3fa23fc1df684ac28bd67174246bab5870334216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ViewPager2Activity.java:41-48 | app/src/main/java/com/example/gsyvideoplayer/ViewPagerDemoActivity.java:41-48 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/ViewPager2Activity.java:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ViewPager2Activity.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1751de7f98a028d5e50e4111855665438803730a613a052a4602ff7a883d51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/LookupEffect.java:95-102 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GLFrameBuffer.java:51-58 \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, \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GLFrameBuffer.java:48\u0060 calls \u0060glTexImage2D\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/LookupEffect.java:94\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/LookupEffect.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dd2915078b0035e4b55445fbd570b8576ec1c4a050f64af59d225bc7f3548f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/CastDemoActivity.java:82-88 | app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:70-76 \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/example/gsyvideoplayer/CastDemoActivity.java:82\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/example/gsyvideoplayer/CastDemoActivity.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e336d05b81630aa7555139d33e20bf63b42458fc4f7bde962c3a67071f3a09aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/adapter/ListNormalAdapter.java:141-149 | app/src/main/java/com/example/gsyvideoplayer/simple/adapter/SimpleListVideoModeAdapter.java:84-90 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/adapter/ListNormalAdapter.java:141\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/example/gsyvideoplayer/adapter/ListNormalAdapter.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0de4d9aaf321b3dea9215aded0f7a7d46e81c297668f1da2f141d92ea38faa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java:43-48 | app/src/main/java/com/example/gsyvideoplayer/FragmentVideoActivity.java:19-24 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:40-45 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:45-50 | app/src/main/java/com/example/gsyvideoplayer/ListMultiVideoActivity.java:38-43 | app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java:44-49 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:56-62 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:61-67 | app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java:39-44 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9397b0ae8f73d043f0e2d21bd3df88fa0ddfe6d03bb0213e46642f9608b990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:73-78 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java:119-124 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:90-95 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:80-85 | app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:199-204 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:223-228 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0e17d74e44b7f04beee5b595d310d72915870610a7b6056f5bf8d83f0387bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:216-221 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java:218-223 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:262-267 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java:323-328 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cfc603b578f0e0ea6bca70e0be98ccbc1e0ff0bcd4256eb21a75fac47ef0ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/MainActivity.java:106-111 | app/src/main/java/com/example/gsyvideoplayer/simple/SimpleActivity.java:41-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/MainActivity.java:106\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/example/gsyvideoplayer/MainActivity.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"636154f29b2696542275c2750113a27968ce6108f46dee65e92dba7779d64dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:222-227 | app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:229-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"337aa703d98cfa70093ab902a335d897d7a78100d4f0846f3b08a9c22b3ecb2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/SmartMediaCodecFallbackActivity.java:71-76 | app/src/main/java/com/example/gsyvideoplayer/exo/ExoAdaptiveTrackActivity.java:122-127 \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/example/gsyvideoplayer/SmartMediaCodecFallbackActivity.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"193f5138575051641a0221266b44055399cbfe5fbdb7d774763459fd41b403ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DuotoneEffect.java:41-45 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/SepiaEffect.java:25-29 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DuotoneEffect.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b40f2f7659f3c1a5d36934fe555372362951b664f68f9305f26416a192c5da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYSrtSubtitleParser.java:12-16 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYWebVttSubtitleParser.java:12-16 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYSrtSubtitleParser.java"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"477881bbcd2a14dcc02d26dac886a3e34abdb316b67eef06dacec8d048c07bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java:899-905 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java:908-914 \u2014 both copies are in the same file, so extract the block 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 \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java:899\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc4e75bf1e2f684f84c64ca3a799b35d964a62e308edfc5218ae2aaa2c7a4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:181-209 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java:183-211 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7be2677b6a9bca2b42809aff89d86fc2de606acc019c50cfea988158fd93024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/effect/BitmapEffect.java:12-31 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/BlackAndWhiteEffect.java:17-36 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/InvertColorsEffect.java:17-36 \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. 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/example/gsyvideoplayer/effect/BitmapEffect.java"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"af975e570f3ae624fabca1fe9c7ac15aee37b4ae55f012c774a4678cb054d398"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (146 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/listener/SampleListener.java:1-146 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/listener/GSYSampleCallBack.java:1-146 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/listener/SampleListener.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/listener/GSYSampleCallBack.java\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/listener/SampleListener.java:1\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/example/gsyvideoplayer/listener/SampleListener.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f72ba3f1b343df871c6493c02ad398a1318554568102fa8d519865e93637e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/Debuger.java:1-79 | gsyVideoPlayer-proxy_cache/src/main/java/com/danikula/videocache/HttpProxyCacheDebuger.java:1-79 \u2014 before extracting anything, compare \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/Debuger.java\u0060 and \u0060gsyVideoPlayer-proxy_cache/src/main/java/com/danikula/videocache/HttpProxyCacheDebuger.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/Debuger.java:1\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/Debuger.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"725cdb1372ce8e8c3e90510a907d7a95f374e097a9ab0dd169be963761169c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:176-184 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:183-191 | app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:556-563 | app/src/main/java/com/example/gsyvideoplayer/InputUrlDetailActivity.java:169-177 | app/src/main/java/com/example/gsyvideoplayer/ScrollingActivity.java:188-195 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:385-392 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 188 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/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a18a75f6d38faa98bec5da33f8cd814d2969b1d115983159a64946fea0b3dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:191-197 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java:255-261 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:229-235 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:198-204 | app/src/main/java/com/example/gsyvideoplayer/InputUrlDetailActivity.java:183-189 | app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:178-183 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:399-405 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060newConfig\u0060 to \u0060Configuration\u0060 in one and \u0060android.content.res.Configuration\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4906abdbbc8245e86e401490d66d89500d40c9c1f6fe3fd37e19060e34c2c6eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:206-211 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java:270-275 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:244-249 | app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java:132-137 | app/src/main/java/com/example/gsyvideoplayer/DetailMoreTypeActivity.java:214-219 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:213-218 | app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:596-601 | app/src/main/java/com/example/gsyvideoplayer/InputUrlDetailActivity.java:191-196 | app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:198-203 | app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java:162-167 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:414-419 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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, \u0060app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:608\u0060 calls \u0060instance\u0060, \u0060enableRawPlay\u0060, \u0060getApplicationContext\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:254\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/example/gsyvideoplayer/AudioDetailPlayer.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb2855cfb9f118c6acc87d02c915762da35254cbbab6e1d7e244a2148b330d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): app/src/main/java/com/example/gsyvideoplayer/DetailADPlayer.java:108-113 | app/src/main/java/com/example/gsyvideoplayer/DetailADPlayer2.java:125-130 | app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java:118-123 | app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java:148-153 | app/src/main/java/com/example/gsyvideoplayer/exo/ExoAdaptiveTrackActivity.java:277-281 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYBaseADActivityDetail.java:171-176 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailADPlayer.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b71220faf228d3017c9d932d79e1f0d4124eea75f246fa57d00df6f5d68b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java:126-130 | app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java:156-160 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a5087786f8104e13d7329567027412a3995e0c9724a12720951298cbece09c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:522-534 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYBaseActivityDetail.java:76-87 \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/example/gsyvideoplayer/DetailPlayer.java"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01bca0639b432fe4575edccc12a1bb1d028ebbf79a026ab0381e5c38910386d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:127-135 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:133-141 | app/src/main/java/com/example/gsyvideoplayer/adapter/ListMultiNormalAdapter.java:34-42 | app/src/main/java/com/example/gsyvideoplayer/adapter/ListNormalAdapter.java:47-55 | app/src/main/java/com/example/gsyvideoplayer/simple/adapter/SimpleListVideoModeAdapter.java:35-43 | app/src/main/java/com/example/gsyvideoplayer/switchplay/SwitchListVideoAdapter.java:36-44 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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/example/gsyvideoplayer/ListADVideoActivity.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ca27979244af08bfe4de9eb422c3e640e4b00754608982b79b674c89044504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:301-308 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:316-323 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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/example/gsyvideoplayer/ListADVideoActivity.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"566fb3d96d98e28fd114e918a663d758be7980aa99dc3bebccf7523349c9863f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/MainActivity.java:114-120 | app/src/main/java/com/example/gsyvideoplayer/simple/SimpleActivity.java:49-55 \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/example/gsyvideoplayer/MainActivity.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b1310ad15996936e6acb24c91c12981501e1565eab1cac72ff969171583358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:174-183 | app/src/main/java/com/example/gsyvideoplayer/PlayEmptyControlActivity.java:99-108 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:158-167 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/PlayEmptyControlActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 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/example/gsyvideoplayer/PlayActivity.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf98dc8eb0d1d0bd162511dbd0887a054e61c21b78a8e0aeb71c8f1499d59bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:178-185 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:198-205 | app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java:123-130 | app/src/main/java/com/example/gsyvideoplayer/fragment/VideoFragment.java:120-127 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 112 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/example/gsyvideoplayer/RecyclerView2Activity.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb93eb13ff21f6d9685d84d4956a61f1e7f90240d47092a4b923159874ec4454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ScrollingActivity.java:202-208 | app/src/main/java/com/example/gsyvideoplayer/switchplay/SwitchDetailActivity.java:148-154 \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/example/gsyvideoplayer/switchplay/SwitchDetailActivity.java:140\u0060 calls \u0060release\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/ScrollingActivity.java:194\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/example/gsyvideoplayer/ScrollingActivity.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3da9724080482cecf61f525cf1210f9f0bcde70e2351ebc378d7f171d24cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:189-196 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:465-472 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"140d7205ccc339818e4b37c058081128888a81273eeb9ce42e3e6ace047861c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ViewPager2Activity.java:94-101 | app/src/main/java/com/example/gsyvideoplayer/ViewPagerDemoActivity.java:100-106 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ViewPager2Activity.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee8fe0750f750da4897eb6b5b5f3d9c371a6ce6d9541c101770d869af66cba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/adapter/RecyclerNormalAdapter.java:43-47 | app/src/main/java/com/example/gsyvideoplayer/adapter/ViewPagerAdapter.java:39-43 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/adapter/RecyclerNormalAdapter.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/adapter/ViewPagerAdapter.java\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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/example/gsyvideoplayer/adapter/RecyclerNormalAdapter.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c368f04e927b16de37ecf05fa6535b06fa83d6a5f433322049640953643409b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java:86-95 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewSimpleRender.java:92-101 \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/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf91caba72b9900480d43eb780204971de7595926962ea59d90cd8577cc7c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoPlayerManager.java:110-120 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java:99-107 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java:100-108 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java\u0060 and \u0060gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoPlayerManager.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"594e652af29211cb0360ca5c7dbc21c612be4e536ec7f9621ce7a204edd12693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoPlayerManager.java:123-131 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java:110-118 | gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java:100-108 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java:111-119 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/IjkPlayerManager.java:174-182 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java\u0060 and \u0060gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoPlayerManager.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3ee26ad83b28a7dd82cd9995caf71505ba351be45959b71d306107ef09ff98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java:85-96 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java:86-97 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java\u0060 and \u0060gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a86d181d8fd132ca8b0ceadbf4934d4451ee52c2665e49aac721e1a2ff63000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java:137-149 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java:137-149 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java\u0060 and \u0060gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93225b9ee6eabcc97647890c498bc527c498e15b4db91cd9173f4a3cbab69e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java:37-43 | app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemPlayNormalHolder.java:35-41 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemPlayNormalHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"546664a8a702f3312373340353e6021159e36fefbfc31fd35a0c11d7cbcb7a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java:128-136 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java:135-143 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cab4e7dc7e927cccb309fbb7d0b7aad6711083e37cc7423b7d7348825370388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java:142-150 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java:149-157 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"faba7def866e61c4df764ff72fab5012e0224da1948fdd92fbdae9eb4bf34f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java:159-168 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java:166-175 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f25229df5d3e6e92868ac7cde6d5fcb7068935cd970cabcd6b60f8b16f5bff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:502-507 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:424-429 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb4953a1a71bfdb83742bc6c15a4b6aa0a3443e4a179d989de1fa76d72f7458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliMediaPlayer.java:78-84 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java:170-176 \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":"gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliMediaPlayer.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a064c4bd13d6be6e7e3e69bf0c30e0612b2ad3f73b5698eefcb2f3422bb803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoADManager.java:103-107 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoManager.java:131-135 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoADManager.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a0969c98e51dbc122d1ec0ba9aebd6733952a5e8bfc80faf0778f8b3db95bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/CrtEffect.java:19-27 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/GlitchEffect.java:21-29 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/GrainEffect.java:25-33 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/OldTvSignalEffect.java:26-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/CrtEffect.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99f768d3c78dca4c48fe991ad35a37a5050b7057d8f7ff59e8d1bd8b4ec50d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewMultiPassRender.java:230-242 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewSimpleRender.java:202-214 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewMultiPassRender.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1db4ec035feb16dc6f37a131cb3f79bdb84bba1b2511fcae9d8c1dae4c2c598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYADVideoPlayer.java:184-191 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYSampleADVideoPlayer.java:227-234 \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYADVideoPlayer.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b8fb57e72915e1b8272795a40c4083d2dadaa8f36c72d9d27a6b7bea870805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:298-311 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:389-402 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:290-303 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 94 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/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6536954c7ebb1cc8ac1aa12694a7397b7a81d344a4f2eb9ee5d0fae45a6a81e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:360-367 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:780-787 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:352-359 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 94 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/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacdcd2e19d7144d70c448538f7e787576542cfebcdc6482d4903ba46c6527cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ViewPager2Activity.java:107-114 | app/src/main/java/com/example/gsyvideoplayer/ViewPagerDemoActivity.java:112-118 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ViewPager2Activity.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61a5cfe6fba43d8d9574f859ca487d55b6f1ac104a3c4c114614c27d4f40d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/adapter/RecyclerBaseAdapter.java:45-50 | app/src/main/java/com/example/gsyvideoplayer/adapter/RecyclerNormalAdapter.java:35-40 | app/src/main/java/com/example/gsyvideoplayer/adapter/ViewPagerAdapter.java:31-36 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/adapter/RecyclerNormalAdapter.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/adapter/ViewPagerAdapter.java\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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/example/gsyvideoplayer/adapter/RecyclerBaseAdapter.java:45\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/adapter/RecyclerBaseAdapter.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56d0d442bc356951532f21e1af53e8c61bc074b0e980f65ac107cb99ecb57d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:113-118 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java:115-120 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d63e5e014ce9281af1f04fb5a911ca4fd4413d8cc3f70eb9580ba3b14836924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:483-493 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java:488-498 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf416bc058598af6295603edd6c06f522ada86d6248900727d4ca0d68d991bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java:70-75 | app/src/main/java/com/example/gsyvideoplayer/video/MultiSampleVideo.java:123-128 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/MultiSampleVideo.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/example/gsyvideoplayer/video/AudioSampleVideo.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4665b3583c5b827aebafe3e560e7972560925f2776b24ec82042320a63238c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java:79-85 | app/src/main/java/com/example/gsyvideoplayer/video/MultiSampleVideo.java:132-138 | app/src/main/java/com/example/gsyvideoplayer/video/SampleCoverVideo.java:101-107 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/MultiSampleVideo.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/example/gsyvideoplayer/video/AudioSampleVideo.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4141e62de37a010a117fc6daafe46f03225496bc45a4dbdbc869f8ca43ec6920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java:88-93 | app/src/main/java/com/example/gsyvideoplayer/video/SampleCoverVideo.java:110-115 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/video/SampleCoverVideo.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cb248051fcd3be55b1d84cf3d7adaf9f69cc8295861ed8c9b9a31c38e8f7ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliMediaPlayer.java:67-75 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java:152-160 \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":"gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliMediaPlayer.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28893e31be26b3023ddc7ab669f8219ba72840fa5b2919f916ab421f9663566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java:725-729 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java:769-773 \u2014 both copies are in the same file, so extract the block 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cbfa2bbb372b36d4c9cff31f0e4c2641b6dffffc26f019499ce979763d7b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201336 lines \u00D7 2): gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/wrapper/GSYAnyVideoPlayerView.kt:46-78 | gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/wrapper/GSYVideoPlayerView.kt:50-85 \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 \u0060gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/wrapper/GSYAnyVideoPlayerView.kt:46\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":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/wrapper/GSYAnyVideoPlayerView.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a04515b960fb047f2ace065991446dddd434be3f94cc99a8a38aa20e060c205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/compose/host/DetailNativeActivity.kt:66-87 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ListWithFullscreenActivity.kt:67-87 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/DetailNativeActivity.kt:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/DetailNativeActivity.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"366a19308310c11aed472abafbe995a50fac3666d7d4a78873735963bb1aaf5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/compose/host/LocalFileComposeActivity.kt:109-127 | app/src/main/java/com/example/gsyvideoplayer/compose/host/MediaCodecComposeActivity.kt:111-129 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/LocalFileComposeActivity.kt:109\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/example/gsyvideoplayer/compose/host/LocalFileComposeActivity.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f4769a01e3eba5e5c665cf13bed1458fe363410a69554fe9991b2c4b7ba4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/compose/host/AutoPlayListActivity.kt:214-230 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ListPlayNativeActivity.kt:186-201 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ListWithFullscreenActivity.kt:149-164 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ListPlayNativeActivity.kt\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ListWithFullscreenActivity.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/AutoPlayListActivity.kt:214\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/AutoPlayListActivity.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"702917aeb0ac3bf49f9546f68e8217f954b91e117f7ee09af2049bbf6a549340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): app/src/main/java/com/example/gsyvideoplayer/compose/host/CacheDownloadComposeActivity.kt:157-170 | app/src/main/java/com/example/gsyvideoplayer/compose/host/DetailFilterComposeActivity.kt:114-127 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ExoSwitchSourceComposeActivity.kt:128-141 | app/src/main/java/com/example/gsyvideoplayer/compose/host/SubtitleComposeActivity.kt:163-176 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/DetailFilterComposeActivity.kt\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ExoSwitchSourceComposeActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/CacheDownloadComposeActivity.kt:157\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/example/gsyvideoplayer/compose/host/CacheDownloadComposeActivity.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f80f891e3641ee8299e4432cdb5c97ac81f115e1da42560fb3cc1e4626b7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/compose/host/AdInListComposeActivity.kt:124-135 | app/src/main/java/com/example/gsyvideoplayer/compose/host/WebDetailComposeActivity.kt:79-89 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/AdInListComposeActivity.kt:124\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/AdInListComposeActivity.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa34fbed736ce45b235798809283954ca384bf0cf022b8be0dfb6178dbb42690"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/compose/host/ListPlayNativeActivity.kt:152-162 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ListWithFullscreenActivity.kt:107-117 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ListPlayNativeActivity.kt\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ListWithFullscreenActivity.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/ListPlayNativeActivity.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"81119c8465fcb00296a90592da7ab49340edb67eaac45cd2ac32a543f0e456f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/compose/host/FullFeatureNativeActivity.kt:319-325 | gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYDefaultControls.kt:166-172 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/FullFeatureNativeActivity.kt:319\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/FullFeatureNativeActivity.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c065bf43f88152022960cbe713d4c569445021dfa29187aee56a13f16a9e4fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/compose/host/ExoSwitchSourceComposeActivity.kt:66-74 | app/src/main/java/com/example/gsyvideoplayer/compose/host/SubtitleComposeActivity.kt:70-78 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ExoSwitchSourceComposeActivity.kt\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/SubtitleComposeActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/ExoSwitchSourceComposeActivity.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d43de47d0cfb3038fe9454c6f6c78f756e1077db0a6ed8f6fcdaefa8db0bd23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/compose/host/CustomControlsThemeComposeActivity.kt:89-103 | app/src/main/java/com/example/gsyvideoplayer/compose/host/MediaCodecComposeActivity.kt:103-117 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/CustomControlsThemeComposeActivity.kt\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/MediaCodecComposeActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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/example/gsyvideoplayer/compose/host/CustomControlsThemeComposeActivity.kt:89\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/example/gsyvideoplayer/compose/host/CustomControlsThemeComposeActivity.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bd657e857e6cb57f3787ff85d2e574a96e05520fc1e52ecf8959671be87d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/compose/host/AudioOnlyComposeActivity.kt:89-102 | app/src/main/java/com/example/gsyvideoplayer/compose/host/CustomControlsThemeComposeActivity.kt:79-92 | app/src/main/java/com/example/gsyvideoplayer/compose/host/MediaCodecComposeActivity.kt:95-106 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/CustomControlsThemeComposeActivity.kt\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/MediaCodecComposeActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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/example/gsyvideoplayer/compose/host/AudioOnlyComposeActivity.kt:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/AudioOnlyComposeActivity.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6112dc5004ad74463ddd2666a105b8f8c01684e1696cf570e8d1488fa5cb3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): app/src/main/java/com/example/gsyvideoplayer/compose/host/AudioOnlyComposeActivity.kt:90-102 | app/src/main/java/com/example/gsyvideoplayer/compose/host/CustomControlsThemeComposeActivity.kt:80-92 | app/src/main/java/com/example/gsyvideoplayer/compose/host/MediaCodecComposeActivity.kt:96-106 | app/src/main/java/com/example/gsyvideoplayer/compose/host/MoreTypeComposeActivity.kt:88-98 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/CustomControlsThemeComposeActivity.kt\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/MediaCodecComposeActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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/example/gsyvideoplayer/compose/host/AudioOnlyComposeActivity.kt:90\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/example/gsyvideoplayer/compose/host/AudioOnlyComposeActivity.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6bbbd2c4b0c40c137c1eec69e1f30d46c7bf5325cd5753423113412f97690f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/compose/host/ListPlayNativeActivity.kt:105-115 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ListWithFullscreenActivity.kt:89-99 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ListPlayNativeActivity.kt\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ListWithFullscreenActivity.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ListPlayNativeActivity.kt:105\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/example/gsyvideoplayer/compose/host/ListPlayNativeActivity.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f41d1456e08f3ce97bdc052f5d1e348bfaaa78e4929115a4ef089f54b2e713"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): app/src/main/java/com/example/gsyvideoplayer/compose/host/AdInListComposeActivity.kt:107-117 | app/src/main/java/com/example/gsyvideoplayer/compose/host/CacheDownloadComposeActivity.kt:142-152 | app/src/main/java/com/example/gsyvideoplayer/compose/host/DanmakuComposeActivity.kt:103-113 | app/src/main/java/com/example/gsyvideoplayer/compose/host/DetailFilterComposeActivity.kt:101-111 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ExoSwitchSourceComposeActivity.kt:115-125 | app/src/main/java/com/example/gsyvideoplayer/compose/host/FloatingWindowComposeActivity.kt:89-99 | app/src/main/java/com/example/gsyvideoplayer/compose/host/MultiWindowParallelComposeActivity.kt:86-96 | app/src/main/java/com/example/gsyvideoplayer/compose/host/SubtitleComposeActivity.kt:149-159 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/DetailFilterComposeActivity.kt\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ExoSwitchSourceComposeActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/AdInListComposeActivity.kt:107\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/example/gsyvideoplayer/compose/host/AdInListComposeActivity.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed442a5ec970805093a40858c2d47058db8d0018c53ce640ebca07b22eae010b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/compose/host/AutoPlayListActivity.kt:128-138 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ListPlayNativeActivity.kt:103-113 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ListWithFullscreenActivity.kt:87-97 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ListPlayNativeActivity.kt\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ListWithFullscreenActivity.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/AutoPlayListActivity.kt:128\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/example/gsyvideoplayer/compose/host/AutoPlayListActivity.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85dceb7f6b9f5b84cfea6b699cd4a6c24a04678942a574a832c72a28bc6af1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/compose/host/DetailFilterComposeActivity.kt:145-152 | app/src/main/java/com/example/gsyvideoplayer/compose/host/ExoSwitchSourceComposeActivity.kt:150-155 \u2014 before extracting anything, compare \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/DetailFilterComposeActivity.kt\u0060 and \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/ExoSwitchSourceComposeActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/DetailFilterComposeActivity.kt:145\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/example/gsyvideoplayer/compose/host/DetailFilterComposeActivity.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b165453db1a39a527925618d839be94bcde5ad726defda665c491681be6d6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/compose/host/MoreTypeComposeActivity.kt:147-153 | app/src/main/java/com/example/gsyvideoplayer/compose/host/MoreTypeComposeActivity.kt:177-183 \u2014 both copies are in the same file, so extract the block 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/example/gsyvideoplayer/compose/host/MoreTypeComposeActivity.kt:147\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/example/gsyvideoplayer/compose/host/MoreTypeComposeActivity.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"69628e3b24ae427e8576994330f9677664cd586dfbc644fea77a885a85658d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/compose/host/MoreTypeComposeActivity.kt:139-145 | app/src/main/java/com/example/gsyvideoplayer/compose/host/MoreTypeComposeActivity.kt:195-201 \u2014 both copies are in the same file, so extract the block 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/example/gsyvideoplayer/compose/host/MoreTypeComposeActivity.kt:139\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/example/gsyvideoplayer/compose/host/MoreTypeComposeActivity.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0417429ec16dd3fb68d796754c49d92c13d98c4e27e76b5424fff1cddc128b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/compose/host/BasicWrapperActivity.kt:159-163 | app/src/main/java/com/example/gsyvideoplayer/compose/host/BasicWrapperActivity.kt:167-173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/compose/host/BasicWrapperActivity.kt:159\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/example/gsyvideoplayer/compose/host/BasicWrapperActivity.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1045b0eb8d6746bdf2b60450a1c914433b47d7c2a9a4c54c8fafcf9951d4e97b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :gsyVideoPlayer-rtmp: :gsyVideoPlayer-rtmp: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d30d7506e384e767bc9a90dbfe85d24c57a88cc460420a86c351ab619daaab9e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :gsyVideoPlayer-proxy_cache: :gsyVideoPlayer-proxy_cache: abstractness 0.18, instability 0.00, distance 0.82 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5bd2037ca18780ae3702e47b9c221f135791087d6ce384e4a6517fb39f18533a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GSYExo2MediaPlayer (LCOM4 7): GSYExo2MediaPlayer\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2MediaPlayer.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5365dd81aef69c68fc2cedb1d6669d20db97ee6c74622c224fb2485c4bc4905b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MediaCodecTextureView (LCOM4 4): MediaCodecTextureView\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3b856224551cb1ab889ab9db1eadb4ca4d5956362328fb6109d5dbbfb11c55"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: B (LCOM4 4): B\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/floatUtil/FloatWindow.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"71782fec93ccc88b59bec306c07ce10e1727c23b098bc8e0e3632e341aab8fb8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProxyCacheManager (LCOM4 4): ProxyCacheManager\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cache/ProxyCacheManager.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"835268c343e12be2c38f0b6ce35ed00c6fc9a5672aa1f4827807148a20638b54"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GSYSurfaceView (LCOM4 4): GSYSurfaceView\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb0d24dcf2b6aa580ce9cee0678c39135e680d5e4f9b91ef2cd1aa6004fa551"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GSYTextureView (LCOM4 4): GSYTextureView\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa034371ab78eea678acfa20c172b9a11eb1baa2276e929f42150dffddab4d9c"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8561b791e7dd95cd7e42353be5b1136c52d06094bf7bb4ce23151bbaaad750c"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java: app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in DetailFilterActivity.resolveTypeUI at line 536. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:44:34 \u002B08:00\u0027 --until=\u00272026-11-11 10:44:34 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"961d2c053e287dc889f26ed8bb718f28a81e5c5e9d472822cf677a67358ef465"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/example/gsyvideoplayer/FoldDetailActivity.java: app/src/main/java/com/example/gsyvideoplayer/FoldDetailActivity.java changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in FoldDetailActivity.applyFoldState at line 119. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:44:34 \u002B08:00\u0027 --until=\u00272026-11-11 10:44:34 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/com/example/gsyvideoplayer/FoldDetailActivity.java\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/FoldDetailActivity.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e321083d91d210d6020bb851eb7efc7eaffeaa2463ea010343184ae7069214e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/example/gsyvideoplayer/compose/host/FoldComposeActivity.kt: app/src/main/java/com/example/gsyvideoplayer/compose/host/FoldComposeActivity.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in FoldComposeActivityKt.FoldScreen at line 65. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 10:44:34 \u002B08:00\u0027 --until=\u00272026-11-11 10:44:34 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/com/example/gsyvideoplayer/compose/host/FoldComposeActivity.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/compose/host/FoldComposeActivity.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c3407707892098a158b57327801d8b31df55e4c4767681f2391a5285d490a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \u52A0\u4E0A\u8FD9\u4E2A \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae734c396348ed89fe34a8df73174a9c5845af5c6ad8fb68fa342c303c55586"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Remove registered check when source of crash is found. t9846865 \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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/NetInfoModule.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4919de55647ad90c6baafd141383e75ee3e3c4e5a33aa0edfb8290951900cd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: implement \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":"gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef7952945cf4c24d6c2ba336473a565a51fe9b641e9bb158e89e25b926e3aaf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do nothing \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":"gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"071b6e4cc351ae552d7ae907b82bd3052e980677a21576e223042f6204d406b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement \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":"gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1860add8e5894e73775a3bca62189ec0bbb8947f1cf6fd0be666b4c8ef98ae7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \u752823\u4EE5\u4E0A\u7F16\u8BD1\u5373\u53EF\u51FA\u73B0canDrawOverlays \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/example/gsyvideoplayer/WindowActivity.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde2505dcd1e5844233184301c0656f334f0757e3c92becfb3de712c60f91152"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \u752823\u4EE5\u4E0A\u7F16\u8BD1\u5373\u53EF\u51FA\u73B0canDrawOverlays \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/example/gsyvideoplayer/utils/floatUtil/FloatActivity.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f79022268e350592e27484749498f254f7e7aa3589ae08a5669dad8b374d8e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \u8FD9\u662F\u4E3A\u4E86demo\u6548\u679C\uFF0C\u5B9E\u9645\u4E0A\u9700\u8981\u53BB\u6389\u8FD9\u4E2A\uFF0C\u5916\u90E8\u4F20\u8F93\u6587\u4EF6\u8FDB\u6765 \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/example/gsyvideoplayer/video/DanmakuVideoPlayer.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c64b56d7369a103b26e93acd8462b9aa8b7e8c606c9152022e8c2d009e584c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \u9700\u8981\u5904\u7406\u4E3A\u4EC0\u4E48\u5168\u5C4F\u65F6\u5168\u5C4F\u7684surface\u4F1A\u88AB\u91CA\u653E\u4E86 \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/example/gsyvideoplayer/video/SmartPickVideo.java"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"377c5449f5d1ab05bd2edd433841a94d801b6101a87cc5eaa18c1b5382cf4bc4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u76EE\u524D\u6682\u672A\u6709\u903B\u8F91 \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/example/gsyvideoplayer/video/TvVideoPlayer.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1151ab1bbd9f11b07ed46d3bc27c77e7953ccd4f54e7506879687754d064ab2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u76EE\u524D\u6682\u672A\u6709\u903B\u8F91 \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/example/gsyvideoplayer/video/TvVideoPlayer.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"936c1e6f30e44e2bc89ec35dc5f6a145152d812349318daf7607d52ed3c52709"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO : \u6682\u672A\u6709\u903B\u8F91 \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/example/gsyvideoplayer/video/TvVideoPlayer.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d206df34e39fea722c3fb2b9f944749f3e920515a16e29aadc538ada3d5eb67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u5B57\u4F53 textArr[12] \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/example/gsyvideoplayer/utils/BiliDanmukuParser.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fa25073f548afbf7e9be44d5f13ee088392af07f48310b3e0962ff8933e40f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u662F\u5426\u6709\u52A8\u753B\u7F13\u51B2(easing) \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/example/gsyvideoplayer/utils/BiliDanmukuParser.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d15e71264d1e7b770fb03b694400f3f5ce83cd39dceeb9e71b08c6191f9994"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo android P test \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/example/gsyvideoplayer/utils/floatUtil/FloatToast.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c3c28ade76fabdb9d5e0a9ffeed89ea958452e89e5c592337d59e74a6340ec"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //fixme \u9875\u9762\u8DF3\u8F6C\u662F\uFF0C\u5143\u7D20\u5171\u4EAB\uFF0C\u6548\u679C\u4F1A\u6709\u4E00\u4E2A\u4E2D\u95F4\u4E2D\u95F4\u63A7\u4EF6\u7684\u5B58\u5728 \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/example/gsyvideoplayer/switchplay/SwitchVideo.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"399b38ff52fb9f38029f4e5ec684e49bf64ecac9aa838e5c9d36e39ed12855c3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //fixme \u8FD9\u65F6\u5019\u4E2D\u95F4\u63A7\u4EF6 CURRENT_STATE_PLAYING\uFF0C\u4F1A\u89E6\u53D1 startProgressTimer \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/example/gsyvideoplayer/switchplay/SwitchVideo.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"767b911cc849b65f1014377c33661b6a7c21b932a759093d06acfbb496b725d3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME \u4F46\u662F\u6CA1\u6709cancel \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/example/gsyvideoplayer/switchplay/SwitchVideo.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0cefb970c9020963e985384f05126d6cd53532092a428afadd22f26c473342"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ///TODO \u6CE8\u610F\uFF0C\u7528\u8FD9\u4E2A M3U8 \u7684\u8BDD\uFF0C\u5185\u90E8\u4F1A\u6709\u5185\u5D4C\u5B57\u5E55 embedded caption \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/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb6478cbf4f89263e397ef3b965422b06aa7b1fc8da72056cc1b6a2b74e8146"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ///TODO \u6CE8\u610F\uFF0C\u7528\u8FD9\u4E2A M3U8 \u7684\u8BDD\uFF0C\u5185\u90E8\u4F1A\u6709\u5185\u5D4C\u5B57\u5E55 embedded caption \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/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef9aa27fae2053c587b6637f4486a8d9f4018afc8b1c54cd69242011c9d67a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ///TODO \u6240\u4EE5\u5C31\u7B97\u4F60\u52A0\u4E86\u5916\u6302\u5B57\u5E55\uFF0C\u4E5F\u9700\u8981\u518D\u5207\u6362\u4E00\u6B21\u624D\u80FD\u770B\u5230\u5916\u90E8\u5B57\u5E55 \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/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"18214eb766f2833462e7be66195a4700fceeff0d64e2d8836b5d7537f248b54d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ///TODO \u6240\u4EE5\u5C31\u7B97\u4F60\u52A0\u4E86\u5916\u6302\u5B57\u5E55\uFF0C\u4E5F\u9700\u8981\u518D\u5207\u6362\u4E00\u6B21\u624D\u80FD\u770B\u5230\u5916\u90E8\u5B57\u5E55 \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/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"872b13abad1c6a7eb2b092752dd1e754e879e33b91669961214317f498a21f57"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ///TODO \u8FD9\u91CC\u8F93\u51FA\u6240\u6709\u5B57\u5E55\u4FE1\u606F \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/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5441a7f24420d024283aee96893b26f9a1cf8467a526456c1e2855d1bca2ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ///todo \u8FD9\u91CC\u8BBE\u7F6E  setSelectUndeterminedTextLanguage \u65E0\u89C6\u8BED\u8A00\u9009\u62E9 \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/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayer.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e60b0cc6f4947ba81a25085def272805d54badc4773990cb764603ab4fc032"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// todo \u6D4B\u8BD5\u5F02\u6B65\uFF0C\u53EF\u80FD\u4F1A\u6536\u5230\u8B66\u544A \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/example/gsyvideoplayer/exo/GSYExoPlayerManager.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad002da9aee1dd848f536e07cfaa5b4f14b724931bba28b5cf3f82a2a02558c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// todo Player is accessed on the wrong thread. See https://exoplayer.dev/issues/player-accessed-on-wrong-thread"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoPlayerManager.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1487f7d90b3434865c3084843fa6bca1f30cd25373d148ed717f67b1c7ccdac"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u8FD9\u91CC\u53EA\u662F\u7B80\u5355\u542F\u4E2A\u7EBF\u7A0B\u6765\u52A0\u8F7D\u8FDC\u7A0Burl\u56FE\u7247\uFF0C\u8BF7\u4F7F\u7528\u4F60\u81EA\u5DF1\u7684\u5F02\u6B65\u7EBF\u7A0B\u6C60\uFF0C\u6700\u597D\u52A0\u4E0A\u4F60\u7684\u7F13\u5B58\u6C60 \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/example/gsyvideoplayer/adapter/DanamakuAdapter.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a0990003513eb9377e6ccfb495eac78f530922931393dd7b3ad4607283119d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u91CD\u8981:\u6E05\u7406\u542B\u6709ImageSpan\u7684text\u4E2D\u7684\u4E00\u4E9B\u5360\u7528\u5185\u5B58\u7684\u8D44\u6E90 \u4F8B\u5982drawable \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/example/gsyvideoplayer/adapter/DanamakuAdapter.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a788e67499d23b18aa71a43ee128ff6c5545b0371d6ba4102b489a6b378a91c1"}},{"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: 2 of 9 project(s) overshoot their size bounds, lowering Project Cohesion to 5.6/10. The most over is \u0060app\u0060 (28405 LoC, 224 module-visible types across 22 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9299fa51853013cb3fd21e151543aef00434dfca771af2c012f3c22d4d92d418"},"properties":{"commitSha":"bfdd1f6fbf7cccb980dbe67a55f7283eaf95cb09"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d3dcbe376b75b6fa1ec7035538388e02c3c7c503620b3f50ce593d7ff63c72a"},"properties":{"commitSha":"5b14bb7b48fcb663d1550fe862098eabffd6d5df"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd37608ad95cc7a6df2f92916160235a5e9ce2a256b0a173e77903381b0bf0f4"},"properties":{"commitSha":"f1fd63f0d06afef9c16791926b9d984b48d8e3ca"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7fc637cef51df3be6e6fc048ee956379cf028f6d538260bae31c5640090c19a9"},"properties":{"commitSha":"48f41e857c3ac08738c39549d02fa1fa8b98d95b"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e336e8d3586d70c9699ac09cd85a829af6a76ba482f90316ea7255a8ca975b64"},"properties":{"commitSha":"e9ab520e2904e455adc26ca11d67ed765b6beeae"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"067ddd3187dd2f451166d8981f7aeb0713b37dc1d9c595d9ad5ea7c6622eacac"},"properties":{"commitSha":"b4e55b631c8b500ff07867eb5539e602f4bc844a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"815985a4f92dad2c36bc64fe74e3ed2bd9bf19b48a07efb0d25688c58674aa3f"},"properties":{"commitSha":"42fd530af835a1ba8a0297758d7d025cfd54280b"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce70ced34aaa648d70087bdf4f623ccd245d679ff9792c58dbb9155873da6cfe"},"properties":{"commitSha":"a9cd34f4c92850dd5502814cff8bd35f5638d796"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1e0bdc4f3ce839210136d5472e7837ff1f08696f428fef0da9012990703781a"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dee3ea124f301add04817aac6fcc9445c74be5c305107849c8417ba37b23bf7d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"afa3f10a4cc5d2d604c9b4bb836b96761956f5a27f6ea3d8d939e0d2c8517aee"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab6f83c7bd0ecae8f5eb839a419815b22b5261d4d4884c91241ba9fe13ef6105"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a5ea3cd9941eb1bce639b0ae72c8f8eed0e4a37d0890820d6c7e911adafd828"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54fc520f2cb8ab14b5869541242e3257ffc4f264978df8ded3b3745b21d1ccb2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82bef93c11c7bf7c87e2692b97c77e7353fe056afd793f2ba36badb41618f78a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22e7c91ba7c25ecdbc3c8a7979b4c89e275f09c6a7af6c004de9e2c17cddfa9e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b21ef51d97f04d1a8b921e635aca9ef4e877341aa2c3b0f6eaeabc61234774b6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd0a3404dccd0a070fe4feb6708831003b30eb18e69b0c5c4a375147384eff39"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35a422264b90c2e28af3707f0f19a4e96d28a48d1200a897519f461562aa6841"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7860b3bcdffcbebd01f3be56d228425012005c54a31fe7080deb30211e450272"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"865c1256b0af6cac7fabd52ec1703a6840a81e82c2cc09619e5e78e47af02756"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6504d8d1633fd2629c17cb911821ef9d4b240f323d5e1ebac2df01ac4726a04a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9da445e482aad92005903840419edcdf03d0d51b46c5e58761c8801ee6cbf38"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9fd13ccae5a7172f0a8b522ab10297390a3b317fc5e605fb04c32fbe2f2a8a4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"b5d5719a837c3a6769b02b96a8d12ff76016ed55a042964b899cbe685e527f52"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d69cc8eaa2029a2707e7377bf15c7ffb94c553227220eda860fee3d4a4bbc7ea"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2dd19f07ff4c3eb7d4f6b0c80d85d290b027c61507988120817344bb42d1210"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"066ab5c12b071890ca27c4d769b942a69051839353e7d9187d8aa43ad96db4bc"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb44308b9c9c9e1b09ff6c0a50f9c25bcadbe41c99f2549b06aeb5224c74f1dd"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7315c5ce3ec5adb411d1645934df836733ba95b662c9154969c4ae18e11bd8f9"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6b768a8a572da86cde5dae3915efea2ad94c7659a5148aed76156e489b2d860"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68dc1da1c5c0e6d8d924497949f02f06c1bea1774702d65b766d11a120c7febf"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"071d1924e3efc18e8b2fd1f7c6611fee6a50542bd0cb00e0d2dfc3aec6113b4f"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"28a98c5f48372ab078e5cbe400d3d6cc31a558dbf966f77d4554aae78b9c459b"},"taxa":[{"id":"CWE-326","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"ef9781473fe015872fe0e3ab602ff2672f6b9ad9552519e4d897d580b1d7915e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"c1a7e89784cf49998eebe78eed952b7671adc8861ba0fd590ee90a2268944d8c"},"taxa":[{"id":"CWE-326","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"fb5783f385a2ba9d8e8475932c60b8852b53b0256f4b783c6c0b53e5ae5f8a5a"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b771e9c92ae65bb4210270eec7b09c1f29262d2c61267f15cf241b919e123a34"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67d95876395c46fc75fc37bb09586118fdb113367cbd6bdb072f0e0139b011ce"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61c1246c394d3e47c1a4a9cab7c2c3abeef91ff098630cdcb04d289e45803e55"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"363f128f61c7bd2dfe950f8c4ca3b248d257d27ffb5b72f9ca7676e5e43869ec"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 3 of 243 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 243 of the 402 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYAudioFocusManager.java, app/src/main/java/com/example/gsyvideoplayer/PlayTVActivity.java. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f5414e1bef05ba9e8acbf51cc0b5538836e7387b46f3d27aa44838d1cc1520"}},{"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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYAudioFocusManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f6b0a38db36177d5db883fec93f2d44ab190af5293be5115daa6710675dd39"}},{"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/example/gsyvideoplayer/PlayTVActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8aecb57e2c811191bc097c29ff9f3c487201ceed4bd38acc6bd80971287d1c8"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d71d0d61d584b242f4dab7a8356d225f55e1b44233fba843070c9ec8a6c4e869"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IPlayerManager (23 abstract methods): \u0060IPlayerManager\u0060 declares 23 abstract methods: \u0060getBufferedPercentage\u0060, \u0060getCurrentPosition\u0060, \u0060getDuration\u0060, \u0060getMediaPlayer\u0060, \u0060getNetSpeed\u0060, \u0060getVideoHeight\u0060, \u0060getVideoSarDen\u0060, \u0060getVideoSarNum\u0060, \u0060getVideoWidth\u0060, \u0060initVideoPlayer\u0060, \u0060isPlaying\u0060, \u0060isSurfaceSupportLockCanvas\u0060, \u0060pause\u0060, \u0060release\u0060, \u0060releaseSurface\u0060, \u0060seekTo\u0060, \u0060setNeedMute\u0060, \u0060setSpeed\u0060, \u0060setSpeedPlaying\u0060, \u0060setVolume\u0060, \u0060showDisplay\u0060, \u0060start\u0060, \u0060stop\u0060. 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. 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":"gsyVideoPlayer-base/src/main/java/com/shuyu/gsyvideoplayer/player/IPlayerManager.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b0d9724be8b406d365a1417621c0d429bd340d008947929c78dc4ce15e8cf4"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: VideoAllCallBack (23 abstract methods): \u0060VideoAllCallBack\u0060 declares 23 abstract methods: \u0060onAutoComplete\u0060, \u0060onClickBlank\u0060, \u0060onClickBlankFullscreen\u0060, \u0060onClickResume\u0060, \u0060onClickResumeFullscreen\u0060, \u0060onClickSeekbar\u0060, \u0060onClickSeekbarFullscreen\u0060, \u0060onClickStartError\u0060, \u0060onClickStartIcon\u0060, \u0060onClickStartThumb\u0060, \u0060onClickStop\u0060, \u0060onClickStopFullscreen\u0060, \u0060onComplete\u0060, \u0060onEnterFullscreen\u0060, \u0060onEnterSmallWidget\u0060, \u0060onPlayError\u0060, \u0060onPrepared\u0060, \u0060onQuitFullscreen\u0060, \u0060onQuitSmallWidget\u0060, \u0060onStartPrepared\u0060, \u0060onTouchScreenSeekLight\u0060, \u0060onTouchScreenSeekPosition\u0060, \u0060onTouchScreenSeekVolume\u0060. 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. 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/listener/VideoAllCallBack.java"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6791743926777960279fd02f900e5af4f41ec21f229a1efa84267e99114300"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IGSYRenderView (18 abstract methods): \u0060IGSYRenderView\u0060 declares 18 abstract methods: \u0060getIGSYSurfaceListener\u0060, \u0060getRenderView\u0060, \u0060getSizeH\u0060, \u0060getSizeW\u0060, \u0060initCover\u0060, \u0060initCoverHigh\u0060, \u0060onRenderPause\u0060, \u0060onRenderResume\u0060, \u0060releaseRenderAll\u0060, \u0060saveFrame\u0060, \u0060setGLEffectFilter\u0060, \u0060setGLMVPMatrix\u0060, \u0060setGLRenderer\u0060, \u0060setIGSYSurfaceListener\u0060, \u0060setRenderMode\u0060, \u0060setRenderTransform\u0060, \u0060setVideoParamsListener\u0060, \u0060taskShotPic\u0060. 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. 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/IGSYRenderView.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25bddb4591267946dfd294a292d14eee7f102ce2a017e93b015122d57ee5871"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: GSYVideoViewBridge (42 abstract methods): \u0060GSYVideoViewBridge\u0060 declares 42 abstract methods: \u0060cachePreview\u0060, \u0060clearCache\u0060, \u0060getBufferedPercentage\u0060, \u0060getCurrentPosition\u0060, \u0060getCurrentVideoHeight\u0060, \u0060getCurrentVideoWidth\u0060, \u0060getDuration\u0060, \u0060getLastState\u0060, \u0060getNetSpeed\u0060, \u0060getPlayPosition\u0060, \u0060getPlayTag\u0060, \u0060getPlayer\u0060, \u0060getRotateInfoFlag\u0060, \u0060getVideoHeight\u0060, \u0060getVideoSarDen\u0060, \u0060getVideoSarNum\u0060, \u0060getVideoWidth\u0060, \u0060isCacheFile\u0060, \u0060isPlaying\u0060, \u0060isSurfaceSupportLockCanvas\u0060, \u0060lastListener\u0060, \u0060listener\u0060, \u0060pause\u0060, \u0060prepare\u0060, \u0060prepare\u0060, \u0060prepare\u0060, \u0060prepare\u0060, \u0060releaseMediaPlayer\u0060, \u0060releaseSurface\u0060, \u0060seekTo\u0060, \u0060setCurrentVideoHeight\u0060, \u0060setCurrentVideoWidth\u0060, \u0060setDisplay\u0060, \u0060setLastListener\u0060, \u0060setLastState\u0060, \u0060setListener\u0060, \u0060setPlayPosition\u0060, \u0060setPlayTag\u0060, \u0060setSpeed\u0060, \u0060setSpeedPlaying\u0060, and 2 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 42 declarations carry 39 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 39 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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoViewBridge.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7c7e050a7f57f3f6b38d5e13e04c32625acbd16f399c4101350d9d6a0fc59d"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060onHostDestroy\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/NetInfoModule.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e369ed15c9d8772b7d699952df8c44058d1837ae854e20d5a55a6cfae79ad7e"}},{"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":"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) as a CI step. What was searched, so you can tell an absence from a miss: the 3 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"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: \u0060MVPMatrix != null \u0026\u0026 MVPMatrix.length == 16\u0060 appears character-identically in 2 files \u2014 gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewBaseRender.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYVideoGLView.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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewBaseRender.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e15beefc5537806ba6f8f501fd3d412c75b3fd7c2fa35cfdf6051311665f20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060absDeltaX \u003E mThreshold || absDeltaY \u003E mThreshold\u0060 appears character-identically in 3 files \u2014 gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYADVideoPlayer.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYSampleADVideoPlayer.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYADVideoPlayer.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b46ea1cdc81a18f1dc0272ecece26d73a367271d885022a12e213af09e211f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bitmap != null \u0026\u0026 FileUtils.saveBitmapToFile(bitmap, file)\u0060 appears character-identically in 4 files \u2014 gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYVideoGLView.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6771b14657d7dfd64ae8e4d61a46ba77cad0d5f4a2556cadbe0906e9a447a32"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gsyModel.getMapHeadData() != null \u0026\u0026 gsyModel.getMapHeadData().size() \u003E 0\u0060 appears character-identically in 2 files \u2014 gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java, gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.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":"gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc9dd7131734fb167796fd86b5aba45030a74c8eadb64fd5c0371248b666581"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gsyModel.getSpeed() != 1 \u0026\u0026 gsyModel.getSpeed() \u003E 0\u0060 appears character-identically in 4 files \u2014 gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java, gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/IjkPlayerManager.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/SystemPlayerManager.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":"gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8105a48d6b4e83cc051fed0cebdb4d8a06899f2e23f9c06a0fa9539793797a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gsyModel.isCache() \u0026\u0026 cacheManager != null\u0060 appears character-identically in 4 files \u2014 gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java, gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/IjkPlayerManager.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/SystemPlayerManager.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":"gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fc55773064c4fbff6c7af835a345dbec1873a232cbed9bd35dfd1d3a53db48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isCurrentMediaListener() \u0026\u0026 (System.currentTimeMillis() - mSaveChangeViewTIme) \u003C CHANGE_DELAY_TIME\u0060 appears character-identically in 2 files \u2014 gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c2de685967e34d104cc6db49d784914782cbc45a48d22c0987b48c824c87b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mBottomShowProgressDrawable != null \u0026\u0026 mBottomShowProgressThumbDrawable != null\u0060 appears character-identically in 2 files \u2014 gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/builder/GSYVideoOptionBuilder.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/builder/GSYVideoOptionBuilder.java"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"1002aef0b2ade41003fd8b46fa0ed833f8e822983aa0fbffac476bb14c892274"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mIfCurrentIsFullscreen \u0026\u0026 mLockCurScreen \u0026\u0026 mNeedLockFull\u0060 appears character-identically in 2 files \u2014 gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"30be53194b74ef803214444ec208337f1ea479abc55b068b9fe89016b32e54ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mVideoAllCallBack != null \u0026\u0026 isCurrentMediaListener()\u0060 appears character-identically in 2 files \u2014 gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d77f60b81bcac1f550479edb4b96e800b49b31b0cc56082c3118164dc35fbd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060setUpKey != null \u0026\u0026 lastAppliedKey[0] != setUpKey\u0060 appears character-identically in 2 files \u2014 gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/wrapper/GSYAnyVideoPlayerView.kt, gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/wrapper/GSYVideoPlayerView.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/wrapper/GSYAnyVideoPlayerView.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"951f41f5388f573a50d990b9e015d6bbac0893328292ef2e9f9afe8e34ec20cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66718d205b843c1be50acf9396c5885e11af72ecaa7ea25049c2a1bcb24305d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"057d54a77742d860bb7bc3c7e3c3468b954cd952ab712a7aa11d57e1523443b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"94209d3a95d6527118bb7cb6325d8ea5f576424be61c6cde7abcf80e9983bb90"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/LookupEffect.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebce9fb6763549d81117801ca74c430f5fc92a4ea90789ea489b4cc0e4ad374"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/preview/GSYVideoPreviewVttParser.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"963c36d25f18b41d056e332da1c4f4841756a3e0db18ea60d35c379f12d0bc95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/placeholder/EGLSurfaceTexture.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f945377e49a2d86cd873c1c57c8a5179cc6ea2325fb89ddc4446a537e045da3b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cast/CastCapability.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"163911bbbe2903ddf155dfdda195a4fa62501791c4999705642f28b6ecea6363"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cast/CastCapability.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f0e876f1f017c605e841cf13fac6dc3dda9661b347f0e04379c85a901707ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cast/CastCapability.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1631b4fcc7d9a1ef186f11e1cf13d55ee2783c03241b24a24635c409645149b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cast/CastCapability.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"82dfd49f322f12d989d33581d5b4cde519f40ace795f041dfd63e192e8ec4a2d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cast/CastCapability.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2191619183cd2d355c2b563f7e45b787f4b975c15763d7f4b909415ebb9c246"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cast/CastCapability.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c58d8199e5ad630cc4c1ace98ad8a005770868425b1b0a9c53e906aa9a080fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/ExoSourceManager.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8447a71a63bf7fa047f0be2c4411560247de459f08e98e80e39819a35bb0fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYComposeHostPlayer.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"219ec7dc7914b40f2a5fd396ddeef1bd246ace9e51a83980a55881b01fbc622b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYComposeHostPlayer.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4926ac9f7782d47e951a0c484152797f0e12cc99c68cbf899bc7351eae065b14"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2790c6ff2ec19fe2e8c06da0cb96c256787dd2365bd9d86b334b897b7378edb5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"408d8b044c91afabea46fc2c107eb0483ac3508971eb623eef8a12ddaec3769b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ea41fb2f32cb414224a9b772fe445d553e6e088c6db5f1d62f4165146b16e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"835332b87e684adcd16f9d7ebde0c68654ea0d90f9ee0e5700d49ca134d8a7cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1b2a8f878f887c6673ab617920a919fd6d3676a82646e602e25cd75e668589"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fb2de93371c22522728a708064f9ea5ecb62ef4958eee664b55d84e8afab31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fcedbd1e9a36e8fedf8c8064462fe688c07aa7310c84c44f08754310672224"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"024dc54b4dbad024b274c8b323ac24ec28d677bc2c842645b4d147db5bbced69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6fbdb455b277cd269da846e442e3004cf035766eb8d27423c69bc380f5fe62"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ef4c4b3966cbef2e78b47cfdfb706f3e017729cac89b2254290cfe6fffda5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1a3eab81630108e77b8b5fed5986021243fbb3b5321608a81dfd83fd803f5e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2020cc64c9462e695c02fb14b682fd867d701959d133b5a95e6737c0bb20dcbf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9a117fb0e5f8e558a9b649afb267e6db1afa1bedecef0b665e15a6f0404042"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b1749e9e8f9985a417907538d94397bad4b984a8d149039866cbf799751e25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d47fb96dd91fc1c6bc08af1dcecc30f2578f7f94158d1c0e21ed178abd4572"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2938448c9486db59b08a09fa5333ebe2df0bebac24a775c5905be81973550fae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd323734b8c43cc885449756477b7f40151135e50a381dd1ec506b77980b2a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0c4db93555b9cd849b1c0afe8f5c8149b6017ba094a568fe7a7c198ed5d922"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10d082851f8ee14c25b07c46f27875175e01f64b9bc46ee9147fa85d81bc133"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdef80a67d76b9cf2fea19997d0acbb85e7265329842bc2d17b9fe68961fb94"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f183d4cf0f6eb93ac54ffc301e17d62a27e6341e40f875ad2bd148e6e08602"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"756ba6938f98822f41bf26694fd4c143b4e55eca1bd1e1e8707475049e835017"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"14577b058f4eba52fcfdf9c26fbb22ad56519471162ee68a7cbe6ba41677fd48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"752e1773d5d31da79cbeb00a2dac99cbd9a20e75dc951059a3be87b7a51266fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea11d4fe43718b0514a10806850a6b44dd9127abeb56d71c7c09a039dc5c300"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3c183a38f678e70301dafb0e024827ca1bbc9d6fdcaa74415d59523c534752"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ef1f007c760f88650172d793d876b0ee082b607fd83341a7a581aaa4ea0c33"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efdebeb6503f9f57d088cb576632e45db0160bb9df242f7937a35cc6a762bfd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df897396deec9b045f6ce70d3854e59379cd7a55342b1b2fb451b8b9307e100"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"3267b1b199df1791e2254015cf116de583748517713ea676bbafee13bee59ff3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52e52e76b0eda36b7e5c52de46f7fad61045bed20edba3564047e6ea3141e1c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/DidlLite.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d608dba28f662c9a368d9cee20d3eb4602b0f6ae5255754751b628c86cb746c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaProvider.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71bb16e1fff9d05b7d44322d2ac1c6107838dbd9965719fab91fe1e1968e1f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaProvider.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dba383bfd42d5bf4e6376280a1d63525c29605a3fa41cab6bd2874063ce847"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaSession.java"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"16378b761a6ed442ab50e326b03eb350456252e3ff09c12cd690c74f0aa8576e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaSession.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"911c902c5340c383460f1dd1304b315b5abbc85c93aff2f45e8d7382fe049fc8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/JupnpDlnaSession.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f53a0d005051f411a29f16a69698c7cd9be3f23769ff5b8f4a3f7bef6eaf3b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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/example/gsyvideoplayer/CastDemoActivity.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"56151ee94878e47649e5e01c7633142e8edf46b6695dd4319e3723dae248eca1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/CastDemoActivity.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c4852397e594afc6cfadd7ee098e021e297be3691295a7c68e39c5fcf42a52"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9a25260af25227af7bc48e663ab7f8aab114fe9daae160a03bf1d96c35b129"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"992119ac6905e9503cc1aaf3a25009046a3c54b4774175f49389ff0c99533b5e"}},{"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/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5533fa0d541b475bf3812d73222644d1997a64007274b1dcc5173f6fa3d825"}},{"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/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c858da6c4d33993cf5fbfc30ba619ffc751d93fd4b4cf0159d2d0558dc81ce"}},{"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/example/gsyvideoplayer/cast/CastReceiverFloatingWindow.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2518818ccf5ef3eefda8c851836f401d9a1aaaee111d7abfa38edebd4d3a6a7"}},{"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/example/gsyvideoplayer/cast/CastReceiverFloatingWindow.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"210fa8001903db65ca8c17e7bac44adaaf84c4808cdbcd2390e781553f092368"}},{"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/example/gsyvideoplayer/cast/CastReceiverFloatingWindow.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"947895fde1d6d6f2cc70112d3625744a12593266213711e55586abf9273ef7e2"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/53 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"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getCurrentPositionMs\u0060 swallows every exception into \u0060return 0L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/cast/CastReceiverFloatingWindow.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a843c19a36e61d2616b69fa2f50068c8d733be69ba7c541b6cf5c22355ddbed"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getDurationMs\u0060 swallows every exception into \u0060return 0L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/cast/CastReceiverFloatingWindow.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"833f03a88a3235825f54bed1366e8b287a3fb102e32d6f0c1db572b8edc4449a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060parseTimeToMillis\u0060 returns \u0060-1\u0060 when \u0060NumberFormatException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/cast/LoopbackAvTransportService.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"351d13f873c8cdd02e8f49fda056d892a5b941a0989fd99fe3f7cb75f069d806"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060build\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-cast/src/main/java/com/shuyu/gsyvideoplayer/cast/dlna/DidlLite.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a97e2ecbab3df5713c7091dbf95aeff179fc8d5a9c1500ad0a5001019e1feec"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060parseTimeMs\u0060 returns \u0060-1\u0060 when \u0060NumberFormatException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/preview/GSYVideoPreviewVttParser.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4946515d2419abf35ae874a7d36528716f681ba90a6203c99ee1247549462c11"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060parseLong\u0060 returns \u00600\u0060 when \u0060NumberFormatException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYSubtitleTimeParser.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"184715369c62a0277040e602a39880204f5b9e43f6713dfa5ddc798505fcce8f"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-321","guid":"0ce564a5-a44c-3358-b3db-317712e6e019","name":"Use of Hard-coded Cryptographic Key","shortDescription":{"text":"Use of Hard-coded Cryptographic Key"},"helpUri":"https://cwe.mitre.org/data/definitions/321.html"},{"id":"CWE-326","guid":"7ee78bef-7589-f65f-a9d7-619f3485e844","name":"Inadequate Encryption Strength","shortDescription":{"text":"Inadequate Encryption Strength"},"helpUri":"https://cwe.mitre.org/data/definitions/326.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":52,"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."]}]}