{"$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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","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-1395","CWE-937"],"owasp":"A03: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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"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":"NotificationSettingsModel.== (cyclomatic 25): NotificationSettingsModel.== has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/notifications/logic/models/notification_settings_model.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b952a638a5344e0756c492585c683ffbb6f30f6a4d349e59dc78d7c784548c8b"}},{"ruleId":"D1","level":"warning","message":{"text":"PrayerCardWidget.build (cyclomatic 21): PrayerCardWidget.build 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":"lib/feature/azan/view/widgets/azan_item.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d633d371d24da2142be068745c7e698024c4d9904a8d529a5d8a795c7da97d99"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationsSubscriptionNotifier.navigateOnNotificationLaunch (cyclomatic 20): NotificationsSubscriptionNotifier.navigateOnNotificationLaunch has cyclomatic complexity 20 (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":"lib/feature/azkar/logic/providers/notifications_subscription_notifier.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d730dd87ef67c92884d20f103b18fdc6a93741a53f098057d445cd279e2f56a2"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationSchedulerService._schedulePrayers (cyclomatic 18): NotificationSchedulerService._schedulePrayers 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":"lib/core/services/notification_scheduler_service.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6a26e55fc40b77cbb4a65b7141f7b2d134d1d5c90e7db1045cf637ed3906f2"}},{"ruleId":"D2","level":"warning","message":{"text":"AzanSettingsNotifier.toggleVoicePreview (cognitive 36): AzanSettingsNotifier.toggleVoicePreview has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (23 pts), error handling 3 (9 pts), boolean chains 4 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/settings/logic/providers/azan_settings_provider.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e467943ccf349625aa6ca53c491039ce236a1e38631af636edc545cfbad8441"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalNotificationService.scheduleNotification (cognitive 30): LocalNotificationService.scheduleNotification has cognitive complexity 30 (threshold 15). Drivers by points: loops 3 (9 pts), ternaries 3 (9 pts), if/else 6 (8 pts), error handling 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/local_notification_service.dart"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"614e8b7e581c834c3a15412fad0336ff07bab2c91836f222575c809b5199a46c"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationsSubscriptionNotifier.navigateOnNotificationLaunch (cognitive 29): NotificationsSubscriptionNotifier.navigateOnNotificationLaunch has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 7 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azkar/logic/providers/notifications_subscription_notifier.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4667a8dcdd54895b048596596629f5f83dd98ea92c962e6249ef792893484b64"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalNotificationService.init (cognitive 24): LocalNotificationService.init has cognitive complexity 24 (threshold 15). Drivers by points: error handling 5 (11 pts), loops 2 (7 pts), if/else 2 (6 pts) (nesting depth added 15). 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":"lib/core/services/local_notification_service.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac3309a815df2564b3905680de7788d48d1a2febfe1826f7409e50f2f25c599"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationSchedulerService._schedulePrayers (cognitive 24): NotificationSchedulerService._schedulePrayers has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, loops 2 (3 pts), error handling 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/notification_scheduler_service.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a284c8b585f9a1313e7b94f0a814aa8951e09a6c2f9b872fd98e6da49018a1"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationSettingsModel.== (cognitive 24): NotificationSettingsModel.== has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 24. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/notifications/logic/models/notification_settings_model.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bc234fe8ab08f82f252e7faa54170a0ba20e884dc5b16965922f58ae4a7b98"}},{"ruleId":"D2","level":"warning","message":{"text":"PrayerCardWidget.build (cognitive 20): PrayerCardWidget.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 17, if/else 2, error handling 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":"lib/feature/azan/view/widgets/azan_item.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a657c2df60c62208dbe60fb0f6351549f3946fe7ceb15fb5be0bf6bb427daf48"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationSchedulerService._scheduleOccasions (cognitive 18): NotificationSchedulerService._scheduleOccasions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/notification_scheduler_service.dart"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f841cd071c485e4c5706302d1d29f9362729466eee3367cafadde22bbfafd01"}},{"ruleId":"D2","level":"warning","message":{"text":"FavoriteItemCard.build (cognitive 17): FavoriteItemCard.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 6, boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"lib/feature/favorites/view/widgets/favorite_item_card.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1540f16638a3d2167db294dbcd29a2e8e151fd274223919f4ae94f588d03bf"}},{"ruleId":"D2","level":"warning","message":{"text":"CompassDialPainter.paint (cognitive 17): CompassDialPainter.paint has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (15 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/qibla/view/widgets/qibla_compass_dial.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a56a1673d92525ea158303cbef36956b61f59cdee65476ea1ef48f6ee937335"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _HeaderAzanState.build: MethodTooLong \u2014 build runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.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":"lib/feature/azan/view/widgets/header_azan.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f59a4225d59e51bcd8f30a92850b80afb329ca979db35bf5f5dfc3d390b3808"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AyahItemWidget.build: MethodTooLong \u2014 build runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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":"lib/feature/quran/view/widgets/ayah_item_widget.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e3b2d603e27293b8e17e8821d6b33055c048fcc83fa2f41669ac6b63a86d7e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FavoriteItemCard.build: MethodTooLong \u2014 build runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"lib/feature/favorites/view/widgets/favorite_item_card.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"88409cfbf8e434d9b68328e84ccc8efba28c335f826e2d06c37ff7c17702f918"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PrayerCardWidget.build: MethodTooLong \u2014 build runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/view/widgets/azan_item.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a750cfeedb3de6e250a81d9370f728e4596486baff79aa52f3f5ae6b3a6061"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalNotificationService: ClassTooLong \u2014 432 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 32 over it, 1.08\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":"lib/core/services/local_notification_service.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93b02b4731ac58d4692bb75f1105410434d796443b150e00b81d84647c2fbd6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContactEmailActionCard.build: MethodTooLong \u2014 build runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"lib/feature/contact_us/view/screens/contact_us_screen.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee0adb611e62fd1d2cd56192e0e1254aee6c6562ba790d683ec8b97f089297c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RadioMiniPlayerWidget.build: MethodTooLong \u2014 build runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/radios/view/widgets/radio_mini_player_widget.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9423949a61e14c6f4db6850cecc1d6a901456ccbd785b5a57e7cf1260e619f5f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuranHomeCard.build: MethodTooLong \u2014 build runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"lib/feature/home/view/widgets/quran_home_card.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dac9957070708f8df6e20be440cca0c09b09229256182f42f10b7e5b946cc2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DiagnosticsContentWidget.build: MethodTooLong \u2014 build runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/notifications/view/widgets/notification_diagnostics_card.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36a19b886997d5890c9e6197d4c843893c22ac96ff1228457aa560eabeeb800"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 48 shared lines): lib/feature/home/view/widgets/feature_grid_card.dart:197-275 | lib/feature/home/view/widgets/feature_grid_card.dart:281-371 | lib/feature/home/view/widgets/feature_grid_card.dart:377-478 | lib/feature/home/view/widgets/feature_grid_card.dart:484-562 \u2014 These 4 members are variants of one another: a block of 48 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/home/view/widgets/feature_grid_card.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b11043a5a0df9e0289bc8daa8921a72ce33fe5524f4bbe200c1ca6a4795402"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (57 shared lines): lib/core/widgets/location_rationale_dialog.dart:36-132 | lib/feature/notifications/view/widgets/exact_alarm_rationale_dialog.dart:26-124 \u2014 These two members are variants of one another: 57 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":"lib/core/widgets/location_rationale_dialog.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7451aa23fa32267aa0f20481243ff1916d1be79161ec04fa046a506c5e1fb9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/core/network/remote_client.dart:41-67 | lib/core/network/remote_client.dart:69-97 | lib/core/network/remote_client.dart:99-127 | lib/core/network/remote_client.dart:129-157 | lib/core/network/remote_client.dart:159-185 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/network/remote_client.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7a8ab0855160c81deddee864d572d98014c7297f29aebfbdac5747472a73df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): lib/core/widgets/location_rationale_dialog.dart:147-185 | lib/feature/notifications/view/widgets/exact_alarm_rationale_dialog.dart:138-176 \u2014 before extracting anything, compare \u0060lib/core/widgets/location_rationale_dialog.dart\u0060 and \u0060lib/feature/notifications/view/widgets/exact_alarm_rationale_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 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":"lib/core/widgets/location_rationale_dialog.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebfdcdfb327fe1b83a43cb0fc96e1933b3588825608d908086a352d8d319540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/core/widgets/location_rationale_dialog.dart:108-132 | lib/feature/notifications/view/widgets/exact_alarm_rationale_dialog.dart:100-124 \u2014 before extracting anything, compare \u0060lib/core/widgets/location_rationale_dialog.dart\u0060 and \u0060lib/feature/notifications/view/widgets/exact_alarm_rationale_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 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":"lib/core/widgets/location_rationale_dialog.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5136142398fea6f13637a767edba43beaa826c202cbdb5642df6cbeff4920781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/feature/azkar/view/widgets/azkar_search_field.dart:47-70 | lib/feature/quran/view/widgets/quran_search_field.dart:63-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azkar/view/widgets/azkar_search_field.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce9ac43de124b31ec589849657c9ad005b2ba0ce257d5b690a63f4d45168062"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/feature/favorites/view/widgets/favorite_item_card.dart:27-50 | lib/feature/radios/view/widgets/radio_item.dart:29-52 \u2014 before extracting anything, compare \u0060lib/feature/favorites/view/widgets/favorite_item_card.dart\u0060 and \u0060lib/feature/radios/view/widgets/radio_item.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 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":"lib/feature/favorites/view/widgets/favorite_item_card.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac7449b0aaf74ca1a82d00fa700481979cf09b60626c00c904f725c5293eae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): lib/feature/home/view/widgets/feature_grid_card.dart:253-275 | lib/feature/home/view/widgets/feature_grid_card.dart:349-371 | lib/feature/home/view/widgets/feature_grid_card.dart:456-478 | lib/feature/home/view/widgets/feature_grid_card.dart:540-562 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/home/view/widgets/feature_grid_card.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec94858356b66b1e7e632635bbd0e699326552a96b593c53ab40fbcad1d504e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/feature/notifications/view/widgets/notification_diagnostics_card.dart:143-165 | lib/feature/notifications/view/widgets/notification_test_card.dart:85-107 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/notifications/view/widgets/notification_diagnostics_card.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45ea8540703762a8ba9f84e02ac3782978d3dd866f8eae57e6b5e141225ddc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/feature/notifications/logic/providers/notification_settings_provider.dart:119-137 | lib/feature/settings/logic/providers/azan_settings_provider.dart:116-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/notifications/logic/providers/notification_settings_provider.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de8564e0d22baaa641894e3f1070302f547f417ff72414d3956c9878092b846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 5): lib/core/network/remote_client.dart:50-67 | lib/core/network/remote_client.dart:83-97 | lib/core/network/remote_client.dart:113-127 | lib/core/network/remote_client.dart:143-157 | lib/core/network/remote_client.dart:170-185 \u2014 all 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/network/remote_client.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"602f2fc4d34f54a3ccb83644dc0eac76d08b6837aa1f13ba6b432aaacc31d025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/core/widgets/location_rationale_dialog.dart:36-53 | lib/feature/notifications/view/widgets/exact_alarm_rationale_dialog.dart:26-43 \u2014 before extracting anything, compare \u0060lib/core/widgets/location_rationale_dialog.dart\u0060 and \u0060lib/feature/notifications/view/widgets/exact_alarm_rationale_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 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":"lib/core/widgets/location_rationale_dialog.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a86e4a6c2c4c033221c413358aaddc0ce3d89f825f7f0b297e614e8e1de637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/feature/azkar/view/widgets/azkar_category_tile.dart:27-44 | lib/feature/quran/view/widgets/surah_list_tile.dart:20-37 \u2014 before extracting anything, compare \u0060lib/feature/azkar/view/widgets/azkar_category_tile.dart\u0060 and \u0060lib/feature/quran/view/widgets/surah_list_tile.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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":"lib/feature/azkar/view/widgets/azkar_category_tile.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7e7cd790d367b375971d7e712a3dc017f3180755a7add1cedff99397f2870a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/feature/notifications/view/widgets/notification_diagnostics_card.dart:28-45 | lib/feature/notifications/view/widgets/notification_test_card.dart:30-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/notifications/view/widgets/notification_diagnostics_card.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d04cb1bf80d4181be7e76a0de20193c4c296b1caaccb48aa626a4666d95e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/feature/azan/view/widgets/azan_item.dart:264-280 | lib/feature/radios/view/widgets/radio_station_list_widget.dart:89-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/view/widgets/azan_item.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edd4d45df66428c6cf9f779cf53d148c416b709797f58851359e1a94cd21996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): lib/feature/azkar/view/widgets/zekr_card.dart:321-334 | lib/feature/radios/view/widgets/radio_item.dart:107-123 \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":"lib/feature/azkar/view/widgets/zekr_card.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f737b34c55766979dc18ea7c49ee32885cc8e2af6d1e3bf1c03565f8067a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/feature/prophet/view/widgets/prophet_detail_widgets.dart:41-57 | lib/feature/prophet/view/widgets/prophet_topic_card.dart:81-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/prophet/view/widgets/prophet_detail_widgets.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e188f761bef0624aa61ed7536df57a3f6e0a1b377cc676646a4662290d0e01bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/feature/quran/view/screens/quran_index_screen.dart:22-38 | lib/feature/quran/view/screens/surah_detail_screen.dart:58-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/quran/view/screens/quran_index_screen.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"13da1257afb15464edf827d1c23939c8097f98c5a260a8c33962870ffa08cf41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): lib/feature/habits/view/widgets/habit_progress_card.dart:23-38 | lib/feature/home/view/screens/widgets_guide_screen.dart:141-156 | lib/feature/home/view/widgets/next_prayer_card.dart:66-81 | lib/feature/radios/view/widgets/audio_artwork_card.dart:32-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/habits/view/widgets/habit_progress_card.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb925e56fdb84de29ae87421a11c3944b68a4e0adc4ce55f57f182aba8047e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/feature/favorites/view/widgets/favorite_item_card.dart:72-87 | lib/feature/prophet/view/widgets/prophet_topic_card.dart:48-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/favorites/view/widgets/favorite_item_card.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d01d11f33f58ab0d3e67e653c6249d328e1ecd157b42c1edc89012be073155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/feature/home/view/screens/widgets_guide_screen.dart:238-252 | lib/feature/notifications/view/widgets/notification_diagnostics_card.dart:121-135 \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":"lib/feature/home/view/screens/widgets_guide_screen.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1682c46d0e050168dd2b03f9ec4f19612411500f0c4076cc3e208d6dea555ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/feature/notifications/view/widgets/notification_category_container.dart:29-42 | lib/feature/prophet/view/widgets/prophet_topic_card.dart:24-38 \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":"lib/feature/notifications/view/widgets/notification_category_container.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf3bf3de37637c7306355d0ff038d49660d6617d2ae6b2ac60233b71383a05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/core/widgets/location_rationale_dialog.dart:68-81 | lib/feature/notifications/view/widgets/exact_alarm_rationale_dialog.dart:59-72 \u2014 before extracting anything, compare \u0060lib/core/widgets/location_rationale_dialog.dart\u0060 and \u0060lib/feature/notifications/view/widgets/exact_alarm_rationale_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 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":"lib/core/widgets/location_rationale_dialog.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8241bca823847b7498248727ff7889fc90409c721315155fa737b649373237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/feature/azan/view/widgets/azan_item.dart:126-139 | lib/feature/azan/view/widgets/header_azan.dart:96-109 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/view/widgets/azan_item.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafacce38e8b7f805c4f43d35a98e40884d70eb758fc0c930791ff19127d9ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/feature/azan/view/widgets/azan_sunan_card.dart:29-42 | lib/feature/notifications/view/widgets/notification_category_container.dart:32-45 \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":"lib/feature/azan/view/widgets/azan_sunan_card.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79ba39ee8108a5581e4d8252380071caa67efb2d5ca8cdede3117d394066766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/feature/contact_us/view/screens/contact_us_screen.dart:38-51 | lib/feature/prophet/view/widgets/prophet_detail_widgets.dart:11-24 \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":"lib/feature/contact_us/view/screens/contact_us_screen.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd070085e51bc0533513871485c73662434acbc8e9e8689218eac41aab7e2675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/feature/home/view/widgets/next_prayer_card.dart:73-86 | lib/feature/home/view/widgets/quran_home_card.dart:33-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/home/view/widgets/next_prayer_card.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ad4ab23609902fe07b849198d11d51b7714b6a0b64c198c7ad58a82c7b37c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/feature/prophet/view/widgets/prophet_topic_card.dart:31-44 | lib/feature/radios/view/widgets/radio_mini_player_widget.dart:32-45 \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":"lib/feature/prophet/view/widgets/prophet_topic_card.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"14448cbad007a57fd69fda24e9f2a03ab12aca4345b9b8865d6c13cc80663f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 10): lib/feature/azkar/view/widgets/azkar_category_tile.dart:36-48 | lib/feature/favorites/view/widgets/favorite_item_card.dart:36-48 | lib/feature/home/view/widgets/feature_grid_card.dart:102-114 | lib/feature/home/view/widgets/feature_grid_card.dart:206-218 | lib/feature/home/view/widgets/feature_grid_card.dart:290-302 | lib/feature/home/view/widgets/feature_grid_card.dart:386-398 | lib/feature/home/view/widgets/feature_grid_card.dart:493-505 | lib/feature/quran/view/widgets/surah_list_tile.dart:29-41 | lib/feature/radios/view/widgets/radio_item.dart:38-50 | lib/feature/radios/view/widgets/radio_mini_player_widget.dart:29-41 \u2014 before extracting anything, compare \u0060lib/feature/azkar/view/widgets/azkar_category_tile.dart\u0060 and \u0060lib/feature/quran/view/widgets/surah_list_tile.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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":"lib/feature/azkar/view/widgets/azkar_category_tile.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a233747b2f7d613c36a046125248f59802ef2d02f610c74b52e606c1e4e20f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 9): lib/feature/daily_zekr/view/widgets/daily_zekr_card.dart:35-47 | lib/feature/favorites/view/widgets/favorite_item_card.dart:32-44 | lib/feature/home/view/widgets/feature_grid_card.dart:98-110 | lib/feature/home/view/widgets/feature_grid_card.dart:202-214 | lib/feature/home/view/widgets/feature_grid_card.dart:286-298 | lib/feature/home/view/widgets/feature_grid_card.dart:382-394 | lib/feature/home/view/widgets/feature_grid_card.dart:489-501 | lib/feature/nawawi/view/widgets/nawawi_item.dart:136-148 | lib/feature/radios/view/widgets/radio_item.dart:34-46 \u2014 before extracting anything, compare \u0060lib/feature/favorites/view/widgets/favorite_item_card.dart\u0060 and \u0060lib/feature/home/view/widgets/feature_grid_card.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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":"lib/feature/daily_zekr/view/widgets/daily_zekr_card.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43f8058e1aa858c1832fd1463d3469050fa7c997a4d46f46f3e8d87b6702104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/feature/contact_us/view/screens/contact_us_screen.dart:136-148 | lib/feature/notifications/view/widgets/notification_diagnostics_card.dart:116-128 | lib/feature/radios/view/widgets/radio_mini_player_widget.dart:25-37 \u2014 before extracting anything, compare \u0060lib/feature/contact_us/view/screens/contact_us_screen.dart\u0060 and \u0060lib/feature/notifications/view/widgets/notification_diagnostics_card.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/contact_us/view/screens/contact_us_screen.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8186adc4a6e780a7ea455890f98bfaf3b6a12a04d2c53585383d4a081bafdf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/feature/habits/view/widgets/habit_tile_widget.dart:16-28 | lib/feature/quran/view/widgets/surah_list_tile.dart:16-28 \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":"lib/feature/habits/view/widgets/habit_tile_widget.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92866420ed19d55f3698edf1df9b06857e7d908a9d19e1aa66fdfe6dba9c915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/feature/home/view/widgets/quran_home_card.dart:28-40 | lib/feature/quran/view/widgets/surah_header_widget.dart:29-41 \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":"lib/feature/home/view/widgets/quran_home_card.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c205d4a29ef607c41b2502f32f2b88c223842c26a8dd2cbe0edc98834425cf25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): lib/feature/nawawi/view/widgets/nawawi_explanation_sheet.dart:81-93 | lib/feature/nawawi/view/widgets/nawawi_item.dart:101-111 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/nawawi/view/widgets/nawawi_explanation_sheet.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8dd11d1db2f1c07eba79d2937fde99222de2060174cc965ee8ee69660fbba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/feature/notifications/view/widgets/notification_diagnostics_card.dart:42-54 | lib/feature/notifications/view/widgets/notification_diagnostics_card.dart:80-92 \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":"lib/feature/notifications/view/widgets/notification_diagnostics_card.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c0dcfcd69c41e77aa52cab8d7aa6a768fca85a4ada15c14f029f8d1e2659cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 15): lib/feature/azkar/view/widgets/azkar_category_tile.dart:35-46 | lib/feature/contact_us/view/screens/contact_us_screen.dart:139-150 | lib/feature/daily_zekr/view/widgets/daily_zekr_card.dart:38-49 | lib/feature/favorites/view/widgets/favorite_item_card.dart:35-46 | lib/feature/home/view/widgets/feature_grid_card.dart:101-112 | lib/feature/home/view/widgets/feature_grid_card.dart:205-216 | lib/feature/home/view/widgets/feature_grid_card.dart:289-300 | lib/feature/home/view/widgets/feature_grid_card.dart:385-396 | lib/feature/home/view/widgets/feature_grid_card.dart:492-503 | lib/feature/nawawi/view/widgets/nawawi_item.dart:139-150 | lib/feature/notifications/view/widgets/notification_diagnostics_card.dart:119-130 | lib/feature/quran/view/widgets/surah_list_tile.dart:28-39 | lib/feature/radios/view/widgets/audio_player_controls.dart:29-40 | lib/feature/radios/view/widgets/radio_item.dart:37-48 | lib/feature/radios/view/widgets/radio_mini_player_widget.dart:28-39 \u2014 before extracting anything, compare \u0060lib/feature/azkar/view/widgets/azkar_category_tile.dart\u0060 and \u0060lib/feature/quran/view/widgets/surah_list_tile.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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":"lib/feature/azkar/view/widgets/azkar_category_tile.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"88414d60322effec888430ecf155bc7f870814e4d93c05d4c3bbe7fab8630d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): lib/feature/home/view/widgets/feature_grid_card.dart:104-115 | lib/feature/home/view/widgets/feature_grid_card.dart:208-219 | lib/feature/home/view/widgets/feature_grid_card.dart:292-303 | lib/feature/home/view/widgets/feature_grid_card.dart:388-399 | lib/feature/home/view/widgets/feature_grid_card.dart:495-506 | lib/feature/prophet/view/widgets/prophet_topic_card.dart:30-41 | lib/feature/quran/view/widgets/surah_list_tile.dart:31-42 | lib/feature/radios/view/widgets/radio_mini_player_widget.dart:31-42 \u2014 before extracting anything, compare \u0060lib/feature/home/view/widgets/feature_grid_card.dart\u0060 and \u0060lib/feature/quran/view/widgets/surah_list_tile.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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":"lib/feature/home/view/widgets/feature_grid_card.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28c7de8ad21c218d3ec25ca8c9251a351401c2475e5615c3bb8a1b4e71cb8f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): lib/feature/favorites/view/widgets/favorite_item_card.dart:126-137 | lib/feature/nawawi/view/widgets/nawawi_explanation_sheet.dart:80-91 | lib/feature/nawawi/view/widgets/nawawi_item.dart:100-110 \u2014 before extracting anything, compare \u0060lib/feature/favorites/view/widgets/favorite_item_card.dart\u0060 and \u0060lib/feature/nawawi/view/widgets/nawawi_item.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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":"lib/feature/favorites/view/widgets/favorite_item_card.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7c117297425a16e9dafe44aeb1126b924b2f08eea5dce9334f12accfa028df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/feature/azan/view/screens/azan_screen.dart:34-45 | lib/feature/azan/view/screens/azan_screen.dart:49-59 \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":"lib/feature/azan/view/screens/azan_screen.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b673e3bf7fa8718cf52474972d5114ebe2689733e566c496cda66831a98aad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/feature/azkar/view/screens/azkar_category_screen.dart:256-267 | lib/feature/azkar/view/widgets/azkar_category_tile.dart:110-121 \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":"lib/feature/azkar/view/screens/azkar_category_screen.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"503a1eadfc545a671c398b9fa2b24ac999ffa8f55eeca24c8307beaf6b39142d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/feature/prophet/view/widgets/prophet_header_banner.dart:8-19 | lib/feature/quran/view/widgets/surah_header_widget.dart:14-25 \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":"lib/feature/prophet/view/widgets/prophet_header_banner.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd856ec75816f9437d7de19cf1175b6350195f4d5843250ae7e4f68655f51252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/feature/azan/view/widgets/azan_sunan_card.dart:29-39 | lib/feature/notifications/view/widgets/notification_category_container.dart:32-42 | lib/feature/prophet/view/widgets/prophet_topic_card.dart:28-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/view/widgets/azan_sunan_card.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"35803a167fd4eab6b2072e75414f80f409a34eb8b6e1b830ed1be047ddd8f96f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/feature/contact_us/view/screens/contact_us_screen.dart:141-151 | lib/feature/home/view/screens/widgets_guide_screen.dart:238-248 | lib/feature/notifications/view/widgets/notification_diagnostics_card.dart:121-131 \u2014 before extracting anything, compare \u0060lib/feature/contact_us/view/screens/contact_us_screen.dart\u0060 and \u0060lib/feature/notifications/view/widgets/notification_diagnostics_card.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/contact_us/view/screens/contact_us_screen.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b76dfe6fe68ba0922d1df05e2ba6cd0d108148745c25d2620a960c37f97fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/feature/azkar/view/widgets/zekr_card.dart:305-315 | lib/feature/daily_zekr/view/widgets/daily_zekr_card.dart:220-229 \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":"lib/feature/azkar/view/widgets/zekr_card.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"870d90aed8388ca181f6f9d280fcf05527da98a5bb35c9f0e04e5070092eee1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/feature/quran/view/widgets/continue_reading_card.dart:36-46 | lib/feature/tasbih/view/widgets/tasbih_zekr_selector.dart:26-35 \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":"lib/feature/quran/view/widgets/continue_reading_card.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"83336602df7aad673421f99722a4009ccb2368a10e4efc2d87cc82af08fc1ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/feature/settings/logic/providers/azan_settings_provider.dart:55-65 | lib/feature/settings/logic/providers/azan_settings_provider.dart:70-80 \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":"lib/feature/settings/logic/providers/azan_settings_provider.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fce5fa429a6eafb55a0b95c63a72a1f1abce89c7ed853ecab1e75164bde8ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/feature/settings/view/screens/azan_settings_screen.dart:108-118 | lib/feature/settings/view/screens/azan_settings_screen.dart:162-172 \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":"lib/feature/settings/view/screens/azan_settings_screen.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2f78869fbfe1f4983b22fea19a84671775d545330d7e70db21925d3b49e65a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): lib/feature/home/view/widgets/feature_grid_card.dart:108-117 | lib/feature/home/view/widgets/feature_grid_card.dart:212-221 | lib/feature/home/view/widgets/feature_grid_card.dart:296-305 | lib/feature/home/view/widgets/feature_grid_card.dart:392-401 | lib/feature/home/view/widgets/feature_grid_card.dart:499-508 | lib/feature/home/view/widgets/next_prayer_card.dart:77-86 | lib/feature/home/view/widgets/quran_home_card.dart:36-45 \u2014 there are 7 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/home/view/widgets/feature_grid_card.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e23ddaaecf0c2d58db4939fd5e43b436a52f68b470fa81ba67272324e5eed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): lib/feature/home/view/widgets/feature_grid_card.dart:197-206 | lib/feature/home/view/widgets/feature_grid_card.dart:281-290 | lib/feature/home/view/widgets/feature_grid_card.dart:377-386 | lib/feature/home/view/widgets/feature_grid_card.dart:484-493 | lib/feature/settings/view/screens/azan_settings_screen.dart:107-116 | lib/feature/settings/view/screens/azan_settings_screen.dart:161-170 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/home/view/widgets/feature_grid_card.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabb0adbdf61e38572be4abf22f27ed5653ab37f8a89391b41c0428e44d958a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): lib/feature/azan/view/widgets/header_azan.dart:333-340 | lib/feature/prophet/view/widgets/prophet_header_banner.dart:41-50 \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":"lib/feature/azan/view/widgets/header_azan.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0991ff69bd2abdafce7de128da3e47b21629b9a916618b5c54c6295e08e09b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/feature/azkar/view/screens/azkar_category_screen.dart:101-111 | lib/feature/settings/view/screens/settings_screen.dart:62-71 \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":"lib/feature/azkar/view/screens/azkar_category_screen.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f29bbcef10335aa7a4bbb0e3f375ce44460407d986800ebc3da3d54ac71a926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/feature/home/view/widgets/next_prayer_card.dart:192-201 | lib/feature/radios/view/widgets/audio_artwork_card.dart:85-93 \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":"lib/feature/home/view/widgets/next_prayer_card.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"85012e89450cddc31c2a30f2ebf4a59650b449dca89e55171f15cbdd23400127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/feature/prophet/view/widgets/prophet_detail_widgets.dart:77-86 | lib/feature/prophet/view/widgets/prophet_detail_widgets.dart:143-152 \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":"lib/feature/prophet/view/widgets/prophet_detail_widgets.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bcbad5ee9a4a6fcbeec906c9d215bbfdd049121d2d546474d118c76d5af408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/feature/azkar/view/widgets/zekr_card.dart:81-89 | lib/feature/favorites/view/widgets/favorite_item_card.dart:42-50 | lib/feature/radios/view/widgets/radio_item.dart:44-52 \u2014 before extracting anything, compare \u0060lib/feature/favorites/view/widgets/favorite_item_card.dart\u0060 and \u0060lib/feature/radios/view/widgets/radio_item.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 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":"lib/feature/azkar/view/widgets/zekr_card.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb06abe9e43788bf32ad93943d98ac042bae170dd7d50b07da727f292c3f581"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/feature/azan/view/widgets/azan_sunan_card.dart:21-29 | lib/feature/daily_zekr/view/widgets/daily_zekr_card.dart:30-38 \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":"lib/feature/azan/view/widgets/azan_sunan_card.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f530320d2fd51518fee538633c2392a6a5ea631b6f2141db7931f98984beaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/feature/azan/view/widgets/azan_sunan_card.dart:23-31 | lib/feature/settings/view/screens/azan_settings_screen.dart:245-253 \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":"lib/feature/azan/view/widgets/azan_sunan_card.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab041174764d69ae98eb5c299e40caa2b7532b49137c608685f763ba6d2266dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/feature/notifications/logic/models/notification_settings_model.dart:98-107 | lib/feature/settings/logic/models/azan_sound_option.dart:73-81 \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":"lib/feature/notifications/logic/models/notification_settings_model.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8d22b4b8125055a456ae377e66bee5307798b9fa0900984f34cde19801558c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/feature/azan/view/widgets/azan_sunan_card.dart:23-30 | lib/feature/daily_zekr/view/widgets/daily_zekr_card.dart:32-39 | lib/feature/settings/view/screens/azan_settings_screen.dart:245-252 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/view/widgets/azan_sunan_card.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"474b5e0883ea551ae4cacba7a4d4f4ef4b6e5af6d71a3c16e4b82e86751a2871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/feature/notifications/view/screens/notifications_settings_screen.dart:97-104 | lib/feature/notifications/view/screens/notifications_settings_screen.dart:109-116 | lib/feature/notifications/view/screens/notifications_settings_screen.dart:121-128 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/notifications/view/screens/notifications_settings_screen.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b03d095d7415f06df5f276e915e56fe064856ec6ac9f63b67a339008edf80f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/feature/azan/view/widgets/azan_item.dart:107-114 | lib/feature/azan/view/widgets/header_azan.dart:55-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/view/widgets/azan_item.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc4c21d4f23532389f3a7524ffee392cbaf839c6b4f79dffe33462ddc823ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/feature/azan/view/widgets/azan_sunan_card.dart:214-221 | lib/feature/home/view/screens/widgets_guide_screen.dart:27-34 \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":"lib/feature/azan/view/widgets/azan_sunan_card.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e4a22599ffa0b8e411acabf4a5a608d94683e9a14475520f60ff5966d43e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/feature/notifications/logic/models/notification_settings_model.dart:141-145 | lib/feature/settings/logic/models/azan_sound_option.dart:109-113 \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":"lib/feature/notifications/logic/models/notification_settings_model.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e87ea3ba63c7bcf2a2844446ea40839b38fd75128fef4476a4626b504da1672"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/feature/nawawi/view/screens/nawawi_screen.dart:23-29 | lib/feature/radios/view/screens/radio_categories_screen.dart:23-29 \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":"lib/feature/nawawi/view/screens/nawawi_screen.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa62524d9ec03f5b480a14d34e38e549499bc3233cb64adb8cb7671608c1f48a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): android/app/src/main/kotlin/com/convey/ayah/mohamed/ayad/widget/DailyZekrAppWidgetProvider.kt:71-79 | android/app/src/main/kotlin/com/convey/ayah/mohamed/ayad/widget/PrayerAppWidgetProvider.kt:71-79 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060android/app/src/main/kotlin/com/convey/ayah/mohamed/ayad/widget/PrayerAppWidgetProvider.kt:66\u0060 calls \u0060setTextViewText\u0060 and \u0060android/app/src/main/kotlin/com/convey/ayah/mohamed/ayad/widget/DailyZekrAppWidgetProvider.kt:69\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/convey/ayah/mohamed/ayad/widget/DailyZekrAppWidgetProvider.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31f45b9479bbe5028dfd21deca1cf3594af63cf03cf0a24179b280defced71b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/core/services/notification_scheduler_service.dart: lib/core/services/notification_scheduler_service.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in NotificationSchedulerService._schedulePrayers at line 164. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 13:00:52 \u002B02:00\u0027 --until=\u00272026-11-02 13:00:52 \u002B02:00\u0027 --full-history --no-merges -- lib/core/services/notification_scheduler_service.dart\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":"lib/core/services/notification_scheduler_service.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0eb6b1be19e3f4f827a9296271b7cb0d465cd8813be36c7b361bd01fb13e933"}},{"ruleId":"D16","level":"note","message":{"text":"Small-team knowledge concentration: 19 file(s) are concentrated to one author \u2014 the ambient state with 2 active author(s), not 19 separate risks. The signal becomes meaningful as ownership spreads; no per-file action implied now."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8aa75b6daa18f1b578387fa04036c50b3163d47f957c8f5601bf083ed4489b0c"}},{"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":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 3 project(s) overshoot their size bounds, lowering Project Cohesion to 3.3/10. The most over is \u0060(repository root)\u0060 (21382 LoC, 275 module-visible types across 76 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 93 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; 93 of the 162 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: lib/core/network/remote_client.dart. 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":"lib/core/network/remote_client.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a472802ae16eb946a19756000a2b619cea732fe7ece23279d52a3abfd611c2a"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider nextPrayerProvider captures autoDispose nextPrayerTickerProvider: \u0060nextPrayerProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(nextPrayerTickerProvider\u2026)\u0060, which is declared auto-dispose (lib/feature/home/logic/providers/next_prayer_provider.dart:31). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060nextPrayerTickerProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060nextPrayerTickerProvider\u0060 keepAlive too, make \u0060nextPrayerProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/home/logic/providers/next_prayer_provider.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abfd9744c9dd1089bcbc26d0838dd32ecf9bb75eb1239c085dad89ad7da030e"}},{"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":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060locationData != null \u0026\u0026 locationData.latitude != null \u0026\u0026 locationData.longitude != null\u0060 appears character-identically in 2 files \u2014 lib/feature/azan/logic/repo/azan_repository.dart, lib/feature/qibla/logic/repo/qibla_repository.dart. 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":"lib/feature/azan/logic/repo/azan_repository.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d451da2a7a7e88e058964f4cf39045da134d9619d0b336864c2691e62ccafc2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060savedJson != null \u0026\u0026 savedJson.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/feature/azan/logic/repo/azan_repository.dart, lib/feature/habits/logic/repo/habits_repository.dart. 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":"lib/feature/azan/logic/repo/azan_repository.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"431eeec8ea9e6669acab9b2315698170e4a05eedcefa2b9b15b605fb2b8276e8"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a CancelToken: Only 4/5 functions that make a cancellable request (Dio, AbortableRequest) accept a CancelToken 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. Take a \u0060CancelToken? cancelToken\u0060 and hand it to the request as \u0060cancelToken:\u0060 (or hold one and cancel it in \u0060dispose\u0060); 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":"767a6f188a93a9fdcf866e430f9755aeab7ca6acdd21a1a80f8ac4ef4cc6cf7c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: ensureCached: \u0060ensureCached\u0060 calls \u0060_dio.download(\u2026)\u0060 but takes no CancelToken and hands the request none its caller can reach, so its caller cannot cancel the request once it has started. Take \u0060CancelToken? cancelToken\u0060 and pass it on as \u0060cancelToken: cancelToken\u0060 \u2014 or, in a widget\u0027s State or a notifier, hold one and cancel it in \u0060dispose\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/azan_audio_cache_service.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"39758d1a395e6d570ecf1a23e750dd7a14d6833c1e5a9425f96d322b23c46df1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/tasbih/logic/repo/tasbih_repository.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8078690c9399645ece5b0aa70d50da7ad783a55f9c4e14a1d466394b6134a2f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/tasbih/logic/repo/tasbih_repository.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a32c14f2fa70c8b731e0e20eb7b5fa776fbb76ca381aeeb9978e8fe78bc846f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/feature/tasbih/logic/repo/tasbih_repository.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3ba785bb78ff475a2793a903b745dffa4972bbd80afae8e0e338a04f2de731"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/tasbih/logic/repo/tasbih_repository.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3f9df055695d17e5fe63ea352b09badfae953aae30f4195d1aa70138cabcd2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/settings/logic/repo/azan_settings_repository.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbfd53dfc50750d5cbe0922993b0ea74017668034e24ff01a8fe3dc99ea5152"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/settings/logic/providers/azan_settings_provider.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7250e3c5da7c7979a732de8b4ec2f29acf9183b3e24bf8b4cbab1d0c88eb11"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/settings/logic/providers/azan_settings_provider.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"022a24baf0c20fb592377843f2a2f05f843011f14142205912922525eac9c01a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/settings/logic/providers/azan_settings_provider.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7b97a35f67ef93c91e33244f150303ffe596e825514d64f4e47f524c3ce463"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/settings/logic/providers/azan_settings_provider.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a249b53ac5e38fe9fce9414fc543d13ddea8ae0a78f3b97e91b4dbe4551f18a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/settings/logic/providers/azan_settings_provider.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"938ed51a5a1c86f36698c4c56cf2ed8ea0005572f6ff38c727f871415e069f10"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/settings/logic/providers/azan_settings_provider.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd6278acc619ceadc3cd546ae1650d819a9897f9c9f5212bb2e0ba2056c5fc0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/settings/logic/providers/azan_settings_provider.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efb72c0153e0752bfa4bd1215f4f337aed215c6b53c0fe5db531879b14f6c6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/feature/settings/logic/providers/azan_settings_provider.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"797ad0bbc10dbc1629a0f91909eed33f8eddd06e633041fdf1c2e5e6a1f05cce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/feature/quran/logic/repo/quran_repository.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"908e263f683863daab008ee62b3213f2ebdf120faf575fe5140d6f74f6bc1366"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/feature/quran/logic/repo/quran_repository.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ef83a7cafead12b3550c6053450707ed661c59b59715c922d26fd374432945"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/quran/logic/repo/quran_repository.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"83563d7ea18d3e43303536fe22f5adc95d364f3ca9de797d4e8be99163af186d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/feature/quran/logic/repo/quran_repository.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"65014dd65ad36b9716d710503c1efa031b1158a52cdeec778a61817ef7646de6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/quran/logic/repo/quran_repository.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e450dcd91a8f822e7bd826913b29c5f4b9edf09a50697ef537e5a308eae41036"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/qibla/logic/repo/qibla_repository.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"54843e98a7c33fc2743fbff6a74ff275e4e676764faba53b91a4a5d5d71e1ec2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/qibla/logic/repo/qibla_repository.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"769c7b2f8a63010d4616e7b34e2c6f927b14e94f65f213ebf6240fcff1fe6c42"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/feature/prophet/logic/repo/prophet_repository.dart"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"42034e91595359357ac090a79801b4715f8ac4b03c91aa4500d61a804fbda6f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/feature/home/logic/providers/next_prayer_provider.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37ead98b6323eb23e6642dbc41f40cb4e57a68624107374e932c68a0d272ac2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/feature/home/logic/providers/next_prayer_provider.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"791380f96fa3702e7224b332df911ceaceee7223c80274c1868507b925cf216a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/feature/favorites/logic/repo/favorites_repository.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acd068681d901e6f19bc3d1179ab4d6fbccd338b6f667bf42c236470d3c1723"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/feature/azan/view/widgets/azan_item.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbf571e03ffe173fec3b892642845b212cb357ede8cd370f0463d6bc5151541"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/view/widgets/azan_item.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcf93f03107719168f45d80b80e8b337c13909bd0f30d5f27fb0fe57ea62113"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/feature/azan/view/widgets/azan_sunan_card.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"92dba847830ad10eaf969593bed58ae46aa8654ef93d31964332b5bf358bfd66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/view/widgets/azan_sunan_card.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4495dd8a361569b149691f0bccadcfcacc8900ae0b0d8e180ccfda2ecd4ae495"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/feature/azan/view/widgets/header_azan.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a920731887486fe6e51fb960fbc84d650520424c51f14a1c94a4267a8c71d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/view/widgets/header_azan.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"674ce00b2a56cfa0c521f84d35ce597349b3edbb71f95e704d9e3f391107dcaa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/logic/repo/azan_repository.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e355e2afb23bf749ce907bcf023505d1304d660813714754cacffbb3c7c725e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/logic/repo/azan_repository.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5491e3af452a7d1ca9740feac6ce68cc2a2acd5fea9f91de4a40e10b5b1cf6f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/logic/repo/azan_repository.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd404625d3af0b60d9ef0c02a3ddcfa6eb11a3cc7254e31c215edc5601406ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/logic/repo/azan_repository.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb13b179804b0daf3aca8b6bf241a2461690a290357438cdee6fc58ea37ec196"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/azan/logic/providers/azan_provider.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7dcf6864e0b16bf453bc4fae2e8614a20c847a8f5f988e22f5615053179ec0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/theme/theme_provider.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f82e9525cd2d8f792c42f9edb1baa2e88d6181645a2120ed3175de5261abd32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/theme/theme_provider.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fc9ea472152b9b91641b0c414fd454484aa718e2189a39215d0ffec7ca5fd7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/flip_to_mute_service.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"796245015ac5bf9c42dcd99038c620169aec0de5bf7b71503345bc39a9f01281"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/flip_to_mute_service.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"047426118364fc1ed868528e0ede1bf9f0612167cba58a6153cb2b5ff2aa9e37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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":"lib/core/services/home_widget_sync_service.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cbc426da83664fbff3615ede93ad02433d45d434854e0cc6e808ab01c80290"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/notification_scheduler_service.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec408004268ceda6990d86f9a13ead1bb71f1def4f4c86ef1c3af9b7a64aff1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getSyncedWidgetData\u0060 turns every thrown error into \u0060{}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. 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 at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/home_widget_sync_service.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3372360819a0302866eda0fddd86ead76c3d1b69e450d97f8d3fbf582d65cc3c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getFavorites\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. 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 at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/favorites/logic/repo/favorites_repository.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"617c6e62fbca958c79137309a3c67b67ff5ea7ffb066a82cb67beb783f08476b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getFontSize\u0060 turns every thrown error into \u006024.0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. 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 at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/quran/logic/repo/quran_repository.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d081bd67bde46766635b3e17fd0361f8c6c8e799634fc3d3d60052070368417"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getActiveIndex\u0060 turns every thrown error into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. 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 at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/feature/tasbih/logic/repo/tasbih_repository.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"47eabba575039e44a39464158d5572b01635c2e119bf929c204049bb7a8a9404"}}],"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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.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":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}