{"$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"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"DetailScreenKt.DetailScreen (cyclomatic 40): DetailScreenKt.DetailScreen has cyclomatic complexity 40 (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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f612594103d5dd54221fd1e34ec748ff0420e01ab30d139990a214c7d4eaec"}},{"ruleId":"D1","level":"warning","message":{"text":"MyListScreenKt.MyListScreen (cyclomatic 21): MyListScreenKt.MyListScreen has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListScreen.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8355e530d60a23d36d03dcf327e436b22edc414889308a8b43b227cf1d46488"}},{"ruleId":"D1","level":"warning","message":{"text":"EditProfileScreenKt.EditProfileScreen (cyclomatic 16): EditProfileScreenKt.EditProfileScreen has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bccb03b034b9c5403cdcc692c8a53abfd85059262eec842d5218e86f8fcfa5e"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailScreenKt.DetailScreen (cognitive 68): DetailScreenKt.DetailScreen has cognitive complexity 68 (threshold 15). Drivers by points: if/else 40, match/switch 28 (nesting depth added 48). 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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb5d29928f545a0f031e13bc4051c7143ec5da2a71c6a30bb1f37c7d4a8adeb"}},{"ruleId":"D2","level":"warning","message":{"text":"MyListScreenKt.MyListScreen (cognitive 22): MyListScreenKt.MyListScreen has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12, match/switch 10 (nesting depth added 12). 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/application/moviesapp/ui/home/mylist/MyListScreen.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a295d2d17b062f7d58815e1f968550fe288c32335d1d83aa4055837cf5cb8d5"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeAppKt.HomeTopAppbar (cognitive 19): HomeAppKt.HomeTopAppbar has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, match/switch 1 (nesting depth added 9). 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/application/moviesapp/ui/home/HomeApp.kt"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6283e242246b82939300e36d9bf220abd5220cbda42b15e9c607dac9e6a178"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginWithPasswordScreenKt.LoginWithPasswordScreen (cognitive 16): LoginWithPasswordScreenKt.LoginWithPasswordScreen has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, match/switch 4, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25d148de0762a9fc05be4321f7754b31ee9d9a9be587a631df58aaf46313874"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayScreenKt.CustomPlayerUI (cognitive 16): PlayScreenKt.CustomPlayerUI has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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/application/moviesapp/ui/play/PlayScreen.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba15f250eb8a0bf1049579fb94f4d3562ee6f9cb4bb4a42e6613fd60f0fe1289"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: detail/DetailScreen.kt: FileTooLong \u2014 857 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: val (118-860). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e12c391a9d2731ad5aac9ea5c65e461493636a3f640c8f3afacacd952429dae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: home/HomeApp.kt: FileTooLong \u2014 831 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":"app/src/main/java/com/application/moviesapp/ui/home/HomeApp.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08388b3f898d39031b0dcc80e0463b5325c38b9b2dc6e17cffcacb50c0e1926"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MoviesRepositoryImpl: TooManyMethods \u2014 39 methods. Most of these members implement repository.MoviesRepository (38 of 39 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/data/repository/MoviesRepository.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fff3c183652c742ae929fac7ed4b49a68ac35933e9ca60b3ea837c645a5f95"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UseCaseModule: TooManyMethods \u2014 38 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":"app/src/main/java/com/application/moviesapp/di/UseCaseModule.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6a09f22ec568bc502f22b3454e3d7305ed553e79bdf7d80e882e25946921b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:249-265 | app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:420-436 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/FillYourProfileScreen.kt:214-230 \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/application/moviesapp/ui/editprofile/EditProfileScreen.kt:249\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/application/moviesapp/ui/editprofile/EditProfileScreen.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2974f2f0d61d086478bfd0360f7974e4a82c9956f875c2d9f11210bfef669d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/download/DownloadApp.kt:117-133 | app/src/main/java/com/application/moviesapp/ui/home/HomeApp.kt:509-525 \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/application/moviesapp/ui/download/DownloadApp.kt:117\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/download/DownloadApp.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf597f95f646e8ca6f015a39d121a70604597fefc8185aedb10b3ff37025b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesApp.kt:136-152 | app/src/main/java/com/application/moviesapp/ui/home/tvseriesnowplaying/NowPlayingSeriesApp.kt:139-155 \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/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesApp.kt:136\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/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesApp.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cbdbbe42d90f5acba0141d37bb349286c439e0db7a634bff2a5e1e3ec8270c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/play/DetailPlayScreen.kt:103-120 | app/src/main/java/com/application/moviesapp/ui/play/PlayScreen.kt:125-141 \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/application/moviesapp/ui/play/DetailPlayScreen.kt:103\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/application/moviesapp/ui/play/DetailPlayScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7232e7552937424cc0dfc12ede87147a7ba05be9daecaa343d930793a0c5b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/home/HomeApp.kt:954-969 | app/src/main/java/com/application/moviesapp/ui/home/HomeApp.kt:1023-1038 | app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListApp.kt:138-153 \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/application/moviesapp/ui/home/HomeApp.kt:954\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/application/moviesapp/ui/home/HomeApp.kt"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"9324792a49df568ec7788e8cb1077c183e0714d7bd99b49e0bc2449072349696"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListScreen.kt:141-156 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/ChooseYourInterestScreen.kt:90-105 \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/application/moviesapp/ui/home/mylist/MyListScreen.kt:141\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/application/moviesapp/ui/home/mylist/MyListScreen.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6f568050b2fbe0864e02bc50f6a05018b25c2b6a5819f1baec53f1b14ed5bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreenApp.kt:286-300 | app/src/main/java/com/application/moviesapp/ui/download/DownloadApp.kt:117-131 | app/src/main/java/com/application/moviesapp/ui/home/HomeApp.kt:509-523 \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/application/moviesapp/ui/detail/DetailScreenApp.kt:286\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/application/moviesapp/ui/detail/DetailScreenApp.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34fd22b84a017f03c918f1e7d529f661d4b5ac53d18268feeebb13766159426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/onboarding/login/LoginScreen.kt:115-129 | app/src/main/java/com/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt:106-120 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/SignupWithPasswordScreen.kt:113-128 \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/application/moviesapp/ui/onboarding/login/LoginScreen.kt:115\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/application/moviesapp/ui/onboarding/login/LoginScreen.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"40511c1a9e7d611354dc9f98fc04cf390b6d5d511f73d5fd1b8bfa6263b5872e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:223-237 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:529-543 \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/application/moviesapp/ui/detail/DetailScreen.kt: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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"519e234e6daf4f0ebdae64276ee5f82abe45dee019ac3bf34244342d0e0bccdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/home/HomeApp.kt:918-932 | app/src/main/java/com/application/moviesapp/ui/home/HomeApp.kt:986-1001 \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/application/moviesapp/ui/home/HomeApp.kt:918\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/application/moviesapp/ui/home/HomeApp.kt"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"187c0eff37d154bca0fa381a0c5c8610e38b30aa7d3ab93c7a4e04587e0ccb06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListScreen.kt:248-262 | app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListScreen.kt:377-391 \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/application/moviesapp/ui/home/mylist/MyListScreen.kt:248\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/application/moviesapp/ui/home/mylist/MyListScreen.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d45856bbddb4b3cfd53e1ad810ed52718ea26134ac27ce31ba8706cee364f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): app/src/main/java/com/application/moviesapp/ui/home/NotificationScreen.kt:46-59 | app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListScreen.kt:179-192 | app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListScreen.kt:231-244 | app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListScreen.kt:308-321 | app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListScreen.kt:360-373 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/application/moviesapp/ui/home/NotificationScreen.kt:46\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/application/moviesapp/ui/home/NotificationScreen.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"25839d98f8a929c6ade48325538d8d25ba1d613f1ca02df96b69503f3af44426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/detail/CastDetailScreen.kt:228-241 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:405-418 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:793-806 \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/application/moviesapp/ui/detail/CastDetailScreen.kt: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/application/moviesapp/ui/detail/CastDetailScreen.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09774e42788111bd673f394681343ecc3646852237f5fb792b4a4607e79f37e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:186-199 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:492-505 \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/application/moviesapp/ui/detail/DetailScreen.kt:186\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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8848f938e6939188c46d70989ae8bd588421d12a761433cfb7b8f74c7f267239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:1069-1082 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:1083-1096 \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/application/moviesapp/ui/detail/DetailScreen.kt:1069\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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"503e247e3db472c7be8cef986cdac7a3a6a10dcdf69c410c9b3331a735ac3cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesApp.kt:101-114 | app/src/main/java/com/application/moviesapp/ui/home/tvseriesnowplaying/NowPlayingSeriesApp.kt:103-117 \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/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesApp.kt:101\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/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesApp.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72f370fc323791ee7a42fde536eefd7078a7e69ecbd3b12d3cf6ccb42624079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesScreen.kt:194-207 | app/src/main/java/com/application/moviesapp/ui/home/tvseriesnowplaying/NowPlayingSeriesScreen.kt:185-198 \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/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesScreen.kt:194\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/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesScreen.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e6d6d548c984d22377c56c7e96eebb3a0b0c9e8cc5c5741043dc2dfc07758b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/language/LanguageScreen.kt:90-103 | app/src/main/java/com/application/moviesapp/ui/utility/Utitlity.kt:132-145 \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/application/moviesapp/ui/language/LanguageScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb674aeaca63776e1a75ac0b5eeb3dd4f191e1bd4e44f918bdc3a1070ea5ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt:163-176 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/SignupWithPasswordScreen.kt:173-186 \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/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt: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/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a0d8b805ba3d56b869ab02c82a59ac3d37c7c41f6456e2f79d8f2a674a3987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/detail/CastDetailScreen.kt:119-131 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:180-192 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:486-498 \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/application/moviesapp/ui/detail/CastDetailScreen.kt: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/application/moviesapp/ui/detail/CastDetailScreen.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e06d69a93b33984d6fa8785870be722cc5a48520dff776364b8c0086b88821e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:205-217 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:511-523 \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/application/moviesapp/ui/detail/DetailScreen.kt:205\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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"187a7e8c864666407b43b1481c6e243ea12b15a0ad11f96f91dc1e18be0e1c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/download/DownloadApp.kt:146-158 | app/src/main/java/com/application/moviesapp/ui/download/DownloadApp.kt:187-199 \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/application/moviesapp/ui/download/DownloadApp.kt:146\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/application/moviesapp/ui/download/DownloadApp.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e830a50ee7452ba3544b5552f589b36b2b2a2de620db25084e8914c9bb50e12b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:125-137 | app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:296-308 \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/application/moviesapp/ui/editprofile/EditProfileScreen.kt:125\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/application/moviesapp/ui/editprofile/EditProfileScreen.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e51c704253fd3ad55b1c6478ca1975daeb2bf78b8308923f51bf2e176caf12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:218-230 | app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:389-401 \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/application/moviesapp/ui/editprofile/EditProfileScreen.kt:218\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/application/moviesapp/ui/editprofile/EditProfileScreen.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6454b24d86de8d1e0f37ac7fbe1848f24f8d6a249aa70cccc4c2b88131272c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/home/HomeApp.kt:399-411 | app/src/main/java/com/application/moviesapp/ui/onboarding/OnboardingApp.kt:102-114 \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/application/moviesapp/ui/home/HomeApp.kt:399\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/application/moviesapp/ui/home/HomeApp.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"b695fd165093ed97e4ad59239514288196908db83a6bcc35238c7b3e3671a339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesScreen.kt:139-152 | app/src/main/java/com/application/moviesapp/ui/home/tvseriesnowplaying/NowPlayingSeriesScreen.kt:131-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/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesScreen.kt:139\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesScreen.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"844b59146b3329d98f82bb7af9cdb8a2fa6583ac632112782f6009f47433dd71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/onboarding/forgotpassword/CreateNewPasswordScreen.kt:67-80 | app/src/main/java/com/application/moviesapp/ui/onboarding/forgotpassword/CreateNewPasswordScreen.kt:91-103 \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/application/moviesapp/ui/onboarding/forgotpassword/CreateNewPasswordScreen.kt:67\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/application/moviesapp/ui/onboarding/forgotpassword/CreateNewPasswordScreen.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb686e2a80d95fbb1d7b0306fe704737399a3db9040fc9004a0e0c0f8297edd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt:244-256 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/SignupWithPasswordScreen.kt:250-262 \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/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt:244\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/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a73b9a44b120f4efb3d5b448b060282324a42907acc545634a031df1076be6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/viewmodel/PlayerViewModel.kt:274-286 | app/src/main/java/com/application/moviesapp/worker/MergeWorker.kt:77-89 \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/application/moviesapp/ui/viewmodel/PlayerViewModel.kt:274\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/application/moviesapp/ui/viewmodel/PlayerViewModel.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4e53b3d4df8751f2c1f3d755b2ca4101eecbe8258c539459df306bbc38ef4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:927-938 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:987-998 | app/src/main/java/com/application/moviesapp/ui/home/HomeApp.kt:789-800 \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/application/moviesapp/ui/detail/DetailScreen.kt:927\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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fca857dfba35a420f930bd4e8d4d5bdec2ec15a5d95fe8866b86c473fcc2680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/home/explore/ExploreScreen.kt:156-167 | app/src/main/java/com/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesScreen.kt:138-150 | app/src/main/java/com/application/moviesapp/ui/home/tvseriesnowplaying/NowPlayingSeriesScreen.kt:130-141 \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/application/moviesapp/ui/home/explore/ExploreScreen.kt:156\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/application/moviesapp/ui/home/explore/ExploreScreen.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee43fd7e4cf6037497e5beaef8b0144590b05466cabea44953b73a7b0eae891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/application/moviesapp/data/mappers/MoviesMappers.kt:172-183 | app/src/main/java/com/application/moviesapp/data/mappers/TvSeriesMappers.kt:22-33 \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/application/moviesapp/data/mappers/MoviesMappers.kt:172\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/application/moviesapp/data/mappers/MoviesMappers.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4b6e6f16871e8171c69c68071baef3a8fe5f9312b928215252730bba87f0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:271-282 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:578-589 \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/application/moviesapp/ui/detail/DetailScreen.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ee0f1934ab859e84d44df37366fcf79ecdd2a6445dc9fb82ccf04ce1eb444b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:369-380 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:674-685 \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/application/moviesapp/ui/detail/DetailScreen.kt:369\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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e440c1c51c931412d2cfc21d4f4270b3c72bd9f8374ff92a7ffd17e27bc21e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/download/DownloadScreen.kt:77-88 | app/src/main/java/com/application/moviesapp/ui/download/DownloadScreen.kt:92-103 \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/application/moviesapp/ui/download/DownloadScreen.kt:77\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/application/moviesapp/ui/download/DownloadScreen.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"54844da47adc6ee9c0f206d2b748516399156c97fe509803b6285c338d31f69a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:175-186 | app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:346-357 \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/application/moviesapp/ui/editprofile/EditProfileScreen.kt:175\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/application/moviesapp/ui/editprofile/EditProfileScreen.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5a0ecc7bf3493f27f653075582e6b572990646d4db5d6e663ae87a768a05cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:189-200 | app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:360-371 \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/application/moviesapp/ui/editprofile/EditProfileScreen.kt:189\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/application/moviesapp/ui/editprofile/EditProfileScreen.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c3ba06a1827692bf570140996001e1e18ada0521306d7cfb3dc3f6e1eb12d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:396-407 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/FillYourProfileScreen.kt:190-201 \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/application/moviesapp/ui/editprofile/EditProfileScreen.kt:396\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/application/moviesapp/ui/editprofile/EditProfileScreen.kt"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"567afceb9ad0907f326b733c0822560dff1c3b5f428c441d7e2f866dfba5b7e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListScreen.kt:288-299 | app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListScreen.kt:417-428 \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/application/moviesapp/ui/home/mylist/MyListScreen.kt:288\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/application/moviesapp/ui/home/mylist/MyListScreen.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8f129f20f9a21005f041a337ad687954043799d8e210f1860eae76281917b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/onboarding/forgotpassword/OtpCodeScreen.kt:68-79 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/CreateNewPinScreen.kt:66-77 \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/application/moviesapp/ui/onboarding/forgotpassword/OtpCodeScreen.kt: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/application/moviesapp/ui/onboarding/forgotpassword/OtpCodeScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1257bdfe1f43e6d801b8f09c5cf9b9dd115daf32bd2d8c91d8d5fcbee514c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/play/DetailPlayScreen.kt:196-207 | app/src/main/java/com/application/moviesapp/ui/play/PlayScreen.kt:228-239 \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/application/moviesapp/ui/play/DetailPlayScreen.kt:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/play/DetailPlayScreen.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cba3a64ba54ee16c10e288d6ed51e7048951d61ca5205b8639fb2b2ce527996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/play/DetailPlayScreen.kt:309-320 | app/src/main/java/com/application/moviesapp/ui/play/PlayScreen.kt:345-357 \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/application/moviesapp/ui/play/DetailPlayScreen.kt:309\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/application/moviesapp/ui/play/DetailPlayScreen.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a6ef14d044bbe1ebe7240de152c6b54161cec526014a2a012be86e038d351d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/application/moviesapp/domain/usecase/CastDetailsUseCase.kt:65-76 | app/src/main/java/com/application/moviesapp/domain/usecase/TvSeriesDetailsUseCase.kt:87-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/application/moviesapp/domain/usecase/CastDetailsUseCase.kt:65\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/domain/usecase/CastDetailsUseCase.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3414871eb1342f1aefaed407da7efbb10ba340807f1fd2b293ad78b42f5feed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:356-366 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:661-671 \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/application/moviesapp/ui/detail/DetailScreen.kt:356\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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2285639ea88e2c9423dbe622dba2baeb6a5c3b6328487d91334135e28a570c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:386-396 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:690-700 \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/application/moviesapp/ui/detail/DetailScreen.kt:386\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"8196ddb6df34f0ed85a76076463e7dac753cb52ef31e788763434af8adad1b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/onboarding/login/LoginScreen.kt:130-140 | app/src/main/java/com/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt:129-140 \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/application/moviesapp/ui/onboarding/login/LoginScreen.kt:130\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/application/moviesapp/ui/onboarding/login/LoginScreen.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb6de25ea9c9cd605798d81994078274da27fdb2f9656357d7e83d6fd5b217f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/onboarding/signup/FillYourProfileScreen.kt:143-153 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/FillYourProfileScreen.kt:156-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/application/moviesapp/ui/onboarding/signup/FillYourProfileScreen.kt:143\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/application/moviesapp/ui/onboarding/signup/FillYourProfileScreen.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6b14dd541babbcc2485f22cf1192d5f7b8b785ef5ea3e8b5b6493cf8f7d78b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/play/PlayScreenApp.kt:267-277 | app/src/main/java/com/application/moviesapp/ui/play/PlayScreenApp.kt:326-336 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/play/PlayScreenApp.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e1c9d7a766c5630ee5f9d7f60ec08ec9f92b6ad815b8b2aa587625f6165040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): app/src/main/java/com/application/moviesapp/ui/home/explore/ExploreScreen.kt:240-249 | app/src/main/java/com/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesScreen.kt:221-230 | app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListScreen.kt:456-465 | app/src/main/java/com/application/moviesapp/ui/home/tvseriesnowplaying/NowPlayingSeriesScreen.kt:212-221 \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/application/moviesapp/ui/home/explore/ExploreScreen.kt:240\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/application/moviesapp/ui/home/explore/ExploreScreen.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f381b73d44dd2990b3fdd051abd95c0b35f5e8de4adea9e72d9cc96f54119724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/detail/CastDetailScreen.kt:300-309 | app/src/main/java/com/application/moviesapp/ui/detail/CastDetailScreen.kt:332-341 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:875-884 \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/application/moviesapp/ui/detail/CastDetailScreen.kt:300\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/application/moviesapp/ui/detail/CastDetailScreen.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d68974a75837dac9ae757500f17c2272a75390d6505d24e631b69bd4e52b8eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/onboarding/signup/ChooseYourInterestScreen.kt:174-183 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/FillYourProfileScreen.kt:233-242 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/SetYourFingerprintScreen.kt:65-75 \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/application/moviesapp/ui/onboarding/signup/ChooseYourInterestScreen.kt: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/application/moviesapp/ui/onboarding/signup/ChooseYourInterestScreen.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46379bd09f0029439636cb47df9083f78e6ba39809674c39feec5764b4c8c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/domain/usecase/MovieGenresUseCase.kt:32-41 | app/src/main/java/com/application/moviesapp/domain/usecase/TvSeriesGenreUseCase.kt:31-40 \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/application/moviesapp/domain/usecase/MovieGenresUseCase.kt:32\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/application/moviesapp/domain/usecase/MovieGenresUseCase.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a128cba8233be4e6445bd2aa164aa0ad71923f46d013bc41586c736daab0124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/domain/usecase/MovieTrailerUseCase.kt:51-60 | app/src/main/java/com/application/moviesapp/domain/usecase/TvSeriesTrailerUseCase.kt:53-62 \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/application/moviesapp/domain/usecase/MovieTrailerUseCase.kt:51\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/application/moviesapp/domain/usecase/MovieTrailerUseCase.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f1a5c0a03268d1b782342b03fd3806c499b64d43405f22c3fd76e005cf6d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:167-176 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:473-482 \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/application/moviesapp/ui/detail/DetailScreen.kt:167\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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f4af3760d533af8c6ba36b23e4c85dbb735938813365cf14f093a64e905eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:323-332 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:628-637 \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/application/moviesapp/ui/detail/DetailScreen.kt:323\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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddbea1464b782fecf809fad685366673dd1f5f586b332bdecf003ef1c70a38d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:79-88 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/FillYourProfileScreen.kt:88-97 \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/application/moviesapp/ui/editprofile/EditProfileScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f8ad7405d338e72d1c7fe042e35a9cc67226be3a9d0cde111b1e24de3cac42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:353-362 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/FillYourProfileScreen.kt:150-159 \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/application/moviesapp/ui/editprofile/EditProfileScreen.kt:353\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/application/moviesapp/ui/editprofile/EditProfileScreen.kt"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e82fafd86f2eb516467c2feaff61fbc74207cfb9cf771d44c276b7dab24d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:382-391 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/FillYourProfileScreen.kt:177-186 \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/application/moviesapp/ui/editprofile/EditProfileScreen.kt:382\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/application/moviesapp/ui/editprofile/EditProfileScreen.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"7243405e6a758669c8a07ce23e825ca59eeb80484b4ee84a00ec36c13c2564d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/home/HomeScreen.kt:327-336 | app/src/main/java/com/application/moviesapp/ui/home/HomeScreen.kt:359-368 \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/application/moviesapp/ui/home/HomeScreen.kt:327\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/application/moviesapp/ui/home/HomeScreen.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"18948ed0e2780b8a256071ba5f57309c2d18b763d60eae216a88d0324afb9cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesApp.kt:122-131 | app/src/main/java/com/application/moviesapp/ui/home/tvseriesnowplaying/NowPlayingSeriesApp.kt:125-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesApp.kt:122\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/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesApp.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e112046de9d2eafb17f76a85c83c396cbc0dc010460e7024f3972b73358a258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesScreen.kt:163-172 | app/src/main/java/com/application/moviesapp/ui/home/tvseriesnowplaying/NowPlayingSeriesScreen.kt:154-163 \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/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesScreen.kt: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/application/moviesapp/ui/home/movienowplaying/NowPlayingMoviesScreen.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd226a35d33248df52ae77b2b44230dfa9d212f48b9a5c9cf04eccc3a91e2741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/onboarding/forgotpassword/ContactDetailsScreen.kt:74-83 | app/src/main/java/com/application/moviesapp/ui/onboarding/login/LoginScreen.kt:233-242 \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/application/moviesapp/ui/onboarding/forgotpassword/ContactDetailsScreen.kt:74\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/application/moviesapp/ui/onboarding/forgotpassword/ContactDetailsScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"186099d080cc81fe0d48da1cb395222d7cc8bd879de683debc16bfb743d9b7db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt:131-140 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/SignupWithPasswordScreen.kt:135-144 \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/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt:131\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/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"91150a1d96933882d1bfaa3c2f5da47ec195c08dde1c81661482c64fb7898def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/play/DetailPlayScreen.kt:279-288 | app/src/main/java/com/application/moviesapp/ui/play/PlayScreen.kt:311-322 \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/application/moviesapp/ui/play/DetailPlayScreen.kt:279\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/application/moviesapp/ui/play/DetailPlayScreen.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4f828c38ed08d10a9bc93d36a1c4185a0403591a1b58010cb287c36a2e34e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/play/DetailPlayScreen.kt:332-341 | app/src/main/java/com/application/moviesapp/ui/play/PlayScreen.kt:397-406 \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/application/moviesapp/ui/play/DetailPlayScreen.kt:332\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/application/moviesapp/ui/play/DetailPlayScreen.kt"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2285900655626708bf0c2c035170a09db1433d4fce287dc4296389bc767329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10): app/src/main/java/com/application/moviesapp/data/remote/MovieFavouritePagingSource.kt:23-31 | app/src/main/java/com/application/moviesapp/data/remote/MovieNowPlayingPagingSource.kt:23-31 | app/src/main/java/com/application/moviesapp/data/remote/MovieReviewPagingSource.kt:31-39 | app/src/main/java/com/application/moviesapp/data/remote/MovieSearchPagingSource.kt:29-37 | app/src/main/java/com/application/moviesapp/data/remote/MoviesDiscoverPagingSource.kt:33-41 | app/src/main/java/com/application/moviesapp/data/remote/TvSeriesDiscoverPagingSource.kt:33-41 | app/src/main/java/com/application/moviesapp/data/remote/TvSeriesFavouritePagingSource.kt:22-30 | app/src/main/java/com/application/moviesapp/data/remote/TvSeriesNowPlayingPagingSource.kt:24-32 | app/src/main/java/com/application/moviesapp/data/remote/TvSeriesPagingSource.kt:31-39 | app/src/main/java/com/application/moviesapp/data/remote/TvSeriesSearchPagingSource.kt:29-37 \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/application/moviesapp/data/remote/MovieFavouritePagingSource.kt:23\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/application/moviesapp/data/remote/MovieFavouritePagingSource.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"180f6c21f8177f8d3ba51dc3228d3569cca4de2f1063853b81a8eee71852ab55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/com/application/moviesapp/data/mappers/CastMappers.kt:50-58 | app/src/main/java/com/application/moviesapp/data/mappers/CastMappers.kt:68-76 | app/src/main/java/com/application/moviesapp/data/mappers/MoviesMappers.kt:191-199 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/data/mappers/CastMappers.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d98b65255d8cccb779b50c92d651ff8b9aab6fe76c9e82952e9ec6267632cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/detail/CastDetailScreen.kt:162-170 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:312-320 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:617-625 \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/application/moviesapp/ui/detail/CastDetailScreen.kt:162\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/application/moviesapp/ui/detail/CastDetailScreen.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad49e261c956b559702e1d7ca743e63224864356268b04f1b3be43de45702a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/application/moviesapp/data/mappers/CastMappers.kt:92-100 | app/src/main/java/com/application/moviesapp/data/mappers/CastMappers.kt:111-119 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/data/mappers/CastMappers.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e9ba957084dcf472136e66101757fd07feb79e748a5a908697452ca6f74896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/application/moviesapp/domain/usecase/MovieTrailerUseCase.kt:30-38 | app/src/main/java/com/application/moviesapp/domain/usecase/TvSeriesTrailerUseCase.kt:32-40 \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/application/moviesapp/domain/usecase/MovieTrailerUseCase.kt: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/application/moviesapp/domain/usecase/MovieTrailerUseCase.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c61cf9e053738357936f4ae75e14d696494820b9ed85d1c49b64cba1a7bfcba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:442-450 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:830-838 \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/application/moviesapp/ui/detail/DetailScreen.kt:442\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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9620045aab5fd747080320be4d649c9cf97accc336594b945c5ab59c3d2d900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:911-919 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:971-979 \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/application/moviesapp/ui/detail/DetailScreen.kt:911\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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e93635728a04ec94dda75dea3e59405cdd3310f07294e6e318583aad65baea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/download/DownloadScreen.kt:51-59 | app/src/main/java/com/application/moviesapp/ui/notification/NotificationScreen.kt:35-43 \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/application/moviesapp/ui/download/DownloadScreen.kt:51\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/application/moviesapp/ui/download/DownloadScreen.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"173b2b8ba194db1954812d3bfa3d48ee7b057bbd97616a35649d28f3b279cc1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/play/DetailPlayScreen.kt:254-262 | app/src/main/java/com/application/moviesapp/ui/play/PlayScreen.kt:286-294 \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/application/moviesapp/ui/play/DetailPlayScreen.kt:254\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/play/DetailPlayScreen.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"6090c4403475cd91396d6384d951634b33194158d4d34f6520251c9595d04e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): app/src/main/java/com/application/moviesapp/ui/download/DownloadApp.kt:225-232 | app/src/main/java/com/application/moviesapp/ui/helpcenter/HelpCenterApp.kt:33-40 | app/src/main/java/com/application/moviesapp/ui/language/LanguageApp.kt:41-48 | app/src/main/java/com/application/moviesapp/ui/notification/NotificationApp.kt:47-54 | app/src/main/java/com/application/moviesapp/ui/privacypolicy/PrivacyPolicyApp.kt:33-40 | app/src/main/java/com/application/moviesapp/ui/security/SecurityApp.kt:34-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/application/moviesapp/ui/download/DownloadApp.kt:225\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/download/DownloadApp.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c6c921a1e38153a25a2abb71b1e404fc35051ee0b1cb32087233f0fa49b077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:758-769 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:924-931 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:984-991 | app/src/main/java/com/application/moviesapp/ui/home/HomeApp.kt:786-793 | app/src/main/java/com/application/moviesapp/ui/home/download/DownloadScreen.kt:154-161 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:758\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/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"871d7006892c1408461d7299820f085ac605457505e753663701a707cf206243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/detail/CastDetailScreen.kt:195-202 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:346-353 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:651-658 \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/application/moviesapp/ui/detail/CastDetailScreen.kt:195\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/application/moviesapp/ui/detail/CastDetailScreen.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0886aa2c9f5b5d1c40d743e71a3ae0136e2449fb2bba5a40a89bbbee6b8710fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/detail/CastDetailScreen.kt:328-335 | app/src/main/java/com/application/moviesapp/ui/home/HomeScreen.kt:352-359 | app/src/main/java/com/application/moviesapp/ui/home/tvseriesnowplaying/NowPlayingSeriesScreen.kt:207-214 \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/application/moviesapp/ui/detail/CastDetailScreen.kt:328\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/application/moviesapp/ui/detail/CastDetailScreen.kt"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7fc7957bb7c3d2de541d7dd955532822325f6f095854a78d6638bd93a93a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/onboarding/component/Component.kt:121-128 | app/src/main/java/com/application/moviesapp/ui/onboarding/forgotpassword/CreateNewPasswordScreen.kt:83-90 | app/src/main/java/com/application/moviesapp/ui/onboarding/forgotpassword/CreateNewPasswordScreen.kt:106-113 \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/application/moviesapp/ui/onboarding/component/Component.kt:121\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/application/moviesapp/ui/onboarding/component/Component.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a557475c5433f65dcba132849a2be84475fcd3a734300617c5e456a0da6c2533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt:340-347 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/FillYourProfileScreen.kt:138-145 \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/application/moviesapp/ui/editprofile/EditProfileScreen.kt:340\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/application/moviesapp/ui/editprofile/EditProfileScreen.kt"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3960fcf2e018e8275c936b84d98a8fd0e73bf3d9c2f7afb40a06606e1447cf3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): app/src/main/java/com/application/moviesapp/data/repository/AuthRepository.kt:51-57 | app/src/main/java/com/application/moviesapp/data/repository/AuthRepository.kt:71-77 | app/src/main/java/com/application/moviesapp/data/repository/AuthRepository.kt:93-99 | app/src/main/java/com/application/moviesapp/data/repository/AuthRepository.kt:114-120 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/application/moviesapp/data/repository/AuthRepository.kt:51\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/application/moviesapp/data/repository/AuthRepository.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0e9650b42f32b68d15c9e03c5f65e19961c19ea0959f3c81cbfa5925276b34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/src/main/java/com/application/moviesapp/ui/detail/CommentsScreen.kt:136-143 | app/src/main/java/com/application/moviesapp/ui/home/HomeScreen.kt:324-330 | app/src/main/java/com/application/moviesapp/ui/home/HomeScreen.kt:356-362 \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/application/moviesapp/ui/detail/CommentsScreen.kt:136\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/application/moviesapp/ui/detail/CommentsScreen.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cafa729a239a4d2f0a7c7b1a27968857637305c1527af21eace3e73e6ade493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/download/DownloadScreen.kt:116-122 | app/src/main/java/com/application/moviesapp/ui/download/DownloadScreen.kt:127-133 \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/application/moviesapp/ui/download/DownloadScreen.kt:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/download/DownloadScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7922347425332cf2c938c78f2548540978f1d78baeef91d80bfd90a69b2c603b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): app/src/main/java/com/application/moviesapp/data/remote/MovieFavouritePagingSource.kt:32-37 | app/src/main/java/com/application/moviesapp/data/remote/MovieNowPlayingPagingSource.kt:32-37 | app/src/main/java/com/application/moviesapp/data/remote/MoviesDiscoverPagingSource.kt:42-47 | app/src/main/java/com/application/moviesapp/data/remote/TvSeriesDiscoverPagingSource.kt:42-47 | app/src/main/java/com/application/moviesapp/data/remote/TvSeriesFavouritePagingSource.kt:31-36 | app/src/main/java/com/application/moviesapp/data/remote/TvSeriesNowPlayingPagingSource.kt:33-38 \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/application/moviesapp/data/remote/MovieFavouritePagingSource.kt:32\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/application/moviesapp/data/remote/MovieFavouritePagingSource.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93fb7421c3d667a81092a7009d1965e29aa83333461a2cdfb90d2f6dbcd9f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt:211-216 | app/src/main/java/com/application/moviesapp/ui/onboarding/signup/SignupWithPasswordScreen.kt:223-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/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt:211\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/application/moviesapp/ui/onboarding/login/LoginWithPasswordScreen.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde73e7d5f05aa7d28fc528db7cee01d4736120321f04679533aa385fbe70336"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:250-254 | app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt:556-560 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/detail/DetailScreen.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a1e1dc77096a0a71298eb5d29ab0cbc342c30cb013cf7d0f51d46ddf2702e2"}},{"ruleId":"D16","level":"note","message":{"text":"Small-team knowledge concentration: 1 file(s) are concentrated to one author \u2014 the ambient state with 2 active author(s), not 1 separate risks. The signal becomes meaningful as ownership spreads; no per-file action implied now."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8aa75b6daa18f1b578387fa04036c50b3163d47f957c8f5601bf083ed4489b0c"}},{"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":"f84f0b499485ea7cc67e495f69a399bfc626a0a8d46192f8051c9d6b5084f9c1"}},{"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":"df4580b472ac15354d384c084fa830db7bcbbb04cfb17fa18acad858027a7ad3"}},{"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":"27d4a7d00afe2d75df4effc27c30f847adb711a749aee52662b9168d7570f881"}},{"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":"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":"41f2e93c1d1df96fc7b87f4aaed4fabfabd8fd176f30c0b8c06616ec344bd0a7"},"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":"4666d4d4f21a2605e5ea8d2ffad46d6eaa30524984a730d2b019cde98378bc96"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 86 of 88 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 86 separate risks. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/home/mylist/MyListScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2991ac205dc9004ab516549c4dc60c240f79bf630a4a2b390a68d605fa1f9117"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/editprofile/EditProfileScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e0a6e0db3976629af2b0780a10f31d42691c1013b6bb5b23724c9cb6d7e690"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/ui/play/PlayScreenApp.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47f6c8f86e25660fc5980a00d58bb1aa2ec2b93d1eca8bd91d2eeaa6be5aa74"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MoviesMappers.kt \u2194 MoviesRepository.kt: \u0060app/src/main/java/com/application/moviesapp/data/mappers/MoviesMappers.kt\u0060 and \u0060app/src/main/java/com/application/moviesapp/data/repository/MoviesRepository.kt\u0060 change together 70% of the time (7 of the 10 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":"app/src/main/java/com/application/moviesapp/data/mappers/MoviesMappers.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89675638bebba18cafd36d7daad007131b526b7d1af23d1936f60a7665415860"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HomeApp.kt \u2194 ProfileScreen.kt: \u0060app/src/main/java/com/application/moviesapp/ui/home/HomeApp.kt\u0060 and \u0060app/src/main/java/com/application/moviesapp/ui/home/profile/ProfileScreen.kt\u0060 change together 67% of the time (8 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":"app/src/main/java/com/application/moviesapp/ui/home/HomeApp.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eeb6bcd680810de2cf0ce3679bf7b218ad2e9dc0b09a58ecd8735ca4e320287"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MoviesApi.kt \u2194 MoviesMappers.kt: \u0060app/src/main/java/com/application/moviesapp/data/api/MoviesApi.kt\u0060 and \u0060app/src/main/java/com/application/moviesapp/data/mappers/MoviesMappers.kt\u0060 change together 60% of the time (6 of the 10 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":"app/src/main/java/com/application/moviesapp/data/api/MoviesApi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd018505f39e4259cad45c0a7c2bb3836eab88bd3a6dfc605cf3e3636658f0f1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RepositoryModule.kt \u2194 UseCaseModule.kt: \u0060app/src/main/java/com/application/moviesapp/di/RepositoryModule.kt\u0060 and \u0060app/src/main/java/com/application/moviesapp/di/UseCaseModule.kt\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/application/moviesapp/di/RepositoryModule.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1f05548c9c47940b65dc4a55c4e8767e2b334f38605c2453e726b01a1a559f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MoviesMappers.kt \u2194 UseCaseModule.kt: \u0060app/src/main/java/com/application/moviesapp/data/mappers/MoviesMappers.kt\u0060 and \u0060app/src/main/java/com/application/moviesapp/di/UseCaseModule.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) 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":"app/src/main/java/com/application/moviesapp/data/mappers/MoviesMappers.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a934d853b59674e284b56c454777df492dc1ce45d8b24cdf31be24f333eecf80"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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":10,"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."]}]}