{"$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"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"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":"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"]},{"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"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":"EPPlusExtensions.SaveToExcel (cyclomatic 27): EPPlusExtensions.SaveToExcel has cyclomatic complexity 27 (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":"Domain/NexusStack.Excel/Export/EPPlusExtensions.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"15efa4160a216815b1eebaa379d11c3ae95568bdc11f21fe33134b68b4f04ed3"}},{"ruleId":"D1","level":"warning","message":{"text":"EPPlusExtensions.SaveToExcel (cyclomatic 26): EPPlusExtensions.SaveToExcel has cyclomatic complexity 26 (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":"Domain/NexusStack.Excel/Export/EPPlusExtensions.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09f1ab77961ee9bda198bda5e4755dd5ed4bc882579528442dcc14c8f46e739"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiAsyncExceptionFilter.OnExceptionAsync (cyclomatic 21): ApiAsyncExceptionFilter.OnExceptionAsync has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/Filters/ApiAsyncExceptionFilter.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7887694aca3c6eda1949fafeb955152576908a8c03589771f47e13da2c0a99b6"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestAuthorizeFilter.OnAuthorizationAsync (cyclomatic 20): RequestAuthorizeFilter.OnAuthorizationAsync has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/Filters/RequestAuthorizeFilter.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89d9f311a75cbff401e0f26c490dbd5c903b6a1d05a1f41fc26468f50eadb43"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationEventHandler.HandleAsync (cyclomatic 19): NotificationEventHandler.HandleAsync has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/EventHandler/NotificationEventHandler.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b9a435f5f53f3ef20b9a941f0ca568279598b3d485c189449394f43ec6903f"}},{"ruleId":"D1","level":"warning","message":{"text":"CronScheduleService.ExecuteAsync (cyclomatic 18): CronScheduleService.ExecuteAsync has cyclomatic complexity 18 (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":"Domain/NexusStack.Core/Schedules/CronScheduleService.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"497ef4abf2a24b0f77630e8d555668db196f36b16e0e77528f520ec19f2b2df0"}},{"ruleId":"D1","level":"warning","message":{"text":"PermissionService.ChangeRolePermissionAsync (cyclomatic 18): PermissionService.ChangeRolePermissionAsync has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. 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":"Domain/NexusStack.Core/Services/Users/PermissionService.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"47734a1b40322a84a56d31577790e0c4de73db514be61e66d32106e68efba5d6"}},{"ruleId":"D1","level":"warning","message":{"text":"ExcelTemplateRender.ParseRow (cyclomatic 17): ExcelTemplateRender.ParseRow has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"Domain/NexusStack.Excel/Export/ExcelTemplateRender.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3d826b8087b9338209c6fd3ec707e895f8a80854bdb5def44744578bb44ca9"}},{"ruleId":"D2","level":"warning","message":{"text":"EPPlusExtensions.SaveToExcel (cognitive 81): EPPlusExtensions.SaveToExcel has cognitive complexity 81 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Excel/Export/EPPlusExtensions.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4006032fa1cb6f316785ecac0feb1383d1061c879476e7d98ac5f78392a6d624"}},{"ruleId":"D2","level":"warning","message":{"text":"EPPlusExtensions.SaveToExcel (cognitive 69): EPPlusExtensions.SaveToExcel has cognitive complexity 69 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Excel/Export/EPPlusExtensions.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba5df12367c2c93528f32fff388e8c4e0d20b6dccf83f3c9c86980fb1019a32"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiAsyncExceptionFilter.OnExceptionAsync (cognitive 40): ApiAsyncExceptionFilter.OnExceptionAsync has cognitive complexity 40 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/Filters/ApiAsyncExceptionFilter.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd698fc7803aeee4d65b3cc074f090445561bc2186f9112f73da438e8a522c1a"}},{"ruleId":"D2","level":"warning","message":{"text":"CronScheduleService.ExecuteAsync (cognitive 37): CronScheduleService.ExecuteAsync has cognitive complexity 37 (threshold 15). 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":"Domain/NexusStack.Core/Schedules/CronScheduleService.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7147a565ce7964b52b39889dc36e2ec47252db4ac33fdaecf8ad46d4bd71514d"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceBase.FillTableByReader (cognitive 32): ServiceBase.FillTableByReader has cognitive complexity 32 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.EFCore/Repository/ServiceBase.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b361c9dd1e6c10e1c9df1f337eae09d9bb4198b6b9b5ca6b440b6011b1a6e157"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlQueryExtensions.GetFromQueryAsync2 (cognitive 30): SqlQueryExtensions.GetFromQueryAsync2 has cognitive complexity 30 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.EFCore/Repository/Query/SqlQueryExtensions.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba537945b5db3e229b02b4d0fa72522fd03d6ca885081190cb8e5f4a12866125"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationEventHandler.HandleAsync (cognitive 23): NotificationEventHandler.HandleAsync has cognitive complexity 23 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/EventHandler/NotificationEventHandler.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b375a6d910e8c44212c74a9c2c345c5a9e9e876f91e69ed45ba939139ca95e9"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionService.ChangeRolePermissionAsync (cognitive 23): PermissionService.ChangeRolePermissionAsync has cognitive complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. 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":"Domain/NexusStack.Core/Services/Users/PermissionService.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdeec8ad2569ec802d2edf06687b9b60d4dc95b22d8f7b91070747a94adb3328"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeFinders.SearchTypes (cognitive 22): TypeFinders.SearchTypes has cognitive complexity 22 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Infrastructure/TypeFinders/TypeFinders.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06853ea174f5e4d3e1a870b05903c63f348697a41444dfdf2e7b46e30abcba8"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcelTemplateRender.ParseRow (cognitive 20): ExcelTemplateRender.ParseRow has cognitive complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"Domain/NexusStack.Excel/Export/ExcelTemplateRender.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c2a1e27de3407c96562aa43e43c966ed4ca03e65997e4c6097db9d33283c20"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportExcelHelper.ExportToExcel (cognitive 20): ExportExcelHelper.ExportToExcel has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Excel/ExportStream/ExportExcelHelper.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a95a70da09a2035da2cd82beaced9f476cacdfb90c506426b074a26d9c85445"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestAuthorizeFilter.OnAuthorizationAsync (cognitive 19): RequestAuthorizeFilter.OnAuthorizationAsync has cognitive complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/Filters/RequestAuthorizeFilter.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"50662c2f540a6d3ccfa19aa2e2ed74d1df745cd75b5c4e66c3381e082fbccc99"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcelReader.ReadAllRows (cognitive 19): ExcelReader.ReadAllRows has cognitive complexity 19 (threshold 15). 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":"Domain/NexusStack.Excel/Import/ExcelReader.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc14231200a129cacd3ced093d9ec5e3739f361a59cdcb00afcc756f841bf2ba"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestAuthenticationHandler.HandleAuthenticateAsync (cognitive 17): RequestAuthenticationHandler.HandleAuthenticateAsync has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"Domain/NexusStack.Core/Authentication/RequestAuthenticationHandler.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b332c06c0fa7d6cf946adb2c902726bbdcd87afe9a91df7aee0928f99a35b8"}},{"ruleId":"D2","level":"warning","message":{"text":"MainSaveChangeInterceptor.AuditHandler (cognitive 17): MainSaveChangeInterceptor.AuditHandler has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.EFCore/MainSaveChangeInterceptor.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4204337c8326c26b8dc000930c9a40d5f459022536f294666dfa4464a4490f3"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlQueryExtensions.GetFromQueryAsync (cognitive 17): SqlQueryExtensions.GetFromQueryAsync has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.EFCore/Repository/Query/SqlQueryExtensions.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"472ac7cb734c28d412e1885f5ed5fe6c73ff40f68b435c7ea313af77c41094cd"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcelTemplateRender.ParseStatement (cognitive 17): ExcelTemplateRender.ParseStatement has cognitive complexity 17 (threshold 15). 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":"Domain/NexusStack.Excel/Export/ExcelTemplateRender.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"33da94f8c9bc14967b067e68a8b33008184a1839ea8b3e8ba0deb61e25eba5b3"}},{"ruleId":"D2","level":"warning","message":{"text":"FileService.GetExportFiles (cognitive 16): FileService.GetExportFiles has cognitive complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/Services/SystemManagement/FileService.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1caf26875faa0281f635133ec7c83954dfc1e5ad482213291b254f983e7e6c1"}},{"ruleId":"D2","level":"warning","message":{"text":"EventSubscriber.OnConsumerMessageReceived (cognitive 16): EventSubscriber.OnConsumerMessageReceived has cognitive complexity 16 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.RabbitMQ/EventSubscriber.cs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e86b84daf65c498e46d301b88b17e77adcce5a52666754095c1ec86cef6bf6c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QueryRepository: TooManyMethods \u2014 200 significant lines (blank, comment-only and punctuation-only lines excluded), 38 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":"Domain/NexusStack.EFCore/Repository/Query/QueryRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17db82688b8dd7d058796b49006848cf87d2a3e6591233d467685688ff99e931"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Domain/NexusStack.Core/Authentication/RequestAuthenticationSignalRTokenHandler.cs:34-56 | Domain/NexusStack.Core/Authentication/RequestAuthenticationTokenHandler.cs:40-62 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/Authentication/RequestAuthenticationSignalRTokenHandler.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f79cf85c3d36efeb9c66527e1f0a9c19e8c1c2e915282ec6afd1c83209f7af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Infrastructure/FileStroage/AliyunFileStorage.cs:116-130 | Infrastructure/FileStroage/AliyunFileStorage.cs:175-188 \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 \u0060Infrastructure/FileStroage/AliyunFileStorage.cs:116\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":"Infrastructure/FileStroage/AliyunFileStorage.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0de9914aed580c2f6fe388f008d50b8f9bf3934f22241f46fafdc0f0031147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Domain/NexusStack.Core/Services/SystemManagement/RegionService.cs:100-114 | Domain/NexusStack.Core/Services/SystemManagement/RegionService.cs:120-133 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/Services/SystemManagement/RegionService.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfca92b47aa77a52ce8d98b1b75423c4d3188ded9909e2dff83d59df5edf86c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Infrastructure/Client/HttpClientService.cs:29-37 | Infrastructure/Client/HttpClientService.cs:179-187 \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 \u0060Infrastructure/Client/HttpClientService.cs:29\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":"Infrastructure/Client/HttpClientService.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"123250605dea14b0dca69c06763de9b69f57467442117595a9ef5d779af1fd00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Domain/NexusStack.RabbitMQ/ServiceCollectionExtensions.cs:40-47 | Domain/NexusStack.RabbitMQ/ServiceCollectionExtensions.cs:62-69 \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 \u0060Domain/NexusStack.RabbitMQ/ServiceCollectionExtensions.cs:40\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.RabbitMQ/ServiceCollectionExtensions.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5d5c7c6ec73ce35fd82c3d0b0890f16aa82572f65464b94ef9759986a1448f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Host/NexusStack.WebAPI/Controllers/TokenController.cs:110-117 | Host/NexusStack.WebAPI/Controllers/TokenController.cs:151-158 \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 \u0060Host/NexusStack.WebAPI/Controllers/TokenController.cs:110\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":"Host/NexusStack.WebAPI/Controllers/TokenController.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5044478fe70c0801c10197f5b3135b4b475a7ff45993018bc585702bc202f35"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: NexusStack.Core (Domain) references NexusStack.Infrastructure (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"81c20e569dfe9cdb0ffab71d4cf00294810e93d164dd98368cc8879c692906aa"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: NexusStack.Serilog: NexusStack.Serilog: abstractness 0.00, instability 0.17, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9d0c01086ef7a24aacb71383cc58a2f0dba17e12a4b26d06bec6e3d9eb15361d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: NexusStack.Swagger: NexusStack.Swagger: abstractness 0.00, instability 0.17, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1b2d87d56e75d4a8f4c5728810a6ac557696517aa70fd253fef47602f95c0b76"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: NexusStack.Infrastructure: NexusStack.Infrastructure: abstractness 0.18, instability 0.00, distance 0.82 \u2014 zone of pain \u2014 concrete and depended on by 11 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e3382433fe9d65044785b244e20a7152ca230ada2c82b8098f968980c7e52f22"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: NexusStack.Excel: NexusStack.Excel: abstractness 0.04, instability 0.17, distance 0.79 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d86bea49d6f4b3f20be0bba5e87a90b868cbd72cbc514b951eefb3d30753f904"}},{"ruleId":"D8","level":"note","message":{"text":"No tests \u2014 template/sample: This repo declares itself a template / kata / sample; tests are deferred to the application built from it, so coverage is not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e5ca94717741d80f619caad143078fae4342c89e6107210846d2f8d1d28343db"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 nothing here references a test framework (xUnit, NUnit or MSTest), so there were no discoverable tests to count. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D13","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":"eb1cee02f9137cf8b71d6688bbed7c6d6fc97ea8b1e550056c00ffea41baa96d"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","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":"3559fc1839fdbeff7b5ad40a03e9f58712f84c1e32347bfd21912a7e50da3595"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","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":"cd1f8547ced304fe5ef465882d7fdec357ffb71ac9214ce2f82a17b1408c823e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","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":"bccd97d8bc98844e58be91f0d0bcdf8861752ae6b61291315c13b125ffe74b4e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","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":"df007c79703c699c7f8f0cfd245664fd62ca3548241870d84e568c96fbb9ea4e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D14","level":"error","message":{"text":"Banned license: iTextSharp.LGPLv2.Core: iTextSharp.LGPLv2.Core 3.8.1 is licensed LGPL-2.0-only (banned by policy)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"326383501c28d5b403b5b5141f20e314cc86a64cba746cd05255d968bbf4ecce"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 13 significant file(s) lose their only recent owner: Domain/NexusStack.Core/Services/SystemManagement/FileService.cs, Domain/NexusStack.EFCore/Repository/ServiceBase.cs, Domain/NexusStack.EFCore/Repository/Mapping/MappingRepository.cs, Infrastructure/Utils/StringExtensions.cs, Domain/NexusStack.Core/Services/SystemManagement/MenuService.cs, Domain/NexusStack.Core/Filters/RequestAsyncResultFilter.cs, Domain/NexusStack.Core/EventHandler/NotificationEventHandler.cs, Domain/NexusStack.Core/Services/SystemManagement/OperationLogService.cs (\u002B5 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8a0f5be6d6e8c868c74b5f34402d86b999b38bbd1df2700a1e8b01fadb1726ef"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 10 significant file(s) lose their only recent owner: Domain/NexusStack.Core/SeedData/MenuSeedData.cs, Domain/NexusStack.Core/HostedServices/ExecuteSeedDataService.cs, Domain/NexusStack.RabbitMQ/Connection.cs, Host/NexusStack.WebAPI/Controllers/OperationLogController.cs, Domain/NexusStack.EFCore/MainSaveChangeInterceptor.cs, Domain/NexusStack.Core/Entities/SystemManagement/Menu.cs, Domain/NexusStack.Core/SeedData/UserSeedData.cs, Domain/NexusStack.RabbitMQ/ServiceCollectionExtensions.cs (\u002B2 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e2cd3029c761996aa698ac1cebd1e6af335d765c32d99a6555a839dab0ee8f1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/Services/SystemManagement/FileService.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"283944afceb81aeb448451bdf175dd74078f88a44a8f6cac5396b1b3f2114826"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.EFCore/Repository/ServiceBase.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a9336e0aa3b8bf4b8b549af9f788dd9240e33df344c00f0aa9fe6717cc2bd6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/Services/SystemManagement/GlobalSettingService.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"866349449f34e35705a41a195e26c353eb9708fe849de23ad76199fa84283e35"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/Services/SystemManagement/GlobalSettingService.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3028ced5f7f4f9453ac1685be637544e51c017e7ad7d99735e3e48ac2263b8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Core/Services/SystemManagement/RegionService.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b956ce76f96edb49f505c8e1f451e59264d97c8f51beea6089cc2e02eef369"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Infrastructure/FileStroage/AliyunFileStorage.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"75060df1db9b5ea5c842eca303a452a94fc36fc6913d4e38946d6e8c4566c249"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.RabbitMQ/Connection.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b63a23de19788b7558b358ab7a29973133d4c1e324168353e6ecd8b6a06dc5"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.RabbitMQ/Connection.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"983ef28f84b117e00ff483deb68a35cbee5022c8bc810aa6666fbae53c6c11d8"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.RabbitMQ/EventPublisher.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"596d14029046e459dd7379b823df3d376cde78dbfb46a964a7d2ba12a61d5424"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.RabbitMQ/EventSubscriber.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7826a85d7a31984016ac581fa9afcbf544e868edca33a36804e22421ce294c5c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.RabbitMQ/EventSubscriber.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1d09a6d4d6ad65d1dee87c0f5ad1ad73ce9f8daf09e30ec798b0401232bf16"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.RabbitMQ/EventSubscriber.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadb1cf1ee536ba9a65a9f0e648c011e653dca035652d309a4edc9e9ae533204"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.RabbitMQ/EventSubscriber.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd202bfba1edf6d5607c5d31f3ee82d3a64b3df28d2289f13034dea92a9dbcd"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.RabbitMQ/EventSubscriber.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ff2548e929037e0b3ab6abf353df8b7d879b788aadd39d591165d4e7d545f2"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Infrastructure/Utils/StringExtensions.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c7d45948f6ebba4d939cfbb41ed217496265f16be3164ea33cb8a0e6f0957c"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: NU5128 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"NexusStack.Template.csproj"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b70a4b206e573501dc54c906a523b950ef73c06d7333965dc0126efc251aa9"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetFromQueryAsync2: Method GetFromQueryAsync2 \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.EFCore/Repository/Query/SqlQueryExtensions.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2bf6f3db477c46d52de769bc0c17829ca8a9969192a0532ae93dbac3535c10"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: getDeliveryPDFHeight: Method getDeliveryPDFHeight \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.Excel/PDFHelper.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"076789d3081732f8273dbc6e0b6421348472d37ff7e345afefb60a867fb920cf"}},{"ruleId":"D21","level":"note","message":{"text":"Inconsistent naming for object storage identifiers. \u0027bucket\u0027 and \u0027key\u0027 are used, whereas \u0027bucket\u0027 and \u0027name\u0027 (or \u0027fileName\u0027) would be more consistent with standard object storage terminology (Bucket and Key/Name).: Rename \u0027key\u0027 to \u0027name\u0027 or \u0027fileName\u0027 to align with common object storage property naming conventions. (symbols: NexusStack.Core.Entities.SystemManagement.DownloadItem.bucket, NexusStack.Core.Entities.SystemManagement.DownloadItem.key)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"68fc35fa8502ed00246ff7ecdd29e07ebcf954d7517f6b6fe7dab5112821fce2"}},{"ruleId":"D21","level":"note","message":{"text":"Inconsistent naming for user profile image. Both the DTO and Entity use \u0027Avatar\u0027, which is consistent, but the property name \u0027Avatar\u0027 is used in both, so this is actually consistent. However, looking at \u0027NexusStack.Core.Dtos.Users.UserDto.HasPassword\u0027 vs \u0027NexusStack.Core.Dtos.Users.UserDto.Mobile\u0027, the naming style is consistent. Let\u0027s look for actual inconsistencies.:  (symbols: NexusStack.Core.Dtos.Users.UserDto.Avatar, NexusStack.Core.Entities.Users.User.Avatar)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c96cfd33ecbd1c5c4af348126b69bceaf7d6d3960035330e5581a99dacd911d"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 20k LoC across 12 projects the codebase is large and multi-module, so explicit bounded contexts are needed. Name this codebase\u0027s bounded contexts (\u22652 module groups, e.g. per subsystem) so cross-boundary type coupling can be assessed. Declare them in \u0060.codehealth/config.yaml\u0060 at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it \u2014 e.g. \u0060architecture:\u0060 \u2192 \u0060contexts:\u0060 \u2192 \u0060Billing: [\u0022src/billing\u0022, \u0022Acme.Billing\u0022]\u0060, \u0060Catalog: [\u0022src/catalog\u0022, \u0022Acme.Catalog\u0022]\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}},{"ruleId":"D26","level":"note","message":{"text":"Split NexusStack.Core: A catch-all name for a single library whose size and namespace count exceed the threshold. Suggested: by namespace: split the 41 namespaces into focused libraries"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"da2fcf1bdab5f0d699442d5b771991a34c7a28c2c5a479e452686976a8fd44bc"}},{"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":"33736592eb2f93b11382d56bc667e9ac12ad951ce57a9447b798f0403c9e3466"}},{"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":"fba3a9d8bfabaf513f3d439bece6b5662691c131fc7eb00020653548cace52d5"}},{"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":"7c51d8bf05d3b73841424d4a1310f2155e655b10d0111671c459e51d3a7ac0b4"}},{"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":"235a2f7ce31550c729f2f77538eff205362a2b9ac5cb5cc6565b0cfd2e5f9cb5"}},{"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":"6d6361aab376b98efe265c7cdaf3785fb6585404a348a9b69625c814a80308f4"}},{"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":"190125c81402e3a2a0f1059f632847b274ff87d192763d1232f09f761ea8327b"}},{"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":"472984c47ce0ad7d92ccb92d0d1556a38babb4f79717f755b0f2cbdd9874afa9"}},{"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":"9965da4ec433fdce3f522782ff745ee24edb781d640ff788c2f87bc4e0efbb40"}},{"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":"4a1ca48e615c0fa82eeaeaebe2acdc7bc947417ee1564876558013d5d1bf9caa"}},{"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":"010b90dcd4f47b5af1e97700e7693c060af859a0ba3bbc2d35cce109e0c6cdd6"}},{"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":"d07891dd1a8e8a5f2a0ad16b133b8eb51bc3d206caed582de51318fbbf7514ea"}},{"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":"9b76777d586f50466b7b71d3abc9b86f38d34f9d0bf46338e3ee4d1b9aec0e9d"}},{"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":"D29","level":"warning","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":"0509ef116d76ff7c3e31db589c7ad46a16c5d5ab564da15f835bec46cdf7ec20"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","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":"fb25f9b1ba483c95d406a949a514fa0e516770a7db6838bde3e611a460062e7c"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","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":"ecad0e02098ad09ca15172d6329749483ec7ca2edc8340d39cd9459ebd4e0a97"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","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":"a9e04dfb331882b6cb49153ad0c87a26d3c459652c338c07b68c06391f8a5eea"}},{"ruleId":"D30","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":"8d7c9dcd43de9bdbb096742d50bc761dd1f73c85bd7aafe6a3a885792e301a13"}},{"ruleId":"D30","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":"efd30fab8588c92bc9bf6dcea6b1038d29f0ee17caf3760a9f108ad42a0856b0"}},{"ruleId":"D30","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":"7314dc3fc354d427ce7e2719a2d772e2b0dae7ed2955dfb9a4b80d417ce6583b"}},{"ruleId":"D30","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":"7614df491b0dcb8debe0d75e02edb0e9d8c7ec9d8a9d596c627f52236ea3c240"}},{"ruleId":"D31","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":"010e27e8a409a31fa80f7b28f792e2c6297ca03db333967ef176ee20cc23d94f"}},{"ruleId":"D31","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":"3cef01f9f27a1d79edd78f921e9749f92df13898734f87979fc222cacea18eaa"}},{"ruleId":"D31","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":"dd793d2138594c29a65744c7c7c5ac63092c51f3498b0d5bd28529cea9d76aec"}},{"ruleId":"D31","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":"9c12f907c8add70bd6cf20ea90fc0f6bc949a8c49b4a4d4c1d2fdfc416882e87"}},{"ruleId":"D31","level":"warning","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":"8bc526be8ed6903b2a15bfd0a662338529ea7e98c01af47a1c82b0400e35ecfb"}},{"ruleId":"D31","level":"warning","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":"2a2117fc728adef791f0c4f8d3c928738fc5ceb39c9f143c9728de2c9c6a1f38"}},{"ruleId":"D31","level":"warning","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":"d5cb211e034b74ee60508ca2951ce4d94d58af13b02152107fc001bc86088f0b"}},{"ruleId":"D31","level":"warning","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":"5e30a75bff47fbb3fab5697f707f9d0ea5ea6a23561c513e0678dd47e3ec69a3"}},{"ruleId":"D31","level":"warning","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":"829d37ec603ed6614841a5b90f955ed2cdb2f05fec24d44e91422241afa31a1a"}},{"ruleId":"D31","level":"warning","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":"7377d210ffabea525ce05e22d7b700ac47fabea96b535a01af11197f4eb85c1f"}},{"ruleId":"D31","level":"warning","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":"54928ee1ec30d9618a6c3890a0ad5c1af022979b0767a0bcd2f1aef38f417f4d"}},{"ruleId":"D31","level":"warning","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":"8e556c47bb99770640986a36ef45fe796305d2acacd3ea851d76e520fae59af2"}},{"ruleId":"D31","level":"warning","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":"4ae6eb2f7b08a09f4ef4119a57245a70e71222584f834591e8e2fca4bbe8a1bb"}},{"ruleId":"D31","level":"warning","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":"646bd76ce1a32f6bef20d7fd2e82c9ac90a9493485903651683ff26aa0067a94"}},{"ruleId":"D31","level":"warning","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":"f145493679ca80554d0aca434640f6b7f76be48e2e8a8797564eaa4383216ab7"}},{"ruleId":"D31","level":"warning","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":"ee3587f897de5fb451c5a1d842f61e97d8654bc4ad1beaefee6c6c22598e49d6"}},{"ruleId":"D31","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":"e3302955eeacfc040ca1a0a8487d88ec494ba2f6e749d9ef9b4dc733bce202cf"}},{"ruleId":"D31","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":"1caae8dc7dcea1ff957e78bdb7e5a9171352650a977b322f1abb5c89d9951e34"}},{"ruleId":"D31","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":"308e89fadb9b5c31a51dca9f6164cade7b7a85a8b5354f25011f1980702e0ae2"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 3 of 86 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: Host/NexusStack.WebAPI/Controllers/OpenAppConfigController.cs, Domain/NexusStack.Core/SeedData/RegionSeedData.cs, Host/NexusStack.WebAPI/Controllers/GlobalSettingController.cs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: EventPublisher.cs \u2194 EventSubscriber.cs: \u0060Domain/NexusStack.RabbitMQ/EventPublisher.cs\u0060 and \u0060Domain/NexusStack.RabbitMQ/EventSubscriber.cs\u0060 change together 60% of the time (6 of the 10 commits that touched the less-changed of the two, renames followed). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Domain/NexusStack.RabbitMQ/EventPublisher.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81a09915908d593da65c923c208545d8c43d1c5db9536223272570ebfd4f50d"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"CWE-22","shortDescription":{"text":"CWE-22"},"helpUri":"https://cwe.mitre.org/data/definitions/22.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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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":45,"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."]}]}