{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM7","name":"Repository granularity","shortDescription":{"text":"Repository granularity"},"helpUri":"https://codehealth.canine.dev/dimensions/DM7"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"MediaShareImageGenerator.generateImage (cyclomatic 54): MediaShareImageGenerator.generateImage has cyclomatic complexity 54 (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/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0d4c1183bc3e9b597cee35d95916c79069e2472cb6249917b3ba4a9442d754"}},{"ruleId":"D1","level":"warning","message":{"text":"MovieDetailsFragment.setUpObservers (cyclomatic 50): MovieDetailsFragment.setUpObservers has cyclomatic complexity 50 (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/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7a90bc1bf5c03f25045e42ee9c22f42e22ce63aeb9f7552d971e3ccec9f315"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaShareImageGeneratorKt.showMediaSharePreviewBottomSheet (cyclomatic 21): MediaShareImageGeneratorKt.showMediaSharePreviewBottomSheet has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8d49bd7e4f8f6c41581642829ee5d393635ac8c084dc3db2df9baae4d6e34c"}},{"ruleId":"D1","level":"warning","message":{"text":"ListShareImageGenerator.generateImage (cyclomatic 18): ListShareImageGenerator.generateImage has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/ListShareImageGenerator.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e175ebabb0bdb1e40b6b48bc3acd41e6e55ea63e5e02d9ebe871573d9c83f70"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaShareImageGenerator.generateImage (cognitive 118): MediaShareImageGenerator.generateImage has cognitive complexity 118 (threshold 15). Drivers by points: if/else 41 (82 pts), loops 4 (15 pts), boolean chains 11, match/switch 2 (10 pts) (nesting depth added 60). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt holds 2 of the 10 methods over the threshold \u2014 including the worst \u2014 and 116 of the 222 points over it (52%), 2.2\u00D7 the next-largest file (app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt at 53). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c979f038994d997640d63c932cfcfae77ee9c65672baca0730a1e5c9571ee1"}},{"ruleId":"D2","level":"warning","message":{"text":"MovieDetailsFragment.setUpObservers (cognitive 62): MovieDetailsFragment.setUpObservers has cognitive complexity 62 (threshold 15). Drivers by points: if/else 26 (44 pts), match/switch 10 (12 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84ca994a8b6af7e728688cc8fc0fb4a26312fc837a4631632da8e1283bee598"}},{"ruleId":"D2","level":"warning","message":{"text":"ListShareImageGenerator.generateImage (cognitive 55): ListShareImageGenerator.generateImage has cognitive complexity 55 (threshold 15). Drivers by points: if/else 25 (50 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 28). 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/shalenmathew/movieflix/core/utils/ListShareImageGenerator.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71c921491da523aac0d57ff11d07a3ed202ee82479ef19dec49da895e42c59d"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaShareImageGeneratorKt.showMediaSharePreviewBottomSheet (cognitive 28): MediaShareImageGeneratorKt.showMediaSharePreviewBottomSheet has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21 (24 pts), error handling 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt holds 2 of the 10 methods over the threshold \u2014 including the worst \u2014 and 116 of the 222 points over it (52%), 2.2\u00D7 the next-largest file (app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt at 53). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb625ea52d61a8cb7562daa03dcb36f62f7e371eea539d008d01890ce8b983f"}},{"ruleId":"D2","level":"warning","message":{"text":"ActorRepositoryImpl.getActorDetail (cognitive 21): ActorRepositoryImpl.getActorDetail has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 3 (5 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/repository/ActorRepositoryImpl.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7f08392af46b480124b4ceb99875854e4b4c20b7bff8f85737268951ab2caf"}},{"ruleId":"D2","level":"warning","message":{"text":"MovieDetailsFragment.showMoreOptionsBottomSheet (cognitive 21): MovieDetailsFragment.showMoreOptionsBottomSheet has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c40b04fd45740096418466edc258c87f2d60f4d8ce6768a4ddc36b1cc0f541e"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaShareDataLoader.load (cognitive 17): MediaShareDataLoader.load has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/remote/MediaShareDataLoader.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce097cdc8a354a41bcd995f66aac90d5f5d32c624894e81e19f1fe9917959b6"}},{"ruleId":"D2","level":"warning","message":{"text":"FavFragment.showChoosePosterBottomSheet (cognitive 17): FavFragment.showChoosePosterBottomSheet has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"303d7be487ff98197e3bd34ed7244f374c22537e514d286ddac1ec2edea00065"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchListFragment.showChoosePosterBottomSheet (cognitive 17): WatchListFragment.showChoosePosterBottomSheet has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a367f48a4317555101c854f575425e7aed88fa81ae0321dc31d0be4968f944a7"}},{"ruleId":"D2","level":"warning","message":{"text":"MovieDetailsRepositoryImpl.getTVSeason (cognitive 16): MovieDetailsRepositoryImpl.getTVSeason has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2f0fdb3e0f3244280c8656d1c22085889cfb25aba499c12162d2890a805a1e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MovieDetailsFragment: ClassTooLong \u2014 1203 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 803 over it, 3.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"db260651c26a89d6f9acf03f21f17fd36793f76415ccd22ec75e8feba4eddce0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: movie_details/MovieDetailsFragment.kt: FileTooLong \u2014 1294 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: MovieDetailsFragment (94-2070). The bar is 500 significant lines; this is 794 over it, 2.59\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd13c09aac917f0476329fa922a24a2d98637c4368048300cc387dceb2b359a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaShareImageGenerator.generateImage: MethodTooLong \u2014 generateImage runs 244 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 144 over it, 2.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb9d0ecba99ac54c7ebdfdc9f729ea5b4575f071dd26316608baef8c20ec7a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MovieDetailsFragment.setUpObservers: MethodTooLong \u2014 setUpObservers runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db91bd3f18158334705ef89d37049ead842e215b43820b874f91276e23a635d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MovieDetailsFragment: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6396b8d48835e9036dd7599a5ea1e178457103f758d12171c535da7837b40483"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaShareImageGeneratorKt.showMediaSharePreviewBottomSheet: MethodTooLong \u2014 showMediaSharePreviewBottomSheet runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f66792d059cc94af4d4664f791c34905619210b26f99a4d2b9671df5d406de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/MediaShareImageGenerator.kt: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 47 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcca7b732005d317cfa4a7b5010b0e637af7116a8eaf22eb3456cf65015c1f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (33 shared lines): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:93-144 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:93-143 \u2014 These two members are variants of one another: 33 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"57952d31272fdf88c6f42fb333eccc9bc4842aee1abdfcc960b493be7b871bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:39-132 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:176-196 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:198-215 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:217-234 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:236-270 | app/src/main/java/com/shalenmathew/movieflix/data/repository/SearchMovieMovieRepositoryImpl.kt:18-41 | app/src/main/java/com/shalenmathew/movieflix/data/repository/SearchMovieMovieRepositoryImpl.kt:43-64 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e614a67fbdcc5ca3a3a33c49e85cb58d871eab4ec5709a26241c65a3015af4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:272-303 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:305-336 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:338-372 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:374-408 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:410-458 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:460-513 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"adee38422a319a9eb83f9ce5eddff5be164cd9da85252a8de84daec5c8b6fbcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53\u201357 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:206-262 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:201-253 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:206\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54da13ff6a9d068f9a29291082b044dee04ae807f537b83ae989bdf75585840"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/core/adapters/FavAdapters.kt:38-68 | app/src/main/java/com/shalenmathew/movieflix/core/adapters/WatchListAdapter.kt:38-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/core/adapters/FavAdapters.kt:38\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/adapters/FavAdapters.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"626654c183b970f748f0ce5f4978b23737f3b179ea3c63601acc0e2af01004d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:343-367 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:379-403 \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/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:343\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/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee92b6dcfa4588f14f116b7e1aa829795ef1d8a45bc33e50027b3e13dcc6afa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:277-298 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:310-331 \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/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:277\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/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26f1732a766980404af48e8c8363e471d1b00e8cfbe4a8e22b125d18f45588d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1867-1886 | app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1955-1974 \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/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1867\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"998a76437e6549898755ade92c57dc379e7080a2773512d6da3fa0992e423b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/library/ListDetailsFragment.kt:168-186 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:308-326 \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/shalenmathew/movieflix/presentation/library/ListDetailsFragment.kt:168\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/library/ListDetailsFragment.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cde867600656aa73f3c3f5c956fd0856980024273845566b1775616aff6108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:96-113 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:96-113 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"878a8c5b6102511f1c6f518396d82f083f201a2a33f9db3ce85a0e1985b2de1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:313-329 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:301-317 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:313\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060movie\u0060 to \u0060com.shalenmathew.movieflix.domain.model.MovieResult\u0060 in one and \u0060MovieResult\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c23f233bae8dfbe087b2e4ebc89c3f337684fdf04a7c179195664ca380e333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 7): app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:120-132 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:184-196 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:205-215 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:224-234 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:260-270 | app/src/main/java/com/shalenmathew/movieflix/data/repository/SearchMovieMovieRepositoryImpl.kt:26-41 | app/src/main/java/com/shalenmathew/movieflix/data/repository/SearchMovieMovieRepositoryImpl.kt:51-64 \u2014 there are 7 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 7 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/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:120\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 first that the copies are not typed on the same thing: \u0060IOException\u0060 names \u0060java.io.IOException\u0060 in one and \u0060okio.IOException\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db60f62820082f42747542aeefc507317db4840d6ca9b2d62907bf8f21aee60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:141-153 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:162-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:141\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad884cb5de57835239403df620b40e9f5f2b160afa5cff477b20dcf2e0b35268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:148-160 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:146-158 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3648d8d34245f0c738ab639e00ccc883a45cc4488df8a7621a2fa31fcace38d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:373-385 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:360-372 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:373\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85d802a2b6d636bb3832183caa14af86ec88134dca7d25f097c9744b576f897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/library/TrackingFragment.kt:88-99 | app/src/main/java/com/shalenmathew/movieflix/presentation/library/TrackingFragment.kt:232-244 \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. 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/shalenmathew/movieflix/presentation/library/TrackingFragment.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c97712ece676ecd618eba3e131eb639e9b47815ba9192725b6670c6cb98d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt:221-232 | app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt:269-280 \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/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt:221\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e26e4abf776959c10a58a559f191eac1066f6681b8721d6c90a392c34733f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:524-535 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:546-557 \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/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:524\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"58178790f486d478388fe47dc96b7e7c9e820ae64e54b50a29aa8e6f042859ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:282-293 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:261-272 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:282\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060uri\u0060 to \u0060android.net.Uri\u0060 in one and \u0060Uri\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dc3684e162874c0c423ec23e38646aed3aeae6082920d0f13c3b1c9d365198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1889-1900 | app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1977-1988 \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/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1889\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de4a0199f585c4aabf3b963d6bbedb5bf73014a734db3347489ca78ffd5e593"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:166-176 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:164-174 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:166\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/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"44432d3f88b30d8a6714955c6763c60ce91bec2fe2e2032309866a182005f5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:341-351 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:329-339 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:341\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"4662db1133a0b4bf3af8a83c21e38e1a8eec4543252b96a3e673ff072fd0e9cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:294-303 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:327-336 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:363-372 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:399-408 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:449-458 | app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:504-513 \u2014 all 6 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/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt:294\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/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a9204951796545d043372c16adb8b5e7f4460c7961e0a06aa22ada9d2907be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:102-110 | app/src/main/java/com/shalenmathew/movieflix/presentation/library/CustomListsFragment.kt:60-67 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:102-110 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:102\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cfc65bc0df7695a0ab28bcbb3f2fb2229620355dd7f8f931df095b1d7f4782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:151-159 | app/src/main/java/com/shalenmathew/movieflix/presentation/library/ListDetailsFragment.kt:121-129 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:149-157 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:151\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/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec37e6b6cc51ca5800939407b8864d776a66ef4ef2ba03d7988f50bb4eb8255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/core/adapters/TrackingAdapter.kt:60-68 | app/src/main/java/com/shalenmathew/movieflix/core/adapters/TrackingAdapter.kt:120-127 \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/shalenmathew/movieflix/core/adapters/TrackingAdapter.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f30bccbc1053f3d766968c751940ad6c4dad1a82ac5b46510aaece3d692550e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt:515-523 | app/src/main/java/com/shalenmathew/movieflix/presentation/library/ListDetailsFragment.kt:260-268 \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/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8fb8ce18a2d612046aad0bb8a8db42cb9b3df50d96fc88694603ee4bd9f805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:118-126 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:118-126 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:118\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f721a852bceb33a39ea037b3714155ad71d508636b22c1cca0aade774c95a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:279-287 | app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1922-1930 \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/shalenmathew/movieflix/presentation/favorites/FavFragment.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/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48b287eb06a48d938e6c5e411ecbd9f6589463aa009f4388c69cc65478ee06d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/settings/BackupFragment.kt:81-89 | app/src/main/java/com/shalenmathew/movieflix/presentation/settings/BackupFragment.kt:102-110 \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/shalenmathew/movieflix/presentation/settings/BackupFragment.kt:81\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/shalenmathew/movieflix/presentation/settings/BackupFragment.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc80a25e18e69001e66214591bda0977504b9b27414329b1c6e4cf6a5feb3bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/core/adapters/TrackingAdapter.kt:176-183 | app/src/main/java/com/shalenmathew/movieflix/core/adapters/TrackingSeasonAdapter.kt:143-150 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/core/adapters/TrackingAdapter.kt:176\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/shalenmathew/movieflix/core/adapters/TrackingAdapter.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dd40e81ae08c4d5d484facd5ad9686e1f7a3ffaf1f36fa4a499b04f5184b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt:683-690 | app/src/main/java/com/shalenmathew/movieflix/presentation/library/ListDetailsFragment.kt:335-342 \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/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt:683\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/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb42636c5f64e78be5f81525539ae8e6e018404d696fb92ad5251ba076dead5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:196-203 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:191-198 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5596e0fa82aefd124226f5bdf4cb1772d7d0dbfe3c8dfb44971c3aba62912f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:303-310 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:291-298 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:303\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060movie\u0060 to \u0060com.shalenmathew.movieflix.domain.model.MovieResult\u0060 in one and \u0060MovieResult\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"71aa9be7538a74cfbd8084eaab5e2387911450c621ef90734855450291a5ab83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/src/main/java/com/shalenmathew/movieflix/core/adapters/FavAdapters.kt:39-45 | app/src/main/java/com/shalenmathew/movieflix/core/adapters/RecommendationAdapter.kt:31-37 | app/src/main/java/com/shalenmathew/movieflix/core/adapters/WatchListAdapter.kt:39-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/adapters/FavAdapters.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c229d52dd184a26e2aed45a0d928619b3395f98be3a5fef0efc426c390d083f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:300-306 | app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1042-1048 \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/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:300\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/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa442918f9a3bfa152e130469737b5f76b8e7b42766ae7769151e3631c38af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:301-306 | app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1043-1048 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:289-294 \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/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:301\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/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"847e9f4d1cb9340d85c4d42a5b8659f7e80d9b27fc0e8ab96d6e0350eaceea57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/core/adapters/TrackingAdapter.kt:72-77 | app/src/main/java/com/shalenmathew/movieflix/core/adapters/TrackingAdapter.kt:111-116 \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/shalenmathew/movieflix/core/adapters/TrackingAdapter.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e99d40b3860971e5a7c4a768b2c7840e747869f17a1fd3e141079d74ed4585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:131-136 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:131-136 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:131\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee85783cd76aa19e38ab76eb5eabc3408870ab00a6375c86ec5887812ec829f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:296-300 | app/src/main/java/com/shalenmathew/movieflix/presentation/library/ListDetailsFragment.kt:144-148 | app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1038-1042 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c69416a5399cd3fcf5884f4cb7e506c3119efb0c069f53f6695c07c7474594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:190-194 | app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1851-1855 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3d77b77890ff0e140db5e079bfb5323006f56f7bf0b17057ee376709864350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:195-199 | app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1856-1860 \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/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:195\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/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffe0f9cad13d08d32bd883aa77f251c3342748f6ac2666bd695b5dae07212e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/library/TrackingFragment.kt:399-403 | app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1944-1948 \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/shalenmathew/movieflix/presentation/library/TrackingFragment.kt:399\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/shalenmathew/movieflix/presentation/library/TrackingFragment.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83250f78bfebc0a43d9591db26e8e16c72c97187866b2f964ab0e7fe8ccb185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/search/SearchFragment.kt:73-77 | app/src/main/java/com/shalenmathew/movieflix/presentation/search/SearchFragment.kt:82-87 \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/shalenmathew/movieflix/presentation/search/SearchFragment.kt:73\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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/shalenmathew/movieflix/presentation/search/SearchFragment.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"af00cf95aad33a94c1b1af0aa8199024321d4ba2c1e53e16a8b4fb9405a9616d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:407-437 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:394-424 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060list\u0060 to \u0060List\u003CFavouritesEntity\u003E\u0060 in one and \u0060List\u003CWatchListEntity\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55e8f1a9e8314afea41f9e37640b78b72362a6aeba92a6faf929786cc7b7736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:387-397 | app/src/main/java/com/shalenmathew/movieflix/presentation/library/CustomListsFragment.kt:173-183 | app/src/main/java/com/shalenmathew/movieflix/presentation/library/TrackingFragment.kt:167-177 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:374-384 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8c866ab0c79a072842abaacb9a55a1cea8118e11e2cf74207490c272d5931c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt:399-405 | app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt:386-392 \u2014 before extracting anything, compare \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f47e23d45807d015e7b0cdc3124e0a9d5a62653e72e45cb3353b22ecd3ed2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1922-1930 | app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:2018-2026 | app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:2037-2045 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt:1922\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/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd6f035dfdbc2e9f295ac935c965ef65f9ab7ac6ac2853548ca7e86cc27838b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt:526-530 | app/src/main/java/com/shalenmathew/movieflix/presentation/library/ListDetailsFragment.kt:271-275 \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/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5082282cb3f8cefd9c3469e1a0db83fc95e73dc3a4b8ee09f39dfecf790926d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HorizontalAdapter (LCOM4 4): HorizontalAdapter\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/adapters/HorizontalAdapter.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c52de16eec1f905a51d4c298485d5a681c95638f9dce5287b088bd58dfde678"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt: app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in MovieDetailsFragment.setUpObservers at line 368. 4 of those changes were fix/bug commits, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 00:30:28 \u002B05:30\u0027 --until=\u00272026-10-28 00:30:28 \u002B05:30\u0027 --full-history --no-merges -- app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/movie_details/MovieDetailsFragment.kt"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6856679bae4bbf372a1475f17e793881875da023f34e4204faba4f5001448c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt: app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in MediaShareImageGenerator.generateImage at line 73. 2 of those changes were fix/bug commits, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 00:30:28 \u002B05:30\u0027 --until=\u00272026-10-28 00:30:28 \u002B05:30\u0027 --full-history --no-merges -- app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5966aef89094a274aefc1e72d97291d09ca967025481fcb5161e61f6feaf0563"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/shalenmathew/movieflix/presentation/library/CustomListsFragment.kt: app/src/main/java/com/shalenmathew/movieflix/presentation/library/CustomListsFragment.kt changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is CustomListsFragment.showListOptionsBottomSheet at line 76), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix/list: list bug fixes\u201D; \u201Cfeat/List : fixes \u0026 better UX\u201D; \u201Cfixes : major bug fixes\u201D; \u201Cfix/mascot : added mascot to library\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 00:30:28 \u002B05:30\u0027 --until=\u00272026-10-28 00:30:28 \u002B05:30\u0027 --full-history --no-merges -- app/src/main/java/com/shalenmathew/movieflix/presentation/library/CustomListsFragment.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/library/CustomListsFragment.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d948b5df2427c5ba193ca7c8c279313edccc4580c483c9fca9e7f55be926aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/shalenmathew/movieflix/presentation/search/SearchFragment.kt: app/src/main/java/com/shalenmathew/movieflix/presentation/search/SearchFragment.kt changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is SearchFragment.intit at line 68), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfixes : major bug fixes\u201D; \u201Cfix/mascot : fixed UI\u201D; \u201Cfix/mascot : added mascot in home network ly\u201D; \u201Cfix/Search: improved search\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 00:30:28 \u002B05:30\u0027 --until=\u00272026-10-28 00:30:28 \u002B05:30\u0027 --full-history --no-merges -- app/src/main/java/com/shalenmathew/movieflix/presentation/search/SearchFragment.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/search/SearchFragment.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd791287e063d1de9e15d1959da653366fceea651f669df8a1b46a45d686349"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 28 significant file(s) lose their only recent owner: app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt, app/src/main/java/com/shalenmathew/movieflix/presentation/library/TrackingFragment.kt, app/src/main/java/com/shalenmathew/movieflix/presentation/library/ListDetailsFragment.kt, app/src/main/java/com/shalenmathew/movieflix/presentation/library/CustomListsFragment.kt, app/src/main/java/com/shalenmathew/movieflix/data/repository/SeriesTrackingRepositoryImpl.kt, app/src/main/java/com/shalenmathew/movieflix/core/utils/QuickActionOverlay.kt, app/src/main/java/com/shalenmathew/movieflix/core/adapters/TrackingAdapter.kt, app/src/main/java/com/shalenmathew/movieflix/presentation/search/SearchFragment.kt (\u002B20 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"126e2e1903719e624cd1afbdabfebeb0b6239fc78f32dd845577c064e4b6e802"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7bd2911bb007f4b9bc6b41828633d3bdefc6c29abea9f52f927d2a6615b90f8d"},"properties":{"commitSha":"2960b6f02c2c9d147f603ec4f1f3ecb3d8ebf4ba"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9a44e2c4f8f9652018d9d71955760808c507a4f7bf58879d8136185e40fdfcc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0e39f09c1e8ebdfe77b59df152a954ddfb4ff5e9ab9abc7406f170990a92b2c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"867bd65303eea364c5b21e9a81f504790ab8f6f20dd1996eab8ce4303e2e2eec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28fe0b8535af54d94cdca5d287fa7df97f62c323595eca566cb83fe2d7bd9359"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"243fe61d42eb2f0a8f80dcdeb0c3445ad1e2a0da111ce20edf7342b5742e0004"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db765787acc8bcdb369e1c98b6b16e91efd95bae686abd1ec5903797d1fb5453"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e43bbf542d49c3f33179d1db672da5b64e2922dad15ee073fc3ea9e150ed9dc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5be1cada7b162b0c9cdc62dc139a85973c9a54e5dd263e4d9af4fffa0ef1400f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d781e174dfea64c5aedf229840bd370bec7f5b138ecd1390bb8dd576eccdb08"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13c73696269a9af27024f325d5eee19d7066b2ab720583884434705fa1cdedc5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df5c2adbe79338398896a43ad7ef45d43710e58e8a6450378d20be0767c00e60"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9360df384f9394bf0c3f78c9ada72e904d3fe266914d756f460f0567fa2f35d5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"987b044be1815a089ba8ea0836442e8d0a4b7dda27823ade9c1935d0f530f6e0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f2541efb34eacff3f1a9096b3ecb5ecbad9cf3da689292b83fff5270258e792"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17d40a34c6b623adbad08983bd43b1a7849138d5ed34e708b79dfa567c366cf9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"131004b52da4f2c58bcbb7c49083f49dd294acba230034eeab5845fbedc75f3a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a6d5f01fe6fa4239d443c482de850a3d54dbafb73c85802a1bf7dca4bcf7f94"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"efe1c5ab1b77521795cbefaecaa8cee286072eb720117c42fc09ea9b839adf8c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b4be12ce23a3cdf7a0fef7f389ed730acfc4d02b4be0f0a318a0b812deefe5b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"628e013908a26d77f07ed2105bc187730f5735abf5871563898dd17301dd976f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a50cd0cd92f885fb6996d2bd1e1a66d423eb47c0969fea0621df41f314d3511"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4ac24247334c22bd56bada2f69a4386bfb809c8af71b649743d54d103104c26"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22dde81a22b87d6e2f42c9d45f8ef089972197a28077bbbaecf1b5e1ae3a20cb"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88399cba20fbdc2be861e33b0c8b76e2bdac8fa8e34f09a1c5bb75c62915c56b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24e05404b88d44b4f3fa3cb5b76b62ee2cd47c43a6c615f67ebae26b8b584ede"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 7 of 68 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 68 of the 166 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: app/src/main/java/com/shalenmathew/movieflix/core/utils/StreamingAppUtils.kt, app/src/main/java/com/shalenmathew/movieflix/data/repository/ActorRepositoryImpl.kt, app/src/main/java/com/shalenmathew/movieflix/core/adapters/CastAdapter.kt, app/src/main/java/com/shalenmathew/movieflix/core/adapters/CrewAdapter.kt, app/src/main/java/com/shalenmathew/movieflix/core/adapters/WatchProviderAdapter.kt, app/src/main/java/com/shalenmathew/movieflix/data/model/ActorTVCreditsResponse.kt, app/src/main/java/com/shalenmathew/movieflix/data/model/ActorMovieCreditsResponse.kt. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/repository/ActorRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7e04b48ce56faf26f3eefa632cc3aae84c51da18aad62854ee1dca6b6e9d9f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/StreamingAppUtils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a65d8b72bc913a333c072f72c4c6f87f06d925e30540a1310333c8edb4b8cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/adapters/CastAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d08b04f8896f82d5966af4710d1714a1c55fea114a0935b81218ac9fcfc35bc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/adapters/CrewAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f7e1a8e2b27108eaf5e0cdde53713aea9395e98aeb3c2ac99a1b3f2bedb9f9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/adapters/WatchProviderAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"980057e4770da735be70fa32875292188f3c7ce53f8122e6c93824114b89d962"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/model/ActorTVCreditsResponse.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f224a0cc18bc82e684ba86e51764369bf0d6f6f61b5314fc0dbc001e622dd1f9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/model/ActorMovieCreditsResponse.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"702a900f680fd9d6d4ee04c256bfaefc7bd2280e2ed03970c846dad60f968bfa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: FavFragment.kt, ListDetailsFragment.kt, WatchListFragment.kt: 3 files \u2014 \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt\u0060, \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/library/ListDetailsFragment.kt\u0060, \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50d50e01cd237ce994df4b10270f115406388daa23b71b1dd33c6aed63ad229"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MovieDetailsRepositoryImpl.kt \u2194 HomeInfoViewModel.kt: \u0060app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt\u0060 and \u0060app/src/main/java/com/shalenmathew/movieflix/presentation/viewmodels/HomeInfoViewModel.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 \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \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. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060297aa677\u0060 feat/cleaning code : cleaned notification module; \u0060f11d4b79\u0060 Where to watch section added (at that commit the files were still \u0060app/src/main/java/com/example/movieflix/data/repository/MovieDetailsRepositoryImpl.kt\u0060 and \u0060app/src/main/java/com/example/movieflix/presentation/viewmodels/HomeInfoViewModel.kt\u0060); \u0060dbbca6a1\u0060 Finishing and polishing (at that commit the files were still \u0060app/src/main/java/com/example/movieflix/data/repository/MovieDetailsRepositoryImpl.kt\u0060 and \u0060app/src/main/java/com/example/movieflix/presentation/viewmodels/HomeInfoViewModel.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dd4cf5fdb2ad5a348472916e9fb11329b7d4528048e1af8baa11d43402c61d"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"357a560d3cbd2d509511c60d9e5a77a12054bdc0e8646668cc703af69df118c9"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f8b80c54a1d2c80c80ef3736839003faa643423917ac20d451c4caf17fa087f"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e3847cdac7f2c44c13bf6c1855071c26fa9545148161e79bebc42c909f0121d"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: CustomListEntity: \u0060CustomListEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060description\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060CustomListEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/local_storage/entity/CustomListEntity.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c671e0cd471d50672b1ee59d5f69ae67ba20ff53c45f8fb1d35f0dc5ee0e197d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: CustomListMovieEntity: \u0060CustomListMovieEntity\u0060\u0027s public constructor takes \u0060mediaType\u0060, \u0060name\u0060, \u0060posterPath\u0060, \u0060backdropPath\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060CustomListMovieEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/local_storage/entity/CustomListMovieEntity.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5557c61f9e408205a673ff409b372f33595d2aebc3cf2884007bd934f854ae4d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: EpisodeTrackingEntity: \u0060EpisodeTrackingEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060overview\u0060, \u0060stillPath\u0060, \u0060airDate\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060EpisodeTrackingEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/local_storage/entity/EpisodeTrackingEntity.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e80f441b281439b12941da64ab0807907df59e73249e5a99cbbcc10e01313c4"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: FavouritesEntity: \u0060FavouritesEntity\u0060\u0027s public constructor takes \u0060personalNote\u0060, \u0060insertedAt\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060FavouritesEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/local_storage/entity/FavouritesEntity.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9862b1f3432f443e72d2db2c3880651dec4b718ee14ae4fb6b2c0ef3bb67ce"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PersonalGalleryEntity: \u0060PersonalGalleryEntity\u0060\u0027s public constructor takes \u0060imagePath\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PersonalGalleryEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/local_storage/entity/PersonalGalleryEntity.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"873c06c7efa3da40f8412535e4ca1f8a8039f0bb011ca2421da60f65f6675f8e"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ScheduledEntity: \u0060ScheduledEntity\u0060\u0027s public constructor takes \u0060customMessage\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ScheduledEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/local_storage/entity/ScheduledEntity.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f276667a3067ba9d7561f36de47e9c9beeea75959f41c067f10a78f64b821f30"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SeasonTrackingEntity: \u0060SeasonTrackingEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060posterPath\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SeasonTrackingEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/local_storage/entity/SeasonTrackingEntity.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"822113af637ea560aba988d6eac50cb2f219514177c4c5c8fa76c8e8f7d51c83"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SeriesTrackingEntity: \u0060SeriesTrackingEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060posterPath\u0060, \u0060backdropPath\u0060, \u0060overview\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SeriesTrackingEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/local_storage/entity/SeriesTrackingEntity.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7e787e159aa0359bbf497ab2eba00762f1e4e9d95c451293fc14c8d28dffc9"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: WatchListEntity: \u0060WatchListEntity\u0060\u0027s public constructor takes \u0060insertedAt\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060WatchListEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/local_storage/entity/WatchListEntity.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d505b271cc01b19964a33ed7b6b866162c4d865a236c2521cf96084d9a6ed62"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 3 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/main_workflow.yml"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060.openConnection(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/notifications/NotificationHelper.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"786edcef9116bdc9af3846149ebca9991a712ab26946fc438b8a8d708e229954"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ClickHandler.isClickAllowed() \u0026\u0026 findNavController().currentDestination?.id == R.id.libraryFragment\u0060 appears character-identically in 3 files \u2014 app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt, app/src/main/java/com/shalenmathew/movieflix/presentation/library/CustomListsFragment.kt, app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2d107f764b5a88bf9b0fb99b2996eba6efb156029bebe29e109f262f835684"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.name.startsWith(\u0022poster_\u0022) || file.name.startsWith(\u0022banner_\u0022) || file.name.startsWith(\u0022gallery_\u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/shalenmathew/movieflix/core/backup/BackupWorker.kt, app/src/main/java/com/shalenmathew/movieflix/core/backup/RestoreWorker.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/backup/BackupWorker.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3d4d5d6c18c07123f146981442c6251b536075d07163dbafd86424d5ddaf15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060movie.mediaType == \u0022tv\u0022 || (movie.name != null \u0026\u0026 movie.title == null)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt, app/src/main/java/com/shalenmathew/movieflix/presentation/watchlist/WatchListFragment.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/favorites/FavFragment.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f334682c563537aeefd2c15407fea453bc73c58282c2787616158a906e0e3c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.isSuccessful \u0026\u0026 response.body() != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt, app/src/main/java/com/shalenmathew/movieflix/data/repository/SeriesTrackingRepositoryImpl.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/repository/MovieDetailsRepositoryImpl.kt"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"d158db4028b2665b7933f8266c8a0c63730dfddb76d33d4b7cf3a9a3c1f1f1ae"}},{"ruleId":"X2","level":"note","message":{"text":"Not all suspend functions that make a request accept the coroutine\u0027s cancellation: Only 0/1 suspend functions that make a cancellable request (Ktor, OkHttp newCall, URL streams) accept the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a screen navigated away from, a disposed widget, a superseded search. In a suspend function, make the request with a call that suspends \u2014 Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 that cancels the \u0060Call\u0060 \u2014 not a blocking \u0060execute()\u0060: \u0060withContext(Dispatchers.IO)\u0060 moves the call off the caller\u0027s thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"97a0137a13dc63b0e07ec4e232770b687c26a8a2030f49787e45a4506416c527"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: loadImageFromUrl: \u0060loadImageFromUrl\u0060 suspends, but makes its request with \u0060URL(\u2026).openConnection()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/notifications/NotificationHelper.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a301a1a3487e0635d081ee3ea706cb123324f31261b539fe3e1174aa486108e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/presentation/widget/UpNextWidget.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1d274f86a108bb9700c5412020972f82ff209708f5dd6a63998bfc874a4eab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/repository/ActorRepositoryImpl.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f739655abd4af7a9df363bfb34310ee009cf8c8346a60fe4869694e55fed80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/data/repository/ActorRepositoryImpl.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"953a2440f763689311093582429c38dd7e38492fe1afa7aeb78692560fb9c6fd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bbac466ed742e3262aed4f225c75cd9a83d57800c2da8bf406e80a68ab943f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"0784dc57f0c42f14c63d27fcded15d91a9e1dcb9e9744bc4a98f8bf9e3bcb948"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"592ec988b6d076243bbeabecc90507db46ead66f9cb7be8d591c3545e2ffcf9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a441575e190f96cdaa7a78932a8111cee742c7eceaf86d357441a84f21d9fcda"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"8670c801d2e6eb86e182246d8c342872ade3a960dbbedf62b19fc057582ae94e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/di/NetworkModule.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1a1005bfc28b7bab7aad36f28ebf1835ddc878b1f16f11630532bec48b438e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatDate\u0060 swallows every exception into \u0060\u0022UNKNOWN\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c53a7b8903ffe7e08a3fe47cbb0e6c647b7d59001e129ed6d4fa2e72ccd9c9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatCompactDate\u0060 swallows every exception into \u0060\u0022UNKNOWN\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/shalenmathew/movieflix/core/utils/MediaShareImageGenerator.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"c110ad6ee9052a68ae1694b4caea3d70f307954536fe0e24ff6218f5fe1e8369"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":35,"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."]}]}