{"$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":"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}}]}},"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":"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":"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":"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 16): GSYVideoControlView.setProgressAndTime 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-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":"D2","level":"warning","message":{"text":"MeasureHelper.doMeasure (cognitive 111): MeasureHelper.doMeasure has cognitive complexity 111 (threshold 15). Drivers by points: if/else 88, boolean chains 15, match/switch 8 (nesting depth added 67). 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 60, loops 9, boolean chains 4, error handling 3 (nesting depth added 50). 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/BiliDanmukuParser.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"811b821a3c8f85c0cd7ccfdc60bda2d080e55c3f860790d82f92a8c1adc89379"}},{"ruleId":"D2","level":"warning","message":{"text":"StandardGSYVideoPlayer.onClickUiToggle (cognitive 75): StandardGSYVideoPlayer.onClickUiToggle has cognitive complexity 75 (threshold 15). Drivers by points: if/else 73, boolean chains 2 (nesting depth added 48). 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":"1.onOrientationChanged (cognitive 72): 1.onOrientationChanged has cognitive complexity 72 (threshold 15). Drivers by points: if/else 62, boolean chains 10 (nesting depth added 37). 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":"NeuQuant.map (cognitive 58): NeuQuant.map has cognitive complexity 58 (threshold 15). Drivers by points: if/else 56, boolean chains 1, loops 1 (nesting depth added 40). 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":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"311ecb755665d0270541b456834bac112fca5773863a26dc34542e6210ff4382"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoControlView.onClick (cognitive 44): GSYVideoControlView.onClick has cognitive complexity 44 (threshold 15). Drivers by points: if/else 41, boolean chains 3 (nesting depth added 26). 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":"3.onPrepared (cognitive 43): 3.onPrepared has cognitive complexity 43 (threshold 15). Drivers by points: loops 33, if/else 10 (nesting depth added 31). 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":"GSYVideoControlView.clickStartIcon (cognitive 40): GSYVideoControlView.clickStartIcon has cognitive complexity 40 (threshold 15). Drivers by points: if/else 29, error handling 7, boolean chains 4 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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":"TvVideoPlayer.onTouch (cognitive 33): TvVideoPlayer.onTouch has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14, loops 8, boolean chains 6, match/switch 5 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"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":"GSYVideoControlView.onTouch (cognitive 33): GSYVideoControlView.onTouch has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14, loops 8, boolean chains 6, match/switch 5 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"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":"GSYWebVttSubtitleParser.parse (cognitive 30): GSYWebVttSubtitleParser.parse has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18, boolean chains 6, loops 6 (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":"GSYSampleADVideoPlayer.changeAdUIState (cognitive 29): GSYSampleADVideoPlayer.changeAdUIState has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 14, 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":"IjkPlayerManager.initVideoPlayer (cognitive 28): IjkPlayerManager.initVideoPlayer has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14, boolean chains 7, error handling 6, ternaries 1 (nesting depth added 7). 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 28): GSYVideoControlView.touchSurfaceUp has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17, boolean chains 5, ternaries 4, error handling 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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":"StandardGSYVideoPlayer.showProgressDialog (cognitive 28): StandardGSYVideoPlayer.showProgressDialog has cognitive complexity 28 (threshold 15). Drivers by points: if/else 26, 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":"LZWEncoder.compress (cognitive 26): LZWEncoder.compress has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20, loops 6 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"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":"HttpUrlSource.openConnection (cognitive 25): HttpUrlSource.openConnection has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19, error handling 3, 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 10, ternaries 6, error handling 5, 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 18, loops 5 (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 19, boolean chains 2, ternaries 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 19, loops 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"51422c669eb8caf792388adb5c492aba5bdf4481a2d4426b373fe3ee690a9b05"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoView.onInfo (cognitive 22): GSYVideoView.onInfo has cognitive complexity 22 (threshold 15). Drivers by points: if/else 20, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a866d17ef1b70c075eb5113acb4053ba6f234fa1ecbcb08762d6bda567860fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollCalculatorHelper.playVideo (cognitive 21): ScrollCalculatorHelper.playVideo has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, 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 17, 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 16, boolean chains 2, loops 2, 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":"SmartPickVideo.resolveStartChange (cognitive 19): SmartPickVideo.resolveStartChange has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, error handling 3, 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":"GSYVideoControlView.touchSurfaceMove (cognitive 19): GSYVideoControlView.touchSurfaceMove has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, ternaries 4 (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":"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":"SampleCastControlVideo.isPlausibleIpv4 (cognitive 18): SampleCastControlVideo.isPlausibleIpv4 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 4, loops 3, error handling 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":1048}}}],"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 16, 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":"GSYADVideoPlayer.changeAdUIState (cognitive 18): GSYADVideoPlayer.changeAdUIState has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 12, 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 4, error handling 3, 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":708}}}],"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 12, boolean chains 3, ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleCastControlVideo.java"},"region":{"startLine":794}}}],"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 8, loops 8, 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":"GSYVideoGLViewSimpleRender.takeBitmap (cognitive 17): GSYVideoGLViewSimpleRender.takeBitmap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6, ternaries 6, error handling 4, 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":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb37257f0f9e4a7018a7adff99b4ab3a77f1f88e331351870bf1df1d39fa5e0"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkUtils.getNetWorkType (cognitive 17): NetworkUtils.getNetWorkType has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, match/switch 4, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/NetworkUtils.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4922050600794f8270450648aef3a814c27e95b7911e8cba5269b5e37f6643"}},{"ruleId":"D2","level":"warning","message":{"text":"GSYVideoControlView.setProgressAndTime (cognitive 17): GSYVideoControlView.setProgressAndTime has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, 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":"5.onPrepared (cognitive 16): 5.onPrepared has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, loops 8 (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":"GSYVideoPreviewVttParser.parseFrames (cognitive 16): GSYVideoPreviewVttParser.parseFrames has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 3, 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 15, 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":"IjkExo2MediaPlayer.onPlayWhenReadyChanged (cognitive 16): IjkExo2MediaPlayer.onPlayWhenReadyChanged has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 8, if/else 7, 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":"D3","level":"warning","message":{"text":"TooManyMethods: GSYVideoControlView: TooManyMethods \u2014 120 methods. 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. 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. 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. 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":"TooManyMethods: GSYBaseVideoPlayer: TooManyMethods \u2014 64 methods. 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. 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 903 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: GSYVideoControlView (54-1601). 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. 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 51 methods. 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":"TooManyMethods: GSYVideoGLView: TooManyMethods \u2014 46 methods. 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":"TooManyMethods: GSYVideoHelperBuilder: TooManyMethods \u2014 44 methods. 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: AliMediaPlayer: TooManyMethods \u2014 43 methods. 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: GSYBaseActivityDetail: TooManyMethods \u2014 41 methods. 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":"FileTooLong: utils/AnimatedGifEncoder.java: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"TooManyMethods: ExoSourceManager: TooManyMethods \u2014 40 methods. 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":"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). 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). 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":"TooManyMethods: IjkPlayerManager: TooManyMethods \u2014 35 methods. 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":"FileTooLong: gsyvideoplayer/GSYVideoBaseManager.java: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: GSYVideoBaseManager (44-1014). 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":"FileTooLong: base/GSYVideoView.java: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: GSYVideoView (44-1223). 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: GSYSurfaceView: TooManyMethods \u2014 31 methods. 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. 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":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/BarrelBlurEffect.java:60-90 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/GaussianBlurEffect.java:61-90 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/BarrelBlurEffect.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":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/BarrelBlurEffect.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"01314af7d0ed566862903f85f51d7549b70d564d550b82cb486dd74eb9ed0094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:79-105 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:71-97 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/DetailControlActivity.java:79\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":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efded42d6340a4692e3cc5a687879760c78b5dfec868d0e63dc355442b931fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DocumentaryEffect.java:67-93 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/LamoishEffect.java:71-96 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DocumentaryEffect.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c970cc5e3de136148bf1b0a5768ca93bdbde418fd26225378d4773a0440ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/GrainEffect.java:56-83 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/LamoishEffect.java:66-89 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/GrainEffect.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"87942667b553f5f7a640806b1b64db5d78c48e2b3b4af62a758d32bcb249bc3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/DuotoneEffect.java:52-73 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/effect/TintEffect.java:45-64 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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:52\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/DuotoneEffect.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1af9d0d7b6b24d9439815847e1b87452a4f4a733220cda67a259409355dc6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode2.java:106-123 | 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 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode2.java:106\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode2.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd06e4b5443d6d2a40b5989328c1ede9f328294188de4e6e690aa70330427907"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/video/AudioSampleVideo.java:106-122 | app/src/main/java/com/example/gsyvideoplayer/video/SampleCoverVideo.java:128-144 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java:422-438 \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/video/AudioSampleVideo.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0573402cce61bfd0ba61563d7390e780f9fc89361bece2a5f2431dfb56227584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:271-287 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:286-302 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/ListADVideoActivity.java:271\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aa37c6d5c3b64d321e9f6a10944b2562ce684a4be18d879a1d2fdbb6444831"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:119-142 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:110-126 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/PlayActivity.java:119\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":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5af79bb27b64a3b83ef7f7681b03befe6e660efd47b8fa717956b19ded6ffcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:160-176 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:180-196 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/RecyclerView2Activity.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/RecyclerView2Activity.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f8e7c47b566d86569c256e9d62c424b61796c33d6b8498bfc71eac63048f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:178-193 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:55-70 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:45-60 \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/exosubtitle/GSYExoSubTitleDetailPlayer.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d993915f8e0295d3b30e22520c7d41a7847b8292ef01db0078ca5017b0be16d"}},{"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:274-288 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:118-132 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/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":"f1cca8ca0ceee68e70872c19105ed743b57a54df84281dd216b7f4991ce7e43c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java:110-124 | app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java:133-147 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/video/SampleControlVideo.java:110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b03ac4ceb4b23f0ad4f4b4f179ac422dfe9aaee4613ddd31dedeef45d067196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:59-73 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:64-79 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/RecyclerView2Activity.java:59\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":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b83ffa492dff65aa309a6c32e57dd424964cb88063d8eecdc033861d0b18f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:283-296 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:657-670 \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":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef12f5df75568ed3af378e676391c6f1b17f52566460da9b4757efb527d70fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java:100-113 | app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemPlayNormalHolder.java:93-106 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/holder/RecyclerItemNormalHolder.java:100\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":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a4648c697fc84e096281e789bd47dee3fbe23a939f0ddcb82e1cf72e532e60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode2.java:47-60 | app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java:59-75 \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/simple/SimpleListVideoActivityMode2.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode2.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a86e51fb2cddf748d5d1fbe5aaacc1c7c0a331496068ebfedb583e89c989368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:285-298 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:323-336 \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/utils/SmallVideoHelper.java:285\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":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7c9672d51318760a22f316f425a7c4f33d2350c61c7948bfb59ac8403d4162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java:70-84 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:545-558 \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:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/TvVideoPlayer.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3af2021cfdf0240d438de1b6f12d2f4f390532c33d57bf7e2add43ab7b8c09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java:147-160 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYSurfaceView.java:180-193 \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:147\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/view/CustomTextureSurface.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eee61ce965e4eb794fcdce5be138fccbab3ad7a3c202f2be067f071d7c7639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:160-173 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:166-179 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/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":"43a0c59190030a365c1c8e200b00c65e1bf3662e23a7ee02b549cd3f37a5f349"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:284-296 | 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 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 8 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:284\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/exosubtitle/GSYExoSubTitleDetailPlayer.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42c2179f27127de8b416bce37d883b38a20eeb72a670b7324b0a402e0a75f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/adapter/ListVideoAdapter.java:90-106 | app/src/main/java/com/example/gsyvideoplayer/simple/adapter/SimpleListVideoMode2Adapter.java:87-99 \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/ListVideoAdapter.java:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/adapter/ListVideoAdapter.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6300421d50fe22438e6a201e0745e39d6fe7693640ea480e1b58fc9ce69445e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exo/DetailExoListPlayer.java:80-92 | app/src/main/java/com/example/gsyvideoplayer/DetailListPlayer.java:70-82 \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/DetailExoListPlayer.java:80\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/DetailExoListPlayer.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"57677a4f098c54b2d28ca8f12b76f18a34c69828f4e2d017ba15fb07f8a9de30"}},{"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 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/holder/RecyclerItemNormalHolder.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09351ba97159166ab145c4f008bf40fcac242b235f78233a6ee2b916d8d8dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java:97-109 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:579-592 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/video/TvVideoPlayer.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7c72f5bc8522a4dfe0483b893bf6a1d58ede5a9ca9b69e3efe2e1e059e816c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:48-60 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:54-66 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/ListADVideoActivity.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/ListADVideoActivity.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e70cbb104c191c3808b692f8c43ce913a40e1063935ee54c1eb04b36ab935e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java:809-821 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java:834-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:809\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":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd857a5018dfa39f832ae681de753f860ee213e35d8e4c2f8e15d9d7aa92ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java:119-130 | app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender4.java:78-89 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewSimpleRender.java:299-310 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java:119\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6272f0f1ea57128a9d1a691e223366da853a50571187f8041391238ea859e21e"}},{"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 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/video/AudioSampleVideo.java:56\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/AudioSampleVideo.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e03b31f4aff724c5e33bda79d340ca03247bcc18f1da85ea182ca15b6d003c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:56-67 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:636-647 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:675-687 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:56\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/video/KeepLastFrameVideo.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5912926dd1b048d1f327da5505ae56d469acdc9971b67393049f68966e1bb04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:265-276 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:708-719 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:257-268 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/DetailControlActivity.java:265\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":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d5149f08074e27eb38765a9dd30a6315fd1ae5cd21ffd4fb0c80ee90130efd"}},{"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 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/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":"a753597fc6bee47fcddcbc90474de30a91c12bbe3a1725ad632211618101d409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java:188-199 | app/src/main/java/com/example/gsyvideoplayer/PlayEmptyControlActivity.java:113-124 | app/src/main/java/com/example/gsyvideoplayer/PlayPickActivity.java:172-183 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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":"app/src/main/java/com/example/gsyvideoplayer/PlayActivity.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fa659df4e0ad270120123bc651ebb16a569989eada17ab42d2bd9e0d3209f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:207-219 | app/src/main/java/com/example/gsyvideoplayer/DetailDownloadPlayer.java:75-86 \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/exosubtitle/GSYExoSubTitleDetailPlayer.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1529218f349211e523cf052cef994ba4d1dd65a87bc691c0c58176f65d830c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/mediacodec/MediaCodecTextureView.java:181-192 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/GSYTextureView.java:188-199 \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/mediacodec/MediaCodecTextureView.java:181\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/mediacodec/MediaCodecTextureView.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae3ce676abe94461ad4a2eb72985207fe4d02b39138b60a44c8cd50c8ab27e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode1.java:30-41 | app/src/main/java/com/example/gsyvideoplayer/switchplay/SwitchListVideoActivity.java:29-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/simple/SimpleListVideoActivityMode1.java:30\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/simple/SimpleListVideoActivityMode1.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"638a2927555f03a0bb068659288e4d3edd2f813c54cbffac40ffc6cdb24a144c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java:60-71 | app/src/main/java/com/example/gsyvideoplayer/DetailNormalActivityPlayer.java:67-78 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/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":"cde562c8d3518b8d1eaa974bba2d70cd1c806903f199d937a0a71676577fffd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java:45-56 | app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java:41-53 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/AutoPlayRecyclerViewActivity.java:45\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/AutoPlayRecyclerViewActivity.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7958f8aa4e587e0f4e291a87671f4ec200805e9535aa5a32997a0e6288877fdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:152-163 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:144-155 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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":"app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a8ed4f343e97484f1155e75144b863ab688df02a16004aaece36ebf898c6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailDownloadExoPlayer.java:140-151 | app/src/main/java/com/example/gsyvideoplayer/DetailMoreTypeActivity.java:118-129 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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":"16bbf7927cbe01252c8fce6d7c32039421db0556ead4de58500c8ea170d47e01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java:290-300 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/SystemPlayerManager.java:286-296 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java:278-288 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java:290\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e4957f4b10f8e9588c71720f0de5c02ed6390e9947d265a9b11ea317038ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:229-239 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:396-406 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:221-231 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/DetailControlActivity.java:229\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":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaa27301c3029e26871eb740ee998f08ac6494b62f87e83dbf43b9569f5a5e0"}},{"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 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/ListVideoAdapter.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/adapter/ListVideoAdapter.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5506312874a2a6e446e0cca9678b86eaccf1595ac114c9f2ecc1126c4664390f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:334-344 | app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:133-143 \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/exosubtitle/GSYExoSubTitleDetailPlayer.java:334\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/exosubtitle/GSYExoSubTitleDetailPlayer.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cb4d1a22aea9a99e18933e8be9fd31a3d7a8d5c74acc16081a903e6b897ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java:441-451 | app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:218-228 \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/exosubtitle/GSYExoSubTitleDetailPlayer.java:441\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleDetailPlayer.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f236f54d85a4d15666ae2c033dfe316dc0b4ea426fa7eea09db348e1452240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/fragment/VideoFragment.java:65-75 | app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java:62-72 \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/fragment/VideoFragment.java:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/fragment/VideoFragment.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbeceecd4d890074d7f5dda78e904fe5885d7d0b73f1e0e7c7b289cac800388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:127-137 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:189-199 \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/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":"946a358e210d589e1a540f3656c689a6e646107c133a4a784915c4a0232eef75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:390-400 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:101-111 \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/utils/SmallVideoHelper.java:390\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":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccdf879e883df3555460dafb360924418bd8da514dd21bddacf12de0196f367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java:163-173 | app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java:186-196 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/video/SampleControlVideo.java:163\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":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d51c2b9ac34e0b6e62ccc0be66751a3523bd3f8b187535e21d56dd94751e789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java:62-72 | app/src/main/java/com/example/gsyvideoplayer/RecyclerViewActivity.java:55-65 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/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":"8d0b0ef8860ef9970a2440f87a45465c47121c76df78044da20ec00c2f935c24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:475-485 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:540-550 \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/video/StandardGSYVideoPlayer.java:475\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/video/StandardGSYVideoPlayer.java"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"18254babcff8b7f67a6637471c66e1cafe059e8282a61512fb0502071fd3d872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:685-695 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:734-744 \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/video/StandardGSYVideoPlayer.java:685\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/video/StandardGSYVideoPlayer.java"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbb2f9e45b9c436e10c09875ffece663031b596b7d57129ebb5fe40245e16ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java:249-259 | gsyVideoPlayer-java/src/main/java/moe/codeest/enviews/ENDownloadView.java:310-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:249\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":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac44f163e41c3ddf33df4a795a0d684838b91e4a7834f8749468ee397719f160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): app/src/main/java/com/example/gsyvideoplayer/simple/SimpleDetailActivityMode1.java:89-98 | app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:322-331 | app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java:435-444 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:314-323 | app/src/main/java/com/example/gsyvideoplayer/WebDetailActivity.java:158-167 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/simple/SimpleDetailActivityMode1.java: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/simple/SimpleDetailActivityMode1.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a73467eb43293547a9f1b40736596e38d07608039e7756cbb76a688f6560e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/adapter/ListMultiNormalAdapter.java:85-94 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:186-196 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:192-202 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/adapter/ListMultiNormalAdapter.java:85\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/ListMultiNormalAdapter.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"786df36c75e7eeb823d78254fad79067f9caa84fc0c4c3effaf2e79e2e60ef38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/adapter/ListMultiNormalAdapter.java:105-115 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity.java:218-228 | app/src/main/java/com/example/gsyvideoplayer/ListADVideoActivity2.java:224-233 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/adapter/ListMultiNormalAdapter.java:105\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/ListMultiNormalAdapter.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"164a76603aa4c0e4ef06b444c7c5528f4f60cc71e5c21550617940b4ae53914f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:265-274 | app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:58-67 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:638-647 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:265\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":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca4e7fced2d7a569cc5e58c8e1d9d85a40d4f2ea22e0b857ea6a8511161ad4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2MediaPlayer.java:191-200 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayer.java:54-63 \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/GSYExo2MediaPlayer.java:191\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/exo/GSYExo2MediaPlayer.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92c2e5aa6a9e8ed4a2dbaa8671021978865ca9e297602594058a760dbfd62d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/video/SampleControlVideo.java:240-249 | app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java:295-304 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/video/SampleControlVideo.java:240\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/video/SampleControlVideo.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af5ced98d3e91683ee77ef41ff1c5d0a0ae204efc04c2d27a426e7a704fd8b1"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java:174\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/view/CustomTextureSurface.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fd318eaf003356e847147386d9d38ed8b97fdba87cba68f3a4e6ecd9291fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailControlActivity.java:346-355 | app/src/main/java/com/example/gsyvideoplayer/DetailTransparentActivity.java:338-347 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/DetailControlActivity.java:346\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":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"070fa26bec48f6f2e28e31649dfe92a04c965e7cfce0b7e5e79c2a375f59b166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:495-506 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:518-527 \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":"64f25682779cc30b1b685d478b2706c099f63897a5865276f138448b911e96e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:161-169 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleVideoView.java:54-62 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java:348-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:161\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/exo/GSYExo2PlayerView.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0515733562062b25416b048657faf60a93d9890aad26df26d346b5e9122b9602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:95-103 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:502-510 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java:523-531 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/video/KeepLastFrameVideo.java:95\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/video/KeepLastFrameVideo.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"10be63cf8b85283a6348b3fa2b96fb3089886177b504792c0e31c14970ee1487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender.java:221-230 | app/src/main/java/com/example/gsyvideoplayer/effect/GSYVideoGLViewCustomRender3.java:47-55 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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:221\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":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4056f6df7dda9a306c5baff04ecdcca7b64a42fda2007a65aff2079a36b53866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:206-214 | app/src/main/java/com/example/gsyvideoplayer/video/FloatingVideo.java:165-173 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:206\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/exo/GSYExo2PlayerView.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1436278a9babc134e77f4b6cb6502c7c56fa54471126eec8ad11814d871da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExo2PlayerView.java:228-236 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:675-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:228\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/exo/GSYExo2PlayerView.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb13216000753f94d8d306ae6204ca890eb684e0af2ffd4e75d31af34fc2c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:343-351 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:367-375 \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/utils/SmallVideoHelper.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c9d796850ab4f2d4e392d735cf28468d74f03dbd5109d512dbe16f9df52b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/ViewPager2Activity.java:42-50 | app/src/main/java/com/example/gsyvideoplayer/ViewPagerDemoActivity.java:42-50 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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:42\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/ViewPager2Activity.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"667322b71fd08fa2ebe5daa749d3c32f63862c1f4b6cf1f083011fd49836b9b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:1081-1089 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java:1100-1108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aff63f411d0408b0268b7d98ca7f3b3d0831048faadc64e45cfdcb0b0a6324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/GSYSampleADVideoPlayer.java:154-162 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/NormalGSYVideoPlayer.java:37-45 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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:154\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":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfd9d3b5a78c049f41027200ff0e0f543f9d8521a97f127ce54f20a794c1619"}},{"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 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/video/AudioSampleVideo.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/video/AudioSampleVideo.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab6b013f9f4ecd9381210e259201cb617d255a665173728d8b7d09b5d70a80a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/ListVideo2Activity.java:74-81 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView2Activity.java:148-155 | app/src/main/java/com/example/gsyvideoplayer/RecyclerView3Activity.java:168-175 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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/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":"4aa276bec783e631084480fde8837863e104876ffbfc5e6855ab0d0fb3b70f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/CastDemoActivity.java:82-89 | app/src/main/java/com/example/gsyvideoplayer/SubtitleDetailPlayer.java:70-77 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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":"b776c03f5757f40d8a60e26db2e204912d57f9bac2da329435877c0f143db5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYSrtSubtitleParser.java:50-57 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYWebVttSubtitleParser.java:49-56 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, 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:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYSrtSubtitleParser.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"79581ae5596a33dedc03f38984d2a4354c8090ba42742853e767a19c3e4b4b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/OrientationUtils.java:104-111 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/OrientationUtils.java:234-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":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e0e911a53e8753761f3a95904bcf7d407db37884d402d648676ccf79767b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoVideoManager.java:183-189 | app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleVideoManager.java:151-157 | app/src/main/java/com/example/gsyvideoplayer/video/manager/CustomManager.java:180-186 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoADManager.java:116-122 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoManager.java:144-150 \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. 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/exo/GSYExoVideoManager.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"229f51dc0f81f0cb3be9b796909c4a3ce25d890e873cee143936cb397ff00236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:68-74 | app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:107-113 | app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:127-133 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java:68\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/utils/JumpUtils.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c16bb65f027a65552ad4677195e93c4ab32f4a642e8b5215b17eff0f81e7c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:216-222 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java:218-224 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:262-268 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:216\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":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"452aaced31e2128a127840b20a017e153397c4282b1196e2d6dadd25222e6545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/adapter/ListNormalAdapter.java:87-95 | app/src/main/java/com/example/gsyvideoplayer/simple/adapter/SimpleListVideoModeAdapter.java:73-79 \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:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/adapter/ListNormalAdapter.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8669a035206ef16a3b715ae995ebefe3f15492b2852ad7a90ee391de2ca772"}},{"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":"69ad892e064728df4b9d35b2218a6278e28c6d0d080e0c7e3cfaa8f6a3844b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitlePlayerManager.java:62-68 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java:60-66 \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/exosubtitle/GSYExoSubTitlePlayerManager.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/exosubtitle/GSYExoSubTitlePlayerManager.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbba5de14f33ca4c30ff5ba6844d23df551e43ad8bb72eddabd439e980c3aeb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/exo/ExoAdaptiveTrackActivity.java:122-127 | app/src/main/java/com/example/gsyvideoplayer/SmartMediaCodecFallbackActivity.java:71-76 \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/ExoAdaptiveTrackActivity.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f691a161c6068128e3a34ebdc653438f47cddf8bea987bfd2ddc0991cdf384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/simple/SimpleActivity.java:41-46 | app/src/main/java/com/example/gsyvideoplayer/MainActivity.java:103-108 \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/simple/SimpleActivity.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/simple/SimpleActivity.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e92c580b67b2e8bd544276abaa855be5cc83b09b753e76979e3dd65933dc535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java:45-50 | gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/Exo2PlayerManager.java:57-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-aliplay/src/main/java/com/shuyu/aliplay/AliPlayerManager.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7118e46ed3d3c0010fd95bc1fedceea135a6329219ee1d2291a824275a1e7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYSrtSubtitleParser.java:11-16 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYWebVttSubtitleParser.java:11-16 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/subtitle/GSYSrtSubtitleParser.java"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96671408688eb2c710dc2ccef14351329b3cd57b849cbbe39aa0f978944402e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/utils/SmallVideoHelper.java:186-190 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/ListVideoUtil.java:240-244 \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/utils/SmallVideoHelper.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c77e59b25704870a2b18ed1bf74639c7f072fb1e9cf421352b2d8a3f6dc2fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:223-227 | app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:230-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java:223\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/DetailPlayer.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"89124fd2dc5ff8fbe425659fc307330de74c7c01c092abd8ed501fe69e4e0e4f"}},{"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":"34bc1fe16d55af660d32bae3fb6fe9737ee126473e37873178b7e2eca1d6ce2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java:901-905 | gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/AnimatedGifEncoder.java:910-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:901\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":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e2eabeeceb0e460f3526a29d7421bd15ee2261c8cece3c465b97078414508"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/example/gsyvideoplayer/MainActivity.java: app/src/main/java/com/example/gsyvideoplayer/MainActivity.java changed 3 times in last 90 days, max complexity 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/example/gsyvideoplayer/MainActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a4a0c28e4b062e637258ea6243f1cd7657eaff8a175a90789e0783f841de6b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 70 significant file(s) lose their only recent owner: gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java, gsyVideoPlayer-compose/src/main/java/com/shuyu/gsyvideoplayer/compose/native_/GSYPlayerController.kt, app/src/main/java/com/example/gsyvideoplayer/DetailPlayer.java, gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java, app/src/main/java/com/example/gsyvideoplayer/DetailFilterActivity.java, gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/ExoSourceManager.java, app/src/main/java/com/example/gsyvideoplayer/video/SmartPickVideo.java (\u002B62 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b01dc6cd0c23601b08fc6dd8bc5522a2e12a15826f4c5b8c0fbd18358a44d1fe"}},{"ruleId":"D19","level":"note","message":{"text":"The README ends with a link to \u0027UPDATE_VERSION.md\u0027 but no version-by-version table is shown in the visible portion.: Since UPDATE_VERSION_EN.md is clipped, do not flag it as missing; only add new content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b428bb26458d2440e74b5b6f96af488a87fa8d826c6d3df3813def6f6d4ea83e"}},{"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":"3b88cd4fe0a20eb793119ef1e2dac5f4c48a52f12613c55f768d17ef75a308a3"}},{"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":"dd79e1c918a975cb653f7f8a61e4535bd7858758b5b9574b35cfb68a8ae7a0e1"}},{"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":"75468238662f71bbb3902405d3d72052eaa36dedfc0ae3e9d1a7a043754c9b01"}},{"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":"ac04959309cec542ce472329d5a253e40cb49173439abae0b1e28bd2ef275452"}},{"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":"7bd2911bb007f4b9bc6b41828633d3bdefc6c29abea9f52f927d2a6615b90f8d"}},{"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":"34857553d807e4db186e1326186dd8e7194682863ec9769190cdcf4302347617"}},{"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":"3c2c3ac853192d90aaa573f1ec2b90a3012452fcc9c4b6aec56d90f935e66aee"}},{"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":"df83a2a3ca0789950a12e0afcba76e0594c3baa5e5d5b0f3ccad6bbb8d7f8f42"}},{"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":"57b0e11b50566ec728f91fb4aca032ccb187e40ac0197b053b02ae324c0d2ed9"}},{"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":"612742dce201032c80da6df03f52466091d472f4b0640ddc8a7b8f5e15a6a0f3"}},{"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":"7ceee73d76663034321cbd3b5bbecae8b673163039b70b12462f979a331e73d3"},"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"}}]},{"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":"f9133a9e0662ea147398e5245e9ab5616e72d7c04badcbbf985f01679ccd8eac"},"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"}}]},{"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":"3393ea8ad8433d17e047188b203b8d66e4635e8d22ee639ea4db0ae8dedd02c5"},"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"}}]},{"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":"8eb50784ab958284eb3ecd7050384e4061ddeae0c76cf46d9d242ff3f816fc6b"},"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"}}]},{"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":"dcb2067cb3f8023c0efae4ab8407a8e5707f4ed641c9a34337913b6ea276670f"},"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"}}]},{"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":"68b444ad0d308da4ee70205f4fdbc8cd63ee731bc5726cd8f4fe2593dc577acb"},"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"}}]},{"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":"f2d16f2ae890b6fb9e80197821f30d1780089945ea9bd45449bd6ab7cd93ae80"},"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"}}]},{"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":"7e801b66f4e2838a468bc7cfe7b1d62528ddb3104046e8433455c9becd6ff3de"},"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"}}]},{"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":"ca9a43a516dd02491539177be954749151509ac3688089e0aa2d53d002b9994c"},"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"}}]},{"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":"44fd4aceef9a2c6b311a23180263f5c4b067d26ede3cf6873a83b60008a6c5a6"},"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"}}]},{"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":"355bf14c6acef84542af5afb9255723752d4587550294792d6f5e99364e127f6"},"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"}}]},{"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":"344e0f8f6486b218448eda46a2aaaec0e577b5cf282c1e6ab4fcee8df8b5e9e8"},"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"}}]},{"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":"c3fbea579e55e53c7fcec25894ca6901cae60f481c901c34c049c2bb523b9fe3"},"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"}}]},{"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":"232526e51ccc0bf9ff8267d90534161f3528ad85581672f0d670037239eac468"},"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"}}]},{"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":"ebdc98e8ed01d1fc9ee1279e7f81b703f7b8c5ebbb4dc5394dc5dd489b4fa268"},"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"}}]},{"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":"dc3be3ba58d4629705dfd545da186a17b67b3f81a7f10bd3fa1165b7ffa1062e"},"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"}}]},{"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":"3b0367e7ea9bdd389991714fe83002077989c3eac9db9d8bdc3becd4dd073aee"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"8af5214562f352c8d59c20d27dc6ee793df3749dcb25e113c96656527e232dc5"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"da7822855c1463b37e09ed3f977ae5fefb514f848642c768cefca86eb14c67c2"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"28730802ebfe43744d5eb21f8ff5eba95cd6a9df945d1ff83ebff11e9625e847"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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":"53e4ec8c6f2f1250ebf1ba5baffba46acac8b6c6245ee1b7d01edbef391558cb"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"fa062b4bddabe2e46ddc0752d5b458a2c00a66179f8d6ee0a8fedac49c6e3344"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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"}}]},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 7 of 224 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 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). 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 largest 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 (and 4 more). 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":"D35","level":"warning","message":{"text":"Change coupling: GSYRenderView.java \u2194 GSYVideoGLViewSimpleRender.java: \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/GSYRenderView.java\u0060 and \u0060gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/glrender/GSYVideoGLViewSimpleRender.java\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/GSYRenderView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1519897bd6bea7f27c583bb2caff4403400d59d4364a4258a4c4e905b6e21d9d"}},{"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"}},{"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"}},{"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"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"CWE-295","shortDescription":{"text":"CWE-295"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"CWE-319","shortDescription":{"text":"CWE-319"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-326","guid":"7ee78bef-7589-f65f-a9d7-619f3485e844","name":"CWE-326","shortDescription":{"text":"CWE-326"},"helpUri":"https://cwe.mitre.org/data/definitions/326.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"CWE-328","shortDescription":{"text":"CWE-328"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"CWE-926","shortDescription":{"text":"CWE-926"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":44,"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."]}]}