{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AppModuleGradleUpdater.findMatchingBrace (cyclomatic 26): AppModuleGradleUpdater.findMatchingBrace has cyclomatic complexity 26 (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":"core/src/main/kotlin/com/mitteloupe/cag/core/generation/app/AppModuleGradleUpdater.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"676fa0e05f46e27d4ad491b635a6a6e9c66ef1a7a3d64e7fefd0b0adb3843563"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectTemplateFilesGenerator.generateProjectTemplate (cyclomatic 17): ProjectTemplateFilesGenerator.generateProjectTemplate has cyclomatic complexity 17 (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":"core/src/main/kotlin/com/mitteloupe/cag/core/generation/bulk/ProjectTemplateFilesGenerator.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"979a62da8e15cd323f38cc3c21ce27aa363a5d9ad98825e91fc637aaca2a65dc"}},{"ruleId":"D1","level":"warning","message":{"text":"AppModuleGradleUpdater.skipWhitespaceAndComments (cyclomatic 16): AppModuleGradleUpdater.skipWhitespaceAndComments has cyclomatic complexity 16 (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":"core/src/main/kotlin/com/mitteloupe/cag/core/generation/app/AppModuleGradleUpdater.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e989f240b9fbea88b3ac7c3d9508dc8b85d885aee059e8383fd1ee99af93c6"}},{"ruleId":"D1","level":"warning","message":{"text":"VersionCatalogContentUpdater.ensureSectionEntries (cyclomatic 16): VersionCatalogContentUpdater.ensureSectionEntries has cyclomatic complexity 16 (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":"core/src/main/kotlin/com/mitteloupe/cag/core/generation/versioncatalog/VersionCatalogContentUpdater.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc01eec4998f49255de7ed763d526b19d8e3ac2079bcc962e8606a169f364de7"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModuleGradleUpdater.findMatchingBrace (cognitive 44): AppModuleGradleUpdater.findMatchingBrace has cognitive complexity 44 (threshold 15). Drivers by points: if/else 35, boolean chains 6, match/switch 2, loops 1 (nesting depth added 22). 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":"core/src/main/kotlin/com/mitteloupe/cag/core/generation/app/AppModuleGradleUpdater.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec8d022e64f05d1bd1b0fe0dcb3e0bd50991ed264161d243270445203c74e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppArgumentProcessor.getConsumedArguments (cognitive 38): AppArgumentProcessor.getConsumedArguments has cognitive complexity 38 (threshold 15). Drivers by points: if/else 31, loops 4, boolean chains 3 (nesting depth added 25). 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":"cli/src/main/kotlin/com/mitteloupe/cag/cli/argument/AppArgumentProcessor.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cac89c239048dec04b6133e9cd887cea006528b6c31ac6bf938d521e2427b77"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModuleGradleUpdater.skipWhitespaceAndComments (cognitive 36): AppModuleGradleUpdater.skipWhitespaceAndComments has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19, loops 12, boolean chains 3, match/switch 2 (nesting depth added 24). 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":"core/src/main/kotlin/com/mitteloupe/cag/core/generation/app/AppModuleGradleUpdater.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"383743748a21d9bd1636d451315af9847a3d2d10a38a0345c5ba93e1a51e36b5"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelClassFinder.findModelDirectoryInSrcMainKotlin (cognitive 28): ModelClassFinder.findModelDirectoryInSrcMainKotlin has cognitive complexity 28 (threshold 15). Drivers by points: if/else 23, boolean chains 4, loops 1 (nesting depth added 17). 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":"plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/ModelClassFinder.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f999e66b19580c5fd0e0ac3c673b445c87f5818ed55deb700178af8644a521bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ArgumentParser.parseArguments (cognitive 24): ArgumentParser.parseArguments has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, boolean chains 3, match/switch 2, loops 1 (nesting depth added 10). 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":"cli/src/main/kotlin/com/mitteloupe/cag/cli/argument/ArgumentParser.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76829c28ff5432f5599dab7cf74b90f71fb10a54b629cc81584138b938d55f8"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionCatalogContentUpdater.ensureSectionEntries (cognitive 24): VersionCatalogContentUpdater.ensureSectionEntries has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14, loops 7, boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/mitteloupe/cag/core/generation/versioncatalog/VersionCatalogContentUpdater.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3d3f2cfc7d99dbf7ef24f6437849b8806ffae124fa0d99ece19176dfd7fa93"}},{"ruleId":"D2","level":"warning","message":{"text":"SymbolValidator.hasValidGenericSyntax (cognitive 20): SymbolValidator.hasValidGenericSyntax has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, match/switch 2, boolean chains 1, loops 1 (nesting depth added 11). 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":"plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/validation/SymbolValidator.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfd9df0d7a01bf8dae2fd5afc81780be2c3e9e1bb77cb2c9d2ce11b468017c4"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionCatalogUpdater.updateExistingVersionCatalog (cognitive 17): VersionCatalogUpdater.updateExistingVersionCatalog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, loops 8 (nesting depth added 8). 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":"core/src/main/kotlin/com/mitteloupe/cag/core/generation/versioncatalog/VersionCatalogUpdater.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ff11920c714a807b4e46f01d8d4259367e8e1b32a7e5d88684f95b11985683"}},{"ruleId":"D2","level":"warning","message":{"text":"MainKt.main (cognitive 16): MainKt.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 3, match/switch 2, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main/kotlin/com/mitteloupe/cag/cli/Main.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8698f3b679896adac183b905c9810bb9cf27fad76ca0eb6505406c15a896f1a2"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModuleGradleUpdater.findDependenciesBlock (cognitive 16): AppModuleGradleUpdater.findDependenciesBlock has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 3, boolean chains 2 (nesting depth added 8). 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":"core/src/main/kotlin/com/mitteloupe/cag/core/generation/app/AppModuleGradleUpdater.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"891dc1a705a1697afd04dfbfdd8dc357fabfc5321e646510d7d61033a4d81069"}},{"ruleId":"D2","level":"warning","message":{"text":"FeatureFilesGenerator.generateFeature (cognitive 16): FeatureFilesGenerator.generateFeature has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/mitteloupe/cag/core/generation/bulk/FeatureFilesGenerator.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab5883ae22fef042fd8df6aacea25638bfba4bf2d48e95d159168d33d954ef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): core/src/main/kotlin/com/mitteloupe/cag/core/content/DataGradleScriptBuilder.kt:14-38 | core/src/main/kotlin/com/mitteloupe/cag/core/content/DomainGradleScriptBuilder.kt:11-32 | core/src/main/kotlin/com/mitteloupe/cag/core/content/PresentationGradleScriptBuilder.kt:14-37 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/kotlin/com/mitteloupe/cag/core/content/DataGradleScriptBuilder.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/mitteloupe/cag/core/content/DataGradleScriptBuilder.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"476b330c2eb67146eb925dfc5e214064de7886b2051efa3c67bd7183f001dfd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/CreateDataSourceAction.kt:39-55 | plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/CreateUseCaseAction.kt:81-97 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/CreateDataSourceAction.kt:39\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":"plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/CreateDataSourceAction.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"682a8d67c87c526d732337891f9e86f8ad69dc557b4262397bac2282bc598f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/src/main/kotlin/com/mitteloupe/cag/core/generation/app/AppModuleContentGenerator.kt:37-51 | core/src/main/kotlin/com/mitteloupe/cag/core/generation/app/AppModuleContentGenerator.kt:71-85 \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 \u0060core/src/main/kotlin/com/mitteloupe/cag/core/generation/app/AppModuleContentGenerator.kt:37\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":"core/src/main/kotlin/com/mitteloupe/cag/core/generation/app/AppModuleContentGenerator.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6915b0e69a15aab1750b7111561696a70c99d1ad2e8325c2ef7e0bd5628cb78a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/CreateUseCaseAction.kt:140-154 | plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/CreateViewModelAction.kt:154-168 \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 \u0060plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/CreateUseCaseAction.kt:140\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":"plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/CreateUseCaseAction.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f235b121d334d72290515d88ce34233d2d1bfc11b11917675cdbef6d725a39d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/main/kotlin/com/mitteloupe/cag/cli/FilesystemProjectModel.kt:34-42 | core/src/main/kotlin/com/mitteloupe/cag/core/AppModuleDirectoryFinder.kt:148-156 \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 \u0060cli/src/main/kotlin/com/mitteloupe/cag/cli/FilesystemProjectModel.kt:34\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":"cli/src/main/kotlin/com/mitteloupe/cag/cli/FilesystemProjectModel.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"770ed0a1d31d7ef01686cd430f830be4d8e42986c2c03c62925187524faa5e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/CreateCleanArchitectureFeatureDialog.kt:110-118 | plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/CreateCleanArchitecturePackageDialog.kt:50-58 \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 \u0060plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/CreateCleanArchitectureFeatureDialog.kt:110\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":"plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/CreateCleanArchitectureFeatureDialog.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa84f254df68e76aa1ea8d3165c83b22e8c0bef39a086b1f204f701318dd11e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/kotlin/com/mitteloupe/cag/core/content/architecture/ArchitectureDomainGradleScriptBuilder.kt:10-17 | core/src/main/kotlin/com/mitteloupe/cag/core/content/architecture/ArchitecturePresentationGradleScriptBuilder.kt:10-17 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/mitteloupe/cag/core/content/architecture/ArchitectureDomainGradleScriptBuilder.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b06022663234af97f4fa8e5ad92c1a8b05c2365149f19be32526813b2b4113"}},{"ruleId":"D16","level":"warning","message":{"text":"single-maintainer \u2014 knowledge-concentration (bus factor) risk: single-maintainer \u2014 knowledge-concentration (bus factor) risk (1 author(s) across 296 commit(s) sampled)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b4b49d961df742f0e507f4cc5c8094fb077ba0391a27fd015d18320865187719"}},{"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":"278dd31e32e977d4eab7019991dd298e8eb29e0e4d0e4b134870dfe64f3ea502"},"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":"d73495b9432ff16a2174d1e8cacbdb2ca7b1a4c3b2d60fa02476ac5b1deff0a6"},"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":"d03d80a9fe0bc9d50708609a718ee1a8698603f5e45c33e5ee51bc32a6759454"},"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":"8baae0a5581c1c11fb5e7a73e48af34d3ce71c12f00ef0d2248ff25d2b8fe263"},"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":"a2204130c51b6c0079701d8945fe909536e9d24d19a9331f4e25014e9bd6ad77"},"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":"c33e3a74e5fb87e6ec6954bf13455453d580f9b3d9c444281995fe7ebe5004fa"},"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":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 21 of 57 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: plugin/src/main/kotlin/com/mitteloupe/cag/cleanarchitecturegenerator/settings/versioncatalog/VersionCatalogConfigurable.kt, core/src/main/kotlin/com/mitteloupe/cag/core/generation/architecture/UiModuleCreator.kt, core/src/main/kotlin/com/mitteloupe/cag/core/generation/app/AppModuleGradleUpdater.kt (and 18 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ArchitectureInstrumentationTestGradleScriptBuilder.kt \u2194 ArchitectureModulesContentGenerator.kt: \u0060core/src/main/kotlin/com/mitteloupe/cag/core/content/architecture/ArchitectureInstrumentationTestGradleScriptBuilder.kt\u0060 and \u0060core/src/main/kotlin/com/mitteloupe/cag/core/generation/architecture/ArchitectureModulesContentGenerator.kt\u0060 change together 55% of the time (6 of the 11 commits that touched the less-changed of the two, renames followed) 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 (that is what the inversion buys) and the thing to add is a comment saying so, 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":"core/src/main/kotlin/com/mitteloupe/cag/core/content/architecture/ArchitectureInstrumentationTestGradleScriptBuilder.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5240c86f557f00d4b92d04cfa4ed78760a445fb5696667fed55b379f2b6ca656"}}],"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-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":6,"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."]}]}