{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"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":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"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":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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":"D5","level":"warning","message":{"text":"Off the main sequence: Documently.Commands: Documently.Commands: abstractness 0.10, instability 0.00, distance 0.90 \u2014 zone of pain \u2014 concrete and heavily depended-on, so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"46f392e05f1d41a003bcef43ec115edf740db75115936d9889fbf5fa36e2c9cf"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Documently.Domain: Documently.Domain: abstractness 0.00, instability 0.22, distance 0.78 \u2014 zone of pain \u2014 concrete and heavily depended-on, so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c4d26c1a46982ed4489e466c8dbc3302295c117e1f64ebb6573db30af93746f"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 test suite did not build: Coverage NOT MEASURED: the repo\u0027s own test suite did not build (a C#/MSBuild compiler error in the test code), so no coverage could be collected. It is excluded from the score rather than counted as a near-zero defect. Fix the test build, or commit the Cobertura/OpenCover/lcov report your CI already produces, and real coverage will be measured."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8beb176c604706486df63d2215f767f50520c8d949b1d464345de14ded442c69"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: All_commands_will_have_the_Serializable_attribute_assigned: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Specs/Commands/All_commands_must_be_Serializable.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cccbc31db9e3a19481faa88b22fd5072340f57f6f96eb1ba974c3bf3c4461dc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: All_domain_events_will_have_the_Serializable_attribute_assigned: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Specs/Events/All_domain_events_must_be_Serializable.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff16f30e54f84662668a54260cfeded830a318b3887494bd75804fc2c6750b6"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] .ctor"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Commands/CreateNewCustomer.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8469a9137421b8acd5e2219fc839b3e90479d2198157307033efb7c99c0f6766"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] .ctor"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Commands/CreateNewDocumentCollection.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40b4eb86305d9c31fb93cd46ceee8b9e7256f9867a6223d46da47be70629499"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] .ctor"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Messages/CustomerEvents/Relocated.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fb9bf600deff227c8a21b8cdefcf66b2c48bc26c78586e945e4cb273ae3b88"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Domain/Domain/User.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd55a1779d7149d4718176af0ea0f16daa7411723d05d182899a0e2fcb4df7a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Domain/Domain/User.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd55a1779d7149d4718176af0ea0f16daa7411723d05d182899a0e2fcb4df7a"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 169"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Sagas.Specs/Indexing_saga_spec.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a5f83cf96a974ddc6fd1e7d4a9fd0df61db9a4de2789805ff6c4eec6181d3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Change CustomerListDto to something specific for this screen \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: PROJ-123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.WpfClient/Modules/CustomerDetails/CustomerDetailsOverview/CustomerDetailsOverviewViewModel.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3c40e698c1b408417fce871d1d65fd63891542ff61144172ef7830b8cb8c76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Resolve through IoC Container \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: PROJ-123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.WpfClient/Modules/CustomerDetails/CustomerRelocating/CustomerRelocatingViewModel.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34868945482870f123ca6cb371a60eef61304d572999122f5b67bef28b6c3c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //Todo: Paging \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: PROJ-123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.WpfClient/Modules/CustomerList/CustomerListViewModel.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff1464cec0cab6ab468f941e80dc24e904a650c347f9a96e10e8d45f5912f7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //_Bus.RegisterHandler((DocumentMetaDataCreated evt) =\u003E _EventAggregator.Publish(evt)); // TODO: set this up better! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: PROJ-123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.WpfClient/Modules/DocumentDetails/CreateMeta/CreateDocumentMetaDataViewModel.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2ef5d7d14f2513a2820ac9f4895e0a7cdc5440a3b1fe68a5b5494fc9b4365c"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: 3 project(s) carry only a thin slice of real code (e.g. \u0060Documently.Sagas.Service\u0060 with 28 significant line(s)). The mean analysable-surface weight is 91 %, lowering Solution Shape by about 0.7 point(s). Consolidate thin projects or grow them into substantial, well-scoped assemblies."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dd0b92fd965c2065080f16843920964ee00f7696ea03d87cdf61aed4cd2c746a"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found at common paths; consider documenting architectural decisions in Docs/ADL/ or similar."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 2804 LoC across 13 projects the codebase is large and multi-module, so explicit bounded contexts are needed. Declare architecture.contexts (\u22652) in config to assess cross-boundary type coupling."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022by using the \u0027*\u0027 as shown below:\u0022 \u2014 delete - restates the *-wildcard rule; could link to a migration note instead"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Commands/Properties/AssemblyInfo.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1488ea805eeb3f893ac6e6be6b5903a122c40f9d74c263b71b9a9d2f3d7e2bd4"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: CreateNewCustomer.cs \u2194 DocumentMetaDataHandler.cs: \u0060src/Documently.Commands/CreateNewCustomer.cs\u0060 (context Documently.Commands) and \u0060src/Documently.Domain/CommandHandlers/DocumentMetaDataHandler.cs\u0060 (context Documently) live in DIFFERENT modules yet change together 60% of the time (6 shared commits) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Commands/CreateNewCustomer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"625173c00d7ee376f2476a549902b9c9ed7372a2fc596151e22ac63c48eb7cbc"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: RelocateTheCustomer.cs \u2194 DocumentMetaDataHandler.cs: \u0060src/Documently.Commands/RelocateTheCustomer.cs\u0060 (context Documently.Commands) and \u0060src/Documently.Domain/CommandHandlers/DocumentMetaDataHandler.cs\u0060 (context Documently) live in DIFFERENT modules yet change together 55% of the time (6 shared commits) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Commands/RelocateTheCustomer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa23cd0c0afcef7dda7c9b9d9d213d5f9df475388bee551db42c6530120a46d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CreateNewCustomer.cs \u2194 RelocateTheCustomer.cs: \u0060src/Documently.Commands/CreateNewCustomer.cs\u0060 and \u0060src/Documently.Commands/RelocateTheCustomer.cs\u0060 change together 60% of the time (6 shared commits) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Commands/CreateNewCustomer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85833a624310d0ae87fdc95ae27f282899a9cf38436f347d4f8bda8598f9b813"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: InProcessBus.cs \u2194 EventStoreInstaller.cs: \u0060src/Documently.Infrastructure/InProcessBus.cs\u0060 and \u0060src/Documently.Infrastructure/Installers/EventStoreInstaller.cs\u0060 change together 50% of the time (7 shared commits) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Infrastructure/InProcessBus.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9d58f6b18e062728444087431b4f37e0e6b092084661d8e27ea7af615497e6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BusInstaller.cs \u2194 EventStoreInstaller.cs: \u0060src/Documently.Infrastructure/Installers/BusInstaller.cs\u0060 and \u0060src/Documently.Infrastructure/Installers/EventStoreInstaller.cs\u0060 change together 50% of the time (6 shared commits) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Documently.Infrastructure/Installers/BusInstaller.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d35ed9cd1a3be0b2356734a0ed01267afc7d90c5d8904a794725838966222fe"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"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}}}]}