{"$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":"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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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":"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"]}]},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D39","name":"IL Efficiency","shortDescription":{"text":"IL Efficiency"},"helpUri":"https://codehealth.canine.dev/dimensions/D39"}]}},"results":[{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: RhoTaSolution.Domain: RhoTaSolution.Domain: abstractness 0.22, instability 0.00, distance 0.78 \u2014 zone of pain \u2014 concrete and heavily depended-on, so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b9a7ddcf2c5bda7ae7bfb0dc74cca890536a3931353d50aee6b03222ef0d9050"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 the solution has no test code. 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 projects found in the repository."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D12","level":"error","message":{"text":"Vulnerable: AutoMapper: AutoMapper 11.0.1 \u2014 High severity. https://github.com/advisories/[GHSA redacted]"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7ad907f4096422e42924a00fab6889d83782c07f3031eeb825e84a391fcadb56"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Microsoft.AspNetCore.Mvc.Core: Microsoft.AspNetCore.Mvc.Core 2.2.5 \u2014 Other,Legacy"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dc1a5ec0b0556e62dc8d49534a396ccc24dc2552dc4843db15ad9854629bdc55"}},{"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 3 commit(s) sampled)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b4b49d961df742f0e507f4cc5c8094fb077ba0391a27fd015d18320865187719"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: RhoTaSolution.Infrastrucutre.Identity: \u0060RhoTaSolution.Infrastrucutre.Identity\u0060 contributes only 0 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/infrastrucutre/RhoTaSolution.Infrastrucutre.Identity/RhoTaSolution.Infrastrucutre.Identity.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b62078f238fc817457f297e8def8e978a14ddda0dcc90b1040485bc4eaa7209"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: 2 project(s) carry only a thin slice of real code (e.g. \u0060LoggerService\u0060 with 21 significant line(s)). The mean analysable-surface weight is 76 %, lowering Solution Shape by about 2.0 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":"D21","level":"note","message":{"text":"Inconsistent naming for the first name field: \u0027FirstNamme\u0027 (typo) vs \u0027First_Name\u0027 (standard).: Rename \u0027FirstNamme\u0027 to \u0027First_Name\u0027 to match the convention used in the Employee entity. (symbols: RhoTaSolution.Domain.Entities.Doctor.FirstNamme, RhoTaSolution.Domain.Entities.Employee.First_Name)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"74f98a080c1d8ccc0de474513d54f808c384fe4c060b0af18d4ba3784e98aec1"}},{"ruleId":"D21","level":"note","message":{"text":"Inconsistent naming for the last name field: \u0027LastNamme\u0027 (typo) vs \u0027Last_Name\u0027 (standard).: Rename \u0027LastNamme\u0027 to \u0027Last_Name\u0027 to match the convention used in the Employee entity. (symbols: RhoTaSolution.Domain.Entities.Doctor.LastNamme, RhoTaSolution.Domain.Entities.Employee.Last_Name)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2b931799b2c3b38d948ffcd332378bcd8893d41c5146251b8247cc8c23be355d"}},{"ruleId":"D21","level":"note","message":{"text":"Inconsistent casing for contact number: \u0027Hospital_Contact_number\u0027 (lowercase n) vs \u0027Contact_Number\u0027 (uppercase N).: Standardize to \u0027Contact_Number\u0027 (PascalCase for properties) or \u0027contact_number\u0027 (snake_case for DB columns) consistently across entities. (symbols: RhoTaSolution.Domain.Entities.Hospital.Hospital_Contact_number, RhoTaSolution.Domain.Entities.Employee.Contact_Number)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b99d3e036820ab935d24e9efa208d55b58aa6ffeeef28116ea2df4bddc264c4a"}},{"ruleId":"D21","level":"note","message":{"text":"Address properties use snake_case (e.g., \u0027House_number\u0027) while other domain entities use PascalCase (e.g., \u0027First_Name\u0027).: Convert Address properties to PascalCase (e.g., \u0027HouseNumber\u0027) to match the rest of the domain model. (symbols: RhoTaSolution.Domain.Entities.Address.House_number, RhoTaSolution.Domain.Entities.Address.Street_name, RhoTaSolution.Domain.Entities.Address.Area_locality, RhoTaSolution.Domain.Entities.Address.Zip_postalcode, RhoTaSolution.Domain.Entities.Address.Province_State)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bb92da4af3fa452f8b5c9c8d8742caf76d2904782b67717cfd4ee45b257743e7"}},{"ruleId":"D21","level":"note","message":{"text":"Department properties use snake_case (\u0027Department_Description\u0027) while other domain entities use PascalCase.: Convert to PascalCase (e.g., \u0027DepartmentDescription\u0027) for consistency. (symbols: RhoTaSolution.Domain.Entities.Department.Department_Description, RhoTaSolution.Domain.Entities.Department.Department_Name)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c07dd9fc1d7500707eeb31b8a1413e8190902e9abf2ff5baf331e9a91745853"}},{"ruleId":"D21","level":"note","message":{"text":"JobTitle properties use snake_case (\u0027JobTitle_Description\u0027) while other domain entities use PascalCase.: Convert to PascalCase (e.g., \u0027JobTitleDescription\u0027) for consistency. (symbols: RhoTaSolution.Domain.Entities.JobTitle.JobTitle_Description, RhoTaSolution.Domain.Entities.JobTitle.JobTitle_Name)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"233671bb1e9472c515c59f865537284f9e35eac0f5673c24ba3f48e38a8f1045"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 668 production LoC spread over 8 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: \u0022ConfigureLogging\u0022 \u2014 delete - ConfigureLogging is the method name; this restates it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apiServices/RhoTaSolution.WebApi/Extensions/ServicesRegistration.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28f2836cdf310899cdc89b021820ffea7d2390a6e6e95f48e41f4cc9e0eb1b2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add services to the container.\u0022 \u2014 delete - Add(IServiceCollection builder) already says exactly this."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apiServices/RhoTaSolution.WebApi/Program.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6ce67391a6ca7faf3e31584487c2e965d940cdc925762c843a1facfcbdf22d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle\u0022 \u2014 delete - links-to-configuration; no WHY or trade-off."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apiServices/RhoTaSolution.WebApi/Program.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6ce67391a6ca7faf3e31584487c2e965d940cdc925762c843a1facfcbdf22d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Configure the HTTP request pipeline.\u0022 \u2014 delete - ConfigurePipeline is self-describing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apiServices/RhoTaSolution.WebApi/Program.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6ce67391a6ca7faf3e31584487c2e965d940cdc925762c843a1facfcbdf22d"}},{"ruleId":"D30","level":"error","message":{"text":"Critical CVE: System.Drawing.Common 4.7.0: System.Drawing.Common 4.7.0 (transitive) has a Critical advisory. https://github.com/advisories/[GHSA redacted]"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1f79a595d62add568feda19f54d04fdad0273f072ae213a4e4ad714127a8a2fe"}},{"ruleId":"D30","level":"error","message":{"text":"Critical CVE: System.Text.Encodings.Web 4.5.0: System.Text.Encodings.Web 4.5.0 (transitive) has a Critical advisory; affects 2 projects \u2014 one upgrade fixes all. https://github.com/advisories/[GHSA redacted]"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4e4448b31e8b4dd1a6489e264df38146de5afb770ee8e6556d999f07ae5800a8"}},{"ruleId":"D30","level":"error","message":{"text":"High CVE: AutoMapper 11.0.1: AutoMapper 11.0.1 (transitive) has a High advisory; affects 6 projects \u2014 one upgrade fixes all. https://github.com/advisories/[GHSA redacted]"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"84c14896c0a854411638075df56dafcda849f4cbc0597444018392bcb211a138"}},{"ruleId":"D30","level":"error","message":{"text":"High CVE: Microsoft.Data.SqlClient 2.1.4: Microsoft.Data.SqlClient 2.1.4 (transitive) has a High advisory. https://github.com/advisories/[GHSA redacted]"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0912468502895fef4191cf23b29c5d522839d785a26e658050b8cfe283b341f2"}},{"ruleId":"D30","level":"error","message":{"text":"High CVE: Microsoft.Extensions.Caching.Memory 6.0.1: Microsoft.Extensions.Caching.Memory 6.0.1 (transitive) has a High advisory; affects 2 projects \u2014 one upgrade fixes all. https://github.com/advisories/[GHSA redacted]"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4df1e547b5ab9e9ce622fa5288fcb8fac7cb115d17da212bdf4126fde22ade60"}},{"ruleId":"D30","level":"error","message":{"text":"High CVE: Newtonsoft.Json 9.0.1: Newtonsoft.Json 9.0.1 (transitive) has a High advisory; affects 2 projects \u2014 one upgrade fixes all. https://github.com/advisories/[GHSA redacted]"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"144ba3d64b2f88552ffc19d754e40bd2451972fd866ceb13b6e402c8039c1886"}},{"ruleId":"D30","level":"warning","message":{"text":"Medium CVE: Microsoft.IdentityModel.JsonWebTokens 6.8.0: Microsoft.IdentityModel.JsonWebTokens 6.8.0 (transitive) has a Medium advisory. https://github.com/advisories/[GHSA redacted]"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0d9eec6fa3579d9bfbc2acea0c4ea50af890d1da3d401368bce67e90fc79514a"}},{"ruleId":"D30","level":"warning","message":{"text":"Medium CVE: Swashbuckle.AspNetCore.SwaggerUI 6.2.3: Swashbuckle.AspNetCore.SwaggerUI 6.2.3 (transitive) has a Medium advisory. https://github.com/advisories/[GHSA redacted]"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"059a9687f9c63a6ebedae34ce113078132292fd8afb96925dca7d04bf16d334b"}},{"ruleId":"D30","level":"warning","message":{"text":"Medium CVE: System.IdentityModel.Tokens.Jwt 6.8.0: System.IdentityModel.Tokens.Jwt 6.8.0 (transitive) has a Medium advisory. https://github.com/advisories/[GHSA redacted]"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6263a56fe3a70af87a269967837af0dd5b722c97091869d8433487b538f5d47f"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1395","name":"Dependency on Vulnerable Third-Party Component"},{"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}}}]}