{"$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"]}]},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"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"]}]},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29"},{"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":"D3","level":"warning","message":{"text":"TooManyMethods: ResultExtensions: TooManyMethods \u2014 159 lines, 38 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/ResultExtensions.cs"},"region":{"startLine":0}}}],"partialFingerprints":{"codehealthFindingId/v1":"841ac16bf6c19d12445fd95fe85e62b6d28234497534db53a02f3b674cc59f90"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project AutofacApplicationWrapUp: AutofacApplicationWrapUp has instability 0.85 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a3f8da076566b73992e40317e13ae38b06bf1e238e0c233aee2ed1cec654289b"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project QuerySideServices: QuerySideServices has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"13f6daf4773e7adccb43a5e66aa6f9c70714b4ab2e9bb16a863cb7168cc71718"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Domain: Domain: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and heavily depended-on, so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"706800fd37c7da4c1814bf4eaa84705d3da40e9ff88d663eede6e55d04fe8709"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DomainEvent (LCOM4 4): DomainEvent\u0027s methods form 4 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Messaging/DomainEvent.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90cc28ed60f3e215be7fc7b866ccdc3758555c8c855038459d681b1c705c3ab"}},{"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":"D17","level":"error","message":{"text":"NoWarnInCsproj: NU1701"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"QuerySide/Adapters/WebsocketClientNotifier/WebsocketClientNotifier.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1084b4967e46eac207646e8160981006212ac574af06a9a66387c9fea34e09e4"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: when_name_is_empty: Method when_name_is_empty \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CommandSide/Tests/UnitTests/PointNameTests.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9d1fec0f991854918dd3613bfe46e842e0a306c3e5d27a61cd52531cfa44e5"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: 5 project(s) carry only a thin slice of real code (e.g. \u0060QuerySidePorts\u0060 with 11 significant line(s)). The mean analysable-surface weight is 84 %, lowering Solution Shape by about 1.3 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 2940 LoC split over 20 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: \u0022create the master\u0022 \u2014 delete - TcpClient is self-evident; no WHY here"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CommandSide/Adapters/NModbusAdapter/AnalogSynchronousReader.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6944ca2b65cf993a7d35cb450616a6baf27445c25b9b3933b4eb7fc036e3c3dc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022This method gets called by the runtime. Use this method to add services to the container.\u0022 \u2014 delete - restates Configure/Services signature verbatim"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebApp/Startup.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dd4e24701df6efeb21c37560925c9d1dc44549e8b20ffa2319b060834253ec"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022This method gets called by the runtime. Use this method to configure the HTTP request pipeline.\u0022 \u2014 delete - duplicate of prior; remove one and keep only the one describing ConfigureServices"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebApp/Startup.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dd4e24701df6efeb21c37560925c9d1dc44549e8b20ffa2319b060834253ec"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"}]}],"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}}}]}