{"$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":"DataManagerImpl.importData (cyclomatic 25): DataManagerImpl.importData has cyclomatic complexity 25 (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/java/org/seedstack/business/internal/data/DataManagerImpl.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fbbd1aeed7275b4d9dcd16525bb0c1eaab52c01dde2de96c4a468d2f8d931c"}},{"ruleId":"D2","level":"warning","message":{"text":"DataManagerImpl.importData (cognitive 44): DataManagerImpl.importData has cognitive complexity 44 (threshold 15). Drivers by points: if/else 34, boolean chains 6, match/switch 2, error handling 1, loops 1 (nesting depth added 18). 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/java/org/seedstack/business/internal/data/DataManagerImpl.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"120986bfa670ff1584fa7f24b10bd2ce17787f0c10887ab854389bdbcc2c66b7"}},{"ruleId":"D2","level":"warning","message":{"text":"MigratePlugin.initialize (cognitive 44): MigratePlugin.initialize has cognitive complexity 44 (threshold 15). Drivers by points: if/else 40, loops 4 (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":"migrate/src/main/java/org/seedstack/business/internal/migrate/MigratePlugin.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06aa66e2c95d57259c66301e6e76832769e9b474465418f84efbf27e2c5e164"}},{"ruleId":"D2","level":"warning","message":{"text":"DataPlugin.start (cognitive 21): DataPlugin.start has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, error handling 5, loops 5, boolean chains 1 (nesting depth added 14). 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/java/org/seedstack/business/internal/data/DataPlugin.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"261b66c41762c7451c008eb2c1cf23589af77a40a45a9a9817b527d145ed8bba"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationDtoInfoResolver.resolveDtoInfo (cognitive 20): AnnotationDtoInfoResolver.resolveDtoInfo has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20 (nesting depth added 6). 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/java/org/seedstack/business/internal/assembler/dsl/AnnotationDtoInfoResolver.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb0618bd313b65be7b66a2a609ee2d220ec6b64eef99c8eae76f5b47d12374d"}},{"ruleId":"D2","level":"warning","message":{"text":"LegacyDtoInfoResolver.resolveDtoInfo (cognitive 20): LegacyDtoInfoResolver.resolveDtoInfo has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20 (nesting depth added 6). 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":"migrate/src/main/java/org/seedstack/business/internal/assembler/dsl/LegacyDtoInfoResolver.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efbe76961bec28c20ceebbc94ec7adbca7a93e715511b4fdb378d3c75de019e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MergeSingleImpl: TooManyMethods \u2014 34 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/org/seedstack/business/internal/assembler/dsl/MergeSingleImpl.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"051ed576e681ce01e21d7608ab8af91f4725d0bbcf8ea88a62b93f41370d97dc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DomainRegistryImpl: TooManyMethods \u2014 33 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/org/seedstack/business/internal/domain/DomainRegistryImpl.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"03307ef36f6e2768320030fe7a309417b9cd8a305b3be5d88ad5a9d72ee69d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/main/java/org/seedstack/business/internal/assembler/dsl/AnnotationDtoInfoResolver.java:98-109 | migrate/src/main/java/org/seedstack/business/internal/assembler/dsl/LegacyDtoInfoResolver.java:99-110 \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 \u0060core/src/main/java/org/seedstack/business/internal/assembler/dsl/AnnotationDtoInfoResolver.java:98\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/java/org/seedstack/business/internal/assembler/dsl/AnnotationDtoInfoResolver.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fcdae797a773a850347667833adec20c265441a3f0acfb3ace32be19029b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/org/seedstack/business/internal/data/DataManagerImpl.java:237-245 | core/src/main/java/org/seedstack/business/internal/data/DataManagerImpl.java:304-313 \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/java/org/seedstack/business/internal/data/DataManagerImpl.java:237\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":"core/src/main/java/org/seedstack/business/internal/data/DataManagerImpl.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"519fb99922b4ef7ffc0445b68dcb575565e693311c162fff3a4282ef45cc4739"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/src/main/java/org/seedstack/business/internal/assembler/AssemblerModule.java:45-52 | core/src/main/java/org/seedstack/business/internal/data/DataModule.java:43-50 | core/src/main/java/org/seedstack/business/internal/domain/DomainModule.java:69-76 \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 \u0060core/src/main/java/org/seedstack/business/internal/assembler/AssemblerModule.java:45\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/java/org/seedstack/business/internal/assembler/AssemblerModule.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2509fa5c3d62ddaf41b9a9be4b0bf0bb4359e9763de46055580e255986ba14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): migrate/src/main/java/org/seedstack/business/internal/migrate/MigratePlugin.java:54-59 | migrate/src/main/java/org/seedstack/business/internal/migrate/MigratePlugin.java:70-75 \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 \u0060migrate/src/main/java/org/seedstack/business/internal/migrate/MigratePlugin.java:54\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":"migrate/src/main/java/org/seedstack/business/internal/migrate/MigratePlugin.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9ff4bfc98f8cd59287adba8daca6010605012574955b845288ec337dbf7410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): core/src/main/java/org/seedstack/business/internal/assembler/AssemblerOverridingModule.java:28-32 | core/src/main/java/org/seedstack/business/internal/data/DataOverridingModule.java:29-33 | core/src/main/java/org/seedstack/business/internal/domain/DomainOverrideModule.java:30-34 \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 \u0060core/src/main/java/org/seedstack/business/internal/assembler/AssemblerOverridingModule.java:28\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/java/org/seedstack/business/internal/assembler/AssemblerOverridingModule.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd7e021a8ce56aa2e2e04b9287a54ea986bca9928cf369367586e47d32cb1bd"}},{"ruleId":"D16","level":"warning","message":{"text":"dormant codebase \u2014 no living knowledge left to concentrate: All 66 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":"D19","level":"note","message":{"text":"No installation or getting-started instructions.: Write an Install/Get-Started guide covering cloning the repo, adding dependencies, and running a minimal example."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c39644296f114198b3485c69817329edcae3e98a2512b94a648f63af874d4f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db361e580718ffe19b45d453f372edccd2bc06d9724d75121729fc52648537dc"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 66 of 66 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 66 separate risks. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}}],"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":2,"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."]}]}