{"$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":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ModelDescriptionGenerator.GetOrCreateModelDescription (cyclomatic 17): ModelDescriptionGenerator.GetOrCreateModelDescription has cyclomatic complexity 17 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI/Areas/HelpPage/ModelDescriptions/ModelDescriptionGenerator.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6e960177b04f54435845433345a854738420ab103725295f622ebef34df723"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelDescriptionGenerator.GetOrCreateModelDescription (cognitive 25): ModelDescriptionGenerator.GetOrCreateModelDescription has cognitive complexity 25 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI/Areas/HelpPage/ModelDescriptions/ModelDescriptionGenerator.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c542bf6fab5deb1ccfb570b82e5d785e7574012d568d96fbd061b45d7f9ed3c2"}},{"ruleId":"D2","level":"warning","message":{"text":"HelpPageConfigurationExtensions.GenerateUriParameters (cognitive 24): HelpPageConfigurationExtensions.GenerateUriParameters has cognitive complexity 24 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI/Areas/HelpPage/HelpPageConfigurationExtensions.cs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f793df47d1238f4998f56dcbcf46f54ae4bac4d882c62002685b8ed092470e"}},{"ruleId":"D2","level":"warning","message":{"text":"HelpPageSampleGenerator.GetSample (cognitive 19): HelpPageSampleGenerator.GetSample has cognitive complexity 19 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b665e52822d1766851ee91afca7d39595f459c4636dfc7e4601cac08240ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectGenerator.GenerateGenericType (cognitive 18): ObjectGenerator.GenerateGenericType has cognitive complexity 18 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"307623719692223f7719dcf270c24389b0a0d3be5dab5fb7777355a7cc463fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AxosnetAPI/Service/EncryptionService.cs:44-52 | AxosnetAPI/Service/EncryptionService.cs:92-101"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI/Service/EncryptionService.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"436363e4ce8fda958f2d7066d7379f53c55e84e82b58da0eecd60828a6d244df"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: AxosnetAPI: AxosnetAPI: abstractness 0.07, instability 0.00, distance 0.93 \u2014 zone of pain \u2014 concrete and heavily depended-on, so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a124ca81353ed910a78e8506bb2314067b0fc6f3b49a3ce37888960acf71df52"}},{"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: Post: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI.Tests/Controllers/ValuesControllerTest.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"32342d1f62baa3e997f1b1cb7e63bc901d59f86035e68e67d06997fe14b1d84a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Put: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI.Tests/Controllers/ValuesControllerTest.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d08ad350319e45cc99d664cdaeffe869d670e1860b127510d9d005cbbe0aaf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Delete: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI.Tests/Controllers/ValuesControllerTest.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90091b93dc9d63509ad7605282bc65833a7ef57363aa83f5826d1c3801bdba0"}},{"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 11 commit(s) sampled)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b4b49d961df742f0e507f4cc5c8094fb077ba0391a27fd015d18320865187719"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI/Areas/HelpPage/App_Start/HelpPageConfig.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11ee0f677375441e14f01f7cdf084e88bc2ad2211e1a94da9fdb385b2a7bed4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI/Areas/HelpPage/HelpPageConfigurationExtensions.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"579a3806cd4261519d5ae498ea0ed2f54e0edc5810c9aa65c50ed3afefe41dec"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI/Service/Result.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b31947dd2209e0f017e1bcbf1ce7526d5c45c84be643a0c4de33b771c559128"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: AxosnetAPI: AxosnetAPI: 45 % XML-doc coverage (151/338)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AxosnetAPI/AxosnetAPI.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2a49fe7bd0d5deaee1bf5df001b586dad182b7fb704755d1a1160e86ce94f8"}},{"ruleId":"D21","level":"note","message":{"text":"Typo in type and method name: \u0027Sesion\u0027 is used instead of the correct spelling \u0027Session\u0027.: Rename to \u0027SessionAction\u0027 and \u0027AuthenticateUser\u0027 to fix the spelling error. (symbols: AxosnetAPI.Action.SesionAction, AxosnetAPI.Action.SesionAction.AuthenticateUser)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e84fef274dabfcfa90aa7089e938767c0dcb608028ad80bd1cc43d4541fad5a0"}}],"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}}}]}