{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"StackViewWithCustomPredictiveBackKt.StackViewWithCustomPredictiveBack (cyclomatic 20): StackViewWithCustomPredictiveBackKt.StackViewWithCustomPredictiveBack has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82a44bffaa9130c3b350ba27538c419702653a5907e3f8848156d74875470f7"}},{"ruleId":"D2","level":"warning","message":{"text":"StackViewWithCustomPredictiveBackKt.StackViewWithCustomPredictiveBack (cognitive 48): StackViewWithCustomPredictiveBackKt.StackViewWithCustomPredictiveBack has cognitive complexity 48 (threshold 15). Drivers by points: if/else 41, loops 5, match/switch 2 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f995989803dac574fdc4943629166cf1ed9eaa04a74c8248973fff70b602a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/home/HomeTopBarViewModel.kt:90-113 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/settings/SettingsTopBarViewModel.kt:87-110 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/topbar/Demo3PageTopBarViewModel.kt:91-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/home/HomeTopBarViewModel.kt:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/home/HomeTopBarViewModel.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4f48b4f0765ec86500d2b8924462023df6a692a3dce563d32fdf7cf03fb933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:273-296 | component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithDefaultAnimations.kt:57-80 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:273\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":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a8b4aad91b3a0ee5a8d858faa8fe98e65cc74d97b1e8d31cc152cde0781495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:85-106 | component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:147-168 \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 \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:85\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":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4ed93dcf440d0b2196bb8a7e0baa7eea8df5dab2013634fd27266da7260a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): component-toolkit/src/androidMain/kotlin/com/macaosoftware/component/AndroidComponentRender.kt:41-60 | component-toolkit/src/iosMain/kotlin/com/macaosoftware/component/IosComponentRender.kt:21-40 | component-toolkit/src/jsMain/kotlin/com/macaosoftware/component/BrowserComponentRender.kt:19-38 | component-toolkit/src/jvmMain/kotlin/com/macaosoftware/component/DesktopComponentRender.kt:22-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060component-toolkit/src/androidMain/kotlin/com/macaosoftware/component/AndroidComponentRender.kt:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/androidMain/kotlin/com/macaosoftware/component/AndroidComponentRender.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"121e45aeba512afd4b1b39bceaff05e2c771bc7251f825eba909e1498c987799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/pager/PagerDemoViewModel.kt:63-81 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/pager/PagerDemoViewModel.kt:109-127 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/pager/PagerDemoViewModel.kt:63\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":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/pager/PagerDemoViewModel.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"15536c880303c6c4000c135e07e050bdf37e155b1efe3fb133e6c00d88eb2e27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): composeApp/src/jsMain/kotlin/com/macaosoftware/component/demo/JsPluginManagerInitializer.kt:14-31 | composeApp/src/wasmJsMain/kotlin/com/macaosoftware/component/demo/WasmPluginManagerInitializer.kt:14-31 \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 \u0060composeApp/src/jsMain/kotlin/com/macaosoftware/component/demo/JsPluginManagerInitializer.kt:14\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/jsMain/kotlin/com/macaosoftware/component/demo/JsPluginManagerInitializer.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7ceb7bd2da3b9747908caaf2e41756ed38bac10bfe9a51b2d98c97dac5f609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/bottomnavigation/BottomNavigationDemoViewModel.kt:55-71 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt:91-107 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/panel/PanelDemoViewModel.kt:87-103 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/bottomnavigation/BottomNavigationDemoViewModel.kt:55\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":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/bottomnavigation/BottomNavigationDemoViewModel.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"629e4c6a06add9df3c23a4dafb5ab53cdc2cd563548c30db40dd0bdd4e700d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:63-78 | component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:124-140 \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 \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:63\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":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa70ef5ef1135c1e86df51250a2d0ce6ef3845f9540bfc71bdd0965df4bee90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt:47-62 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/panel/PanelDemoViewModel.kt:43-58 \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 \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faf807fed2abe11ecfa0cdba77f7efb1ebd88cdab172725c02ab96d708149f7"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 nothing here references a test framework (JUnit (with Kotest or MockK on Kotlin)), so there were no discoverable tests to count. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D16","level":"warning","message":{"text":"dormant codebase \u2014 no living knowledge left to concentrate: All 30 significant source file(s) were last meaningfully changed so long ago that no living knowledge remains \u2014 nothing since has been substantial enough to re-establish ownership (a broad, mechanical sweep that touches many files shallowly does not count, and neither does no activity at all). There is no concentration to measure, so the bus factor is not scored. This is not a clean bill: nobody currently holds working knowledge of this code (see D34 Knowledge Freshness)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"569d55ea5cb0330f13c125b289d07e5abdfcceac947a2c2645277937942e7d5f"}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 30 of 30 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 30 separate risks. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ComponentWithBackStackExt.kt \u2194 PanelComponent.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/panel/PanelComponent.kt\u0060 change together 70% of the time (19 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"723572ebb98265fbf1e40543f4c2d292bd839a93c76f18e1a43f253073c354b2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BottomNavigationComponent.kt \u2194 ComponentWithBackStackExt.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/bottomnavigation/BottomNavigationComponent.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt\u0060 change together 70% of the time (19 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/bottomnavigation/BottomNavigationComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9291952bd3e119051d29f6f48c83d7bb39c0d0a0452a07d86dc3f97282c09549"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ComponentWithBackStackExt.kt \u2194 StackComponent.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackComponent.kt\u0060 change together 70% of the time (19 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"508898f4ac6afe08563b63af17d13a7333b1215e4f1d8f5be7fef006b2358525"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ComponentWithBackStackExt.kt \u2194 DrawerComponent.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/drawer/DrawerComponent.kt\u0060 change together 70% of the time (19 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18b197911c85796c299b5378ab1370739e36d6d4d845980aab74df0198ced23"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ComponentWithBackStackExt.kt \u2194 PagerComponent.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/pager/PagerComponent.kt\u0060 change together 67% of the time (18 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2f1bbce701b6372b22323b1d9c829e6e8a0ac11ae558a213eb55ac00c8c1c4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StackViewWithCustomPredictiveBack.kt \u2194 StackViewWithDefaultAnimations.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithDefaultAnimations.kt\u0060 change together 67% of the time (10 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed62681b4332d695bdf79552b5db30bdcf78369b1d5baada2f8d322cb65d11dc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: NavigationComponentExt.kt \u2194 DrawerComponent.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/NavigationComponentExt.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/drawer/DrawerComponent.kt\u0060 change together 59% of the time (17 of the 29 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/NavigationComponentExt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3849c38df032a6bb02f5bfdd33f4661264841a728c1e8996bb58b487496616"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: NavigationComponentExt.kt \u2194 PanelComponent.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/NavigationComponentExt.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/panel/PanelComponent.kt\u0060 change together 55% of the time (16 of the 29 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/NavigationComponentExt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13eea30b217df5503eaa1c313cb493d15e7d8d65c3b999842214ff4ce5be104b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BottomNavigationComponent.kt \u2194 NavigationComponentExt.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/bottomnavigation/BottomNavigationComponent.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/NavigationComponentExt.kt\u0060 change together 55% of the time (16 of the 29 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/bottomnavigation/BottomNavigationComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b62d2a75d050edd99c0afc57e9f1f4ff67ba931616a6df27ae9bc651056629"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StackView.kt \u2194 StackViewWithDefaultAnimations.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackView.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithDefaultAnimations.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d039ef805e9e8176ad636e30076274eb13880e8e2d85ff0fea96c4d8e3518c1"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":0,"secretScannerRunsExcluded":0}}}]}