{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM7","name":"Repository granularity","shortDescription":{"text":"Repository granularity"},"helpUri":"https://codehealth.canine.dev/dimensions/DM7"},{"id":"DM8","name":"Value-object opportunities","shortDescription":{"text":"Value-object opportunities"},"helpUri":"https://codehealth.canine.dev/dimensions/DM8"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"SettingsPageKt.BuildEditTexts (cyclomatic 31): SettingsPageKt.BuildEditTexts has cyclomatic complexity 31 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f48e857c15d8a1d3ebaa9670ed5c01b7ca5b095b1f6146852dcd7b3d6473fb"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimateAsStateAnimationsKt.DrawLayerWithAnimateAsStateAnimations (cyclomatic 28): AnimateAsStateAnimationsKt.DrawLayerWithAnimateAsStateAnimations has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/animation/AnimateAsStateAnimations.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9be1446763560b55ebf133782b66638e1c52351fe40e06116dbd6dcc169bf6"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimateAsStateAnimationsKt.DrawLayerWithAnimateAsStateAnimations (cognitive 27): AnimateAsStateAnimationsKt.DrawLayerWithAnimateAsStateAnimations has cognitive complexity 27 (threshold 15). Drivers by points: if/else 27. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/animation/AnimateAsStateAnimations.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb05f0dc970c4bcff33ef699f0e4e70d02c962a44d7c0289874244677de46280"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsPageKt.BuildEditTexts: MethodTooLong \u2014 BuildEditTexts runs 283 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 183 over it, 2.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a09264f2025c72507f4061197315b6dd8ccda497f6edc8ba75ff28a55fb4c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LoginScreenKt.LoginScreen: MethodTooLong \u2014 LoginScreen runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"templates/login/src/main/java/com/guru/composecookbook/login/LoginScreen.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7efafb388f3fbaa86d415406b7f82fc1708b6301c6e69c829ba5b3d561b34a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentCardKt.PaymentCard: MethodTooLong \u2014 PaymentCard runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"templates/paymentcard/src/main/java/com/guru/composecookbook/paymentcard/PaymentCard.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ca42d0ba22c6a041c5f7d623f26ad2300b9f414ef76da058a5abc9e8242fad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TimerViewAnimationKt.TimerViewAnimation: MethodTooLong \u2014 TimerViewAnimation runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/timer/TimerViewAnimation.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f512e1530ee2f9aa527c9e80eafcd782b026da85b94a27ea1671fff6dbc18694"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnimateAsStateAnimationsKt.DrawLayerWithAnimateAsStateAnimations: MethodTooLong \u2014 DrawLayerWithAnimateAsStateAnimations runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/animation/AnimateAsStateAnimations.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd7ee0027f5dc2bcb7076b947c75b3f6a5a85587d12a40770b1a45afd4c78b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (94 shared lines): app/src/main/java/com/guru/composecookbook/MainActivity.kt:203-304 | app/src/main/java/com/guru/composecookbook/MainActivity.kt:310-411 \u2014 These two members are variants of one another: 94 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/MainActivity.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab7b7f591d9182a0ca981604daea78b72143f51611eb12eed45ad6181d27259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/ui/home/tabslayout/TabLayout.kt:141-171 | app/src/main/java/com/guru/composecookbook/ui/learnwidgets/Chips.kt:66-96 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/tabslayout/TabLayout.kt:141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/tabslayout/TabLayout.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"89624ec2fa9cc3f6ceb04c66e9ec4f320f697a05f4998b7c02a00f54cea0b19a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/MainActivity.kt:284-304 | app/src/main/java/com/guru/composecookbook/MainActivity.kt:391-411 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/MainActivity.kt:284\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/MainActivity.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae94a88801519758570def65efbe01fd468b4aec1d1f43c7c386357a8cbc9f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/MainActivity.kt:207-225 | app/src/main/java/com/guru/composecookbook/MainActivity.kt:314-332 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/MainActivity.kt:207\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/MainActivity.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d15634fc04cfaeddd566d00b928033c17b50b6b8c1dceac63d5188483a5c809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/MainActivity.kt:227-245 | app/src/main/java/com/guru/composecookbook/MainActivity.kt:334-352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/MainActivity.kt:227\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/MainActivity.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc559d2508b08e6accbc8c6fac8ef1737cbee0db0ce6bb35c9811d0ee365370f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/MainActivity.kt:264-282 | app/src/main/java/com/guru/composecookbook/MainActivity.kt:371-389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/MainActivity.kt:264\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/MainActivity.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c22da62cce9914e180c6f1001827fe9ca4178f4106e4b18af17002e80de3d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/MainActivity.kt:247-262 | app/src/main/java/com/guru/composecookbook/MainActivity.kt:354-369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/MainActivity.kt:247\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/MainActivity.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"737e7c3721df1b0252706904e47781e14e80d1b289816fbedc787650dab2d5f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/ui/home/dialogs/BottomSheetLayouts.kt:161-173 | demos/spotify/src/main/java/com/guru/composecookbook/spotify/ui/home/components/PlayerBottomBar.kt:45-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/dialogs/BottomSheetLayouts.kt:161\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Icon\u0060 names \u0060androidx.compose.material.Icon\u0060 in one and \u0060androidx.compose.material3.Icon\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/dialogs/BottomSheetLayouts.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39a85a22b248c38f44ce0c5eb206f11145ea9410edf8d3b009486161017f708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/ui/home/customfling/VerticalFlingerListItem.kt:31-43 | app/src/main/java/com/guru/composecookbook/ui/home/lists/VerticalListItem.kt:36-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/customfling/VerticalFlingerListItem.kt:31\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/customfling/VerticalFlingerListItem.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6162d23bcec8acbb0176b2fe57bb5a8adf29ec9271e28e54fd4000ff3687a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:91-102 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:536-547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:90\u0060 calls \u0060DrawApplyButton\u0060 and \u0060app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:534\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdd8851428724b23325e292799c89bc8aba4b6e977e9cfe9cdf8e319afa184e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:191-200 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:225-234 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:260-269 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:297-306 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:331-340 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:366-375 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:403-412 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:437-446 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:472-481 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:509-518 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:191\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b858cdfb5c64f6c6271a762704096b1385f5b75ae4b0044cbebc9cdd0df027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/ui/home/dialogs/BottomSheetLayouts.kt:150-159 | demos/spotify/src/main/java/com/guru/composecookbook/spotify/ui/home/components/PlayerBottomBar.kt:34-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/dialogs/BottomSheetLayouts.kt:150\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.guru.composecookbook.data.R\u0060 in one and \u0060com.guru.composecookbook.theme.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/dialogs/BottomSheetLayouts.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b08e74ee3104419ff0ad7269df9a2018858b83ca056fed382fd4e0a404b5a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 4): app/src/main/java/com/guru/composecookbook/ui/home/timer/TimerDemo.kt:73-81 | app/src/main/java/com/guru/composecookbook/ui/home/timer/TimerDemo.kt:83-91 | app/src/main/java/com/guru/composecookbook/ui/home/timer/TimerDemo.kt:93-101 | app/src/main/java/com/guru/composecookbook/ui/home/timer/TimerDemo.kt:102-108 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/timer/TimerDemo.kt:73\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/timer/TimerDemo.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"96369d2046ba57a47316fa41d0aee768abb2f8e6a0d74a2e70b9f4927c9e04d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/ui/home/advancelists/AnimatedLists.kt:101-109 | app/src/main/java/com/guru/composecookbook/ui/home/advancelists/AnimatedLists.kt:115-123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/advancelists/AnimatedLists.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"820eb548b58d6c35c8907d273ff28e818be2adc215957d153397f77dbccd9fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/ui/home/dialogs/DialogsActivity.kt:217-224 | app/src/main/java/com/guru/composecookbook/ui/home/dialogs/DialogsActivity.kt:238-245 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/dialogs/DialogsActivity.kt:217\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/dialogs/DialogsActivity.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f448f23768c35128bb36e94c4e27245a092b24e3f893dab527dc9c24e4039fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): templates/profile/src/main/java/com/guru/composecookbook/profile/BottomScrollingContent.kt:24-29 | templates/profile/src/main/java/com/guru/composecookbook/profile/BottomScrollingContent.kt:38-43 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/profile/src/main/java/com/guru/composecookbook/profile/BottomScrollingContent.kt:24\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/profile/src/main/java/com/guru/composecookbook/profile/BottomScrollingContent.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"14166b898f47b7ca9089b0691ef6e125f7cabb3138a65f3934d72e75bc28fef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/ui/learnwidgets/TextInputs.kt:61-66 | app/src/main/java/com/guru/composecookbook/ui/learnwidgets/TextInputs.kt:71-76 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/learnwidgets/TextInputs.kt:61\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/learnwidgets/TextInputs.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c4cbc57ae7cf381aa57f02f6f2a9386dc77d9a7e5ab85e8d93bd03b1c60c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/ui/home/customfling/ListItemDivider.kt:12-17 | app/src/main/java/com/guru/composecookbook/ui/home/lists/ListViewActivity.kt:186-191 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/customfling/ListItemDivider.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2471aac8c4ab3e8015606ccc9bbee634c808bc4564f116475b951b0b650c75b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:282-291 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:388-397 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:494-503 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:282\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0303e64e4bd18cec55fdc346dbfe2ffb73662c78e3b601b0a29069baebd5e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:214-222 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:248-257 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:320-328 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:354-363 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:426-434 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:460-469 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:214\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfa87029917cf13f008be439d00c0ce4ffc9b4411b7caa17a36237c40f977e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/ui/home/motionlayout/MotionLayoutDemo.kt:171-178 | app/src/main/java/com/guru/composecookbook/ui/home/motionlayout/MotionLayoutDemo.kt:181-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/motionlayout/MotionLayoutDemo.kt:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/motionlayout/MotionLayoutDemo.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb9b09c5eb2b8046f5b36ddfd273ca8cd25cf41b58243a38a038e684c266966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/guru/composecookbook/ui/home/dialogs/BottomSheetLayouts.kt:122-129 | app/src/main/java/com/guru/composecookbook/ui/home/dialogs/BottomSheetLayouts.kt:130-137 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/dialogs/BottomSheetLayouts.kt:122\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/dialogs/BottomSheetLayouts.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d301ee6ebdc12ed881aeb0df1c8571024d2c5930f549d60b2441375398efda0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:181-188 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:288-294 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:394-400 | app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:500-506 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt:181\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/customfling/SettingsPage.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa96a3268d3cda544b3d0e72902846cb59b8f19815faf3ccf26472aeb02c0f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt:14-23 | demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt:26-35 | demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt:38-47 | demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt:50-59 | demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt:62-71 \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":"demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e1ecb5ac79d8df46e332e49957502bf0ba762faab8700ea3a2962aeabe41fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): demos/moviesapp/app/src/main/java/com/guru/composecookbook/moviesapp/ui/details/components/MovieDetailContent.kt:103-112 | demos/moviesapp/app/src/main/java/com/guru/composecookbook/moviesapp/ui/home/components/MoviePagerItem.kt:127-138 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demos/moviesapp/app/src/main/java/com/guru/composecookbook/moviesapp/ui/home/components/MoviePagerItem.kt:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/moviesapp/app/src/main/java/com/guru/composecookbook/moviesapp/ui/details/components/MovieDetailContent.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"726ad361d212e874cb25c262cf804b8d8b4f813d5713fca517642e0a21acc3c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): demos/gmail/src/main/java/com/guru/composecookbook/gmail/ui/create/CreateMessageBody.kt:30-38 | demos/gmail/src/main/java/com/guru/composecookbook/gmail/ui/create/CreateMessageBody.kt:46-55 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demos/gmail/src/main/java/com/guru/composecookbook/gmail/ui/create/CreateMessageBody.kt:30\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060demos/gmail/src/main/java/com/guru/composecookbook/gmail/ui/create/CreateMessageBody.kt:40\u0060 calls \u0060Text\u0060, \u0060padding\u0060, \u0060align\u0060 and \u0060demos/gmail/src/main/java/com/guru/composecookbook/gmail/ui/create/CreateMessageBody.kt:56\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/gmail/src/main/java/com/guru/composecookbook/gmail/ui/create/CreateMessageBody.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"376686956994ecaeb482fe60856121bd5bb26b9fdbaea4be74a8786912868a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): demos/gmail/src/main/java/com/guru/composecookbook/gmail/ui/create/CreateMessageScreen.kt:28-37 | demos/gmail/src/main/java/com/guru/composecookbook/gmail/ui/details/MessageDetailScreen.kt:28-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demos/gmail/src/main/java/com/guru/composecookbook/gmail/ui/create/CreateMessageScreen.kt:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/gmail/src/main/java/com/guru/composecookbook/gmail/ui/create/CreateMessageScreen.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"899eaf6597999d2ccce64ca021a23fbd0f12eb064d58eb5b156b7a5a309f9af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt:16-23 | demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt:28-35 | demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt:40-47 | demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt:52-59 | demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt:64-71 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/repositories/MoviesLaneRepositoryImpl.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cce72514664380bf357d35cbef95d455b95738f4f695c19b879cd259ac72eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): demos/cryptoapp/data/src/main/java/com/guru/composecookbook/cryptoapp/data/db/ListTypeConverter.kt:26-37 | demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/db/ListTypeConverter.kt:26-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/cryptoapp/data/src/main/java/com/guru/composecookbook/cryptoapp/data/db/ListTypeConverter.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb3f7e5a33a66b3a9d3aee3e79f12036db2dc75c449f28ce610dbfe09f70b61"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/guru/composecookbook/ui/home/HomeScreen.kt: app/src/main/java/com/guru/composecookbook/ui/home/HomeScreen.kt changed 5 times in last 90 days, max cyclomatic complexity 20 in HomeScreenKt.homeItemClicked at line 255. 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-06-18..2026-09-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-18 00:25:16 \u002B02:00\u0027 --until=\u00272026-09-16 00:25:16 \u002B02:00\u0027 --full-history --no-merges -- app/src/main/java/com/guru/composecookbook/ui/home/HomeScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/HomeScreen.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e39a43d1f46fc66c0f3fffe450702014cc5862f72dabc1e69c437ae6fd701e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 22 significant file(s) lose their only recent owner: demos/gmail/src/main/java/com/guru/composecookbook/gmail/ui/home/GmailHome.kt, app/src/main/java/com/guru/composecookbook/ui/home/HomeScreen.kt, app/src/main/java/com/guru/composecookbook/ui/home/dialogs/DialogsActivity.kt, data/src/main/java/com/guru/composecookbook/data/DemoDataProvider.kt, demos/cryptoapp/app/src/main/java/com/guru/composecookbook/cryptoapp/ui/detail/components/CryptoDetailScreen.kt, demos/cryptoapp/app/src/main/java/com/guru/composecookbook/cryptoapp/ui/composewear/AndroidWearActivity.kt, demos/cryptoapp/app/src/main/java/com/guru/composecookbook/cryptoapp/ui/home/components/CryptoHomeScreen.kt, app/src/main/java/com/guru/composecookbook/ui/learnwidgets/AppBars.kt (\u002B14 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a95ad34ee7cfc9cf345580ce6ab44ab4dd0014d10d6a591570f8ae5bb6f2bcd3"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (24 single-owned of 129 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 129 of the 370 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO somehow not animating so investigate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/animation/AnimateAsStateAnimations.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffcc22a22cfa3fbe4ff6fc86bf40966e4018f532aedf3aec86c009fd4609e27"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO pass theme to following screens \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/HomeScreen.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"3903be600bc5edabd93ecc91f9673af17d3ce75379d83f59cb1519f90fbe6db3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix animation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/advancelists/LoadingShimmerList.kt"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"653e442b756b9faccd8d68c00716cc246fbc974c76e5c621f77c2ba3e4033aee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: NO IN-BUILT GRID VIEW NOT AVAILABLE YET USING ROWS FOR NOW \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/lists/ListViewActivity.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9690e4a57fd1a4ed1b6653db5a0a5bdc00705089ec8b3f63d16e0d29cad31b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Explore CoreTextField \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/learnwidgets/TextInputs.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2990a32ea3fed17ea503673a0559b8f65a26b32796ed9f937bde66892cd42cc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: current this centers each page. We should investigate reading \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/carousel/src/main/java/com/guru/composecookbook/carousel/Pager.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8feecdba4b66157482cd597635322d40369aa9bec607b0d683376ea92b8676a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO dynamic gradient from poster via coil right now It\u0027s just getting from local images \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/moviesapp/app/src/main/java/com/guru/composecookbook/moviesapp/ui/home/components/MoviesHomeScreen.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a104239ed91526029ba4b68c93722fcdeb4c6a867f9b2acefc63fa99968149"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO create new model for TV showsq \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/moviesapp/app/src/main/java/com/guru/composecookbook/moviesapp/ui/trending/TrendingViewModel.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffb21dd5521322f60b3c5fd673ba67adfdfd2aee6900e07c3c4aada2a0ac206"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/tiktok/src/main/java/com/guru/composecookbook/tiktok/TiktokActivity.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6cdcbc3c2f18e276ac3803571208fc23218af079c9c761da3d875b9525148c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix drag obervers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"theme/src/main/java/com/guru/composecookbook/theme/modifiers/ModifierExtentions.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab4de318a1edcad074ee9da4e6a85446a5e4af1761faf4d076dfe843bbbf17b"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: The README links to a sample app badge (https://github.com/Gurupreet/ComposeCookBook/releases/download/latest-master/app-debug.apk) but no build, setup, or dependency instructions for the project. Add an Install section covering how to clone the repo and add the Compose BOM version."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: Setup is present (git clone, Api key) but there are no usage examples showing how Betty runs or what it displays. Add a short Usage section demonstrating the main screen and swipe-down refresh."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/betty/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba15275a77b52bce890f015590336832ccf2893cfe8d42f2fb348c20f1ed091f"}},{"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":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0730847df21c4986f9f73fdb9c63aba20163225c65e36f0b63516b29224c25dc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9b044d37dfcf12aa1d6837f3f19217865cbbc6e406bef8fc3c1253dd7ef0441"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ba3b2a2eb26dafaa046d7bf6e1152ac7edca63ef61864f4e12c2f3a645ddc15"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77e453cb0ed9de49996ab2c42cad20e3a843af1ff07395edbde1a3aac2d17f26"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64d9bcfbd48cda5098917f7ccc300eef86eb2237a8aaafc3f5f2cd72db283567"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc7132d15236d2aac05f28b153386d63e7836c2311539211ea335172b737d93b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9a27dd32ebb4b7dab352ad6cfa60b8b36a67496950ad5703445bd886c6656db"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2bf4b47e90971b9ac97cd71b9a6d54cd2336657e89103ccb888979281f1bcd4d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ddc49ef52c93f5d89390c80bf8f0444bb97743496eeea781d1b7fcf904a3ea48"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7e67286c3ac9bf8ce0e14b33e97832e7e17f704c68a703429f6a346d2c6115f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"565cb0a25235d1502010c8d34a025c6ae5aeb826c7d5e305b97bb45399050c67"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdd80ff4efa055538dc59aafc5e380459b7d05030fbc7ee936f19fa678b3e896"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c8002a3596d0e5f316ab642cabe7480711efc35377cdb1403f234b263ee5094"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1405ebdf757fe88ddce87f49664ba83d5d1692e9ab17e95884815b1eb8810ecf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e955dd6a700228302402bec099a0c38ddac59f679142df1a45ba0070b2a6d91"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3da0ac29c51eb4c97825431fba929cb163f1b2ca71dc0bdcca574df447813966"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8b7c21505d0dfce59e03bfde35252da1f893ba2d1214245a8e80fbdb6addee1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7111355cef58a101312038e9227eb87516c4f0fa772ab4780e7f56430506a9c7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"27972a16dda67622d444d9660fa1e86270f320f0646cb78ceb5751ad10e4e7ac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41c2a7600c9a3135ee6c8852ca8ebf8717c0bf129b4661c84d6eca1f18d19fd1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d04240aa8b7aa13e9d400f08347281df89883cc5e99fa13ecd691e8df611b249"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DialogsActivity.kt \u2194 ListViewActivity.kt: \u0060app/src/main/java/com/guru/composecookbook/ui/home/dialogs/DialogsActivity.kt\u0060 and \u0060app/src/main/java/com/guru/composecookbook/ui/home/lists/ListViewActivity.kt\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00602361effe\u0060 feat: adopt the Compose BOM (2024.12.01) for unified version management; \u0060c5cd0e37\u0060 feat: adopt the Compose BOM (2024.12.01) for unified version management; \u0060eba28369\u0060 feat: adopt the Compose BOM (2024.12.01) for unified version management \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/dialogs/DialogsActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2fd1b0bad13629d1273f6fa8cac0abcd4e509e4218089010ad5b83716ad8f7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AdvanceListsActivity.kt \u2194 DialogsActivity.kt: \u0060app/src/main/java/com/guru/composecookbook/ui/home/advancelists/AdvanceListsActivity.kt\u0060 and \u0060app/src/main/java/com/guru/composecookbook/ui/home/dialogs/DialogsActivity.kt\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00602361effe\u0060 feat: adopt the Compose BOM (2024.12.01) for unified version management; \u0060c5cd0e37\u0060 feat: adopt the Compose BOM (2024.12.01) for unified version management; \u0060eba28369\u0060 feat: adopt the Compose BOM (2024.12.01) for unified version management \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/guru/composecookbook/ui/home/advancelists/AdvanceListsActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8cd716f34a2eb364b3edf26fa95974c73ee9a319455ae02161d700572f3314"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Crypto: \u0060Crypto\u0060\u0027s public constructor takes \u0060symbol\u0060, \u0060price\u0060, \u0060name\u0060, \u0060image\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060 or \u0060Requires.\u0060 \u2014 a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type\u0027s OWN static members were read, and only names beginning \u0060Create\u0060, \u0060Of\u0060, \u0060From\u0060, \u0060New\u0060 or \u0060Build\u0060 \u2014 one inherited from a base type, one on a companion builder, or one called \u0060Parse\u0060, \u0060Make\u0060 or \u0060Rehydrate\u0060 is not seen. If either exists, this row is wrong. If neither does, a caller can build a \u0060Crypto\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/cryptoapp/data/src/main/java/com/guru/composecookbook/cryptoapp/data/db/models/Crypto.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"11174d8653dbc6725c7d06b8d467934604046d00baeed821d62f06fe7ea266ba"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Genre: \u0060Genre\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060 or \u0060Requires.\u0060 \u2014 a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type\u0027s OWN static members were read, and only names beginning \u0060Create\u0060, \u0060Of\u0060, \u0060From\u0060, \u0060New\u0060 or \u0060Build\u0060 \u2014 one inherited from a base type, one on a companion builder, or one called \u0060Parse\u0060, \u0060Make\u0060 or \u0060Rehydrate\u0060 is not seen. If either exists, this row is wrong. If neither does, a caller can build a \u0060Genre\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/db/models/Genre.kt"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd595cb93700e38a75f63229c9e06dc1a7b4559b0f08d5737aadac06d8a3ccc0"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Movie: \u0060Movie\u0060\u0027s public constructor takes \u0060title\u0060, \u0060name\u0060, \u0060poster_path\u0060, \u0060backdrop_path\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060 or \u0060Requires.\u0060 \u2014 a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type\u0027s OWN static members were read, and only names beginning \u0060Create\u0060, \u0060Of\u0060, \u0060From\u0060, \u0060New\u0060 or \u0060Build\u0060 \u2014 one inherited from a base type, one on a companion builder, or one called \u0060Parse\u0060, \u0060Make\u0060 or \u0060Rehydrate\u0060 is not seen. If either exists, this row is wrong. If neither does, a caller can build a \u0060Movie\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/db/models/Movie.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff769a3667f806dee14d33c2cb306531c6549807395a3299d7fb2af330ae416"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Odd: \u0060Odd\u0060\u0027s public constructor takes \u0060sportKey\u0060, \u0060sportName\u0060, \u0060commenceTime\u0060, \u0060bookmakerKey\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060 or \u0060Requires.\u0060 \u2014 a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type\u0027s OWN static members were read, and only names beginning \u0060Create\u0060, \u0060Of\u0060, \u0060From\u0060, \u0060New\u0060 or \u0060Build\u0060 \u2014 one inherited from a base type, one on a companion builder, or one called \u0060Parse\u0060, \u0060Make\u0060 or \u0060Rehydrate\u0060 is not seen. If either exists, this row is wrong. If neither does, a caller can build a \u0060Odd\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/betty/app/src/main/java/com/adwi/betty/data/local/entity/Odd.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e3d26caf3a4d282085ae06722200580eee635e6d441544d7608f597a395ba2"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Odd.sportKey: \u0060Odd.sportKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/betty/app/src/main/java/com/adwi/betty/data/local/entity/Odd.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5822dd249e62bffc2f0b112cc2d1f63323f6b346e91df6a1ae5cca0d29fb10"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Odd.bookmakerKey: \u0060Odd.bookmakerKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/betty/app/src/main/java/com/adwi/betty/data/local/entity/Odd.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"79992fa1c302280c97f531457cedc71ada9f99725a932d9e2ed8172b039a8f02"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Odd.marketId: \u0060Odd.marketId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/betty/app/src/main/java/com/adwi/betty/data/local/entity/Odd.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ed313230e6aa712f94f426e0150276f749a63881b9ec4559c08daa7a6ece82"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Crypto: \u0060Crypto\u0060 is an aggregate/entity with 12 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/cryptoapp/data/src/main/java/com/guru/composecookbook/cryptoapp/data/db/models/Crypto.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef90a0db0e753b92eccd37836241285316f0eb96413ca20fae8fb93e17e907d"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Genre: \u0060Genre\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/db/models/Genre.kt"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0880b225e4d18689ec2f6333936816aa0d1c100426c390e67527dcb9852812cf"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Movie: \u0060Movie\u0060 is an aggregate/entity with 18 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/db/models/Movie.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e42406c7acba232edccaa812afbfec555ff312a7454bd0c701c0f50d34d74a"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Odd: \u0060Odd\u0060 is an aggregate/entity with 15 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/betty/app/src/main/java/com/adwi/betty/data/local/entity/Odd.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b01184d524e69edcf1fb8383fe23b470405fc3caa4e649990fa17304b9f8749"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: Movie: \u0060Movie\u0060 exposes publicly writable state (title, tagline, addedTime, dominantRgb)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demos/moviesapp/data/src/main/java/com/guru/composecookbook/moviesapp/data/db/models/Movie.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf17daec749a858c9af12cbcdcac74594206669e5467c671e02f0045070db68"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"CWE-552","shortDescription":{"text":"CWE-552"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":26,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}