{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"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"]},{"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":"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"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"BookEndpoints.SearchBooks (cyclomatic 49): BookEndpoints.SearchBooks has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 9 of the 49 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 143, 276, 124, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Endpoints/BookEndpoints.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"47140471ed2102447a6edba3e2d24858d754894ed768ad0b88daaae603bc8259"}},{"ruleId":"D1","level":"warning","message":{"text":"PasskeyEndpoints.MapPasskeyEndpoints (cyclomatic 43): PasskeyEndpoints.MapPasskeyEndpoints has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 1 of the 43 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 104, 330, 28, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Endpoints/PasskeyEndpoints.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c60fc0ade20d9e5277e06735c7a712a5a11ddd625285dd95b5990bb900cc4f4"}},{"ruleId":"D1","level":"warning","message":{"text":"ProblemDetailsExtensions.ToError (cyclomatic 25): ProblemDetailsExtensions.ToError has cyclomatic complexity 25 (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":"src/BookStore.Web/Infrastructure/ProblemDetailsExtensions.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdd58a2e78637401daeb0db1f695382e04e75bd97b81382b803c5589ece9f74"}},{"ruleId":"D1","level":"warning","message":{"text":"PartialDateJsonConverter.Read (cyclomatic 25): PartialDateJsonConverter.Read has cyclomatic complexity 25 (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":"src/BookStore.Shared/Infrastructure/Json/PartialDateJsonConverter.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aadc04b5533520699c46cd4a41a3aca22c0269d1aa50a76e3a812ffc79d1df0"}},{"ruleId":"D1","level":"warning","message":{"text":"BookEndpoints.GetBook (cyclomatic 23): BookEndpoints.GetBook has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 belong to 4 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":"src/BookStore.ApiService/Endpoints/BookEndpoints.cs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa0bc2f775367416c938a369807c4170365402ffd527e74d771fd7767b69e21"}},{"ruleId":"D1","level":"warning","message":{"text":"BookEndpoints.GetFavoriteBooks (cyclomatic 21): BookEndpoints.GetFavoriteBooks has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. 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":"src/BookStore.ApiService/Endpoints/BookEndpoints.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6a561876a6ebe8b92be0d9d766bd9d892db69cb5373a909b68c83a12d54150"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceNameParser.Parse (cyclomatic 21): DeviceNameParser.Parse has cyclomatic complexity 21 (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":"src/BookStore.ApiService/Infrastructure/DeviceNameParser.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dce3ff9eca0e3c0085e49ab0f98449874b0f7d26602f9567899f2732772cdfa"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationServicesExtensions.AddIdentityServices (cyclomatic 19): ApplicationServicesExtensions.AddIdentityServices has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 279, 201, 260, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Infrastructure/Extensions/ApplicationServicesExtensions.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"681a2c46889c89d6847b0ad0a839126379a2e968135575ead58ed3df227e23c4"}},{"ruleId":"D2","level":"warning","message":{"text":"PasskeyEndpoints.MapPasskeyEndpoints (cognitive 62): PasskeyEndpoints.MapPasskeyEndpoints has cognitive complexity 62 (threshold 15). Most of this is not in the body itself: 0 of the 62 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 330, 104, 28, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Endpoints/PasskeyEndpoints.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4c7781a8c64c850eac78a12eb9063458bb670ae2f91b7f01f4540037b10872"}},{"ruleId":"D2","level":"warning","message":{"text":"BookEndpoints.SearchBooks (cognitive 55): BookEndpoints.SearchBooks has cognitive complexity 55 (threshold 15). Most of this is not in the body itself: 11 of the 55 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 143, 276, 124, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Endpoints/BookEndpoints.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c303ba05604bddc7730582758035a5057f74b0d84f7d5a45aee563aecbced06"}},{"ruleId":"D2","level":"warning","message":{"text":"PartialDateJsonConverter.Read (cognitive 34): PartialDateJsonConverter.Read has cognitive complexity 34 (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":"src/BookStore.Shared/Infrastructure/Json/PartialDateJsonConverter.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4060a913b5bb9a9168a596eebd810e4e0e87443c4e99bd9001de77b4561515"}},{"ruleId":"D2","level":"warning","message":{"text":"BookEndpoints.GetBook (cognitive 33): BookEndpoints.GetBook has cognitive complexity 33 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 12 belong to 4 function literals inside it that branch. 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":"src/BookStore.ApiService/Endpoints/BookEndpoints.cs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"44eb09dc5e6e982192ed63e0ea2c0ef2c30535de20c92bab077f65b8bb797a92"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthorStatisticsGrouper.Group (cognitive 29): AuthorStatisticsGrouper.Group has cognitive complexity 29 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Projections/AuthorStatisticsProjection.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"961f9cd8898856fe5d80b1492eb1f3622fd101f63eeac71e60e3d28bce5450c9"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryStatisticsGrouper.Group (cognitive 29): CategoryStatisticsGrouper.Group has cognitive complexity 29 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Projections/CategoryStatisticsProjection.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c9ee008a9088b1833a7b6f56a222a2ee5f6ebf5d0ecea7037e34b2f0237058"}},{"ruleId":"D2","level":"warning","message":{"text":"PublisherStatisticsGrouper.Group (cognitive 22): PublisherStatisticsGrouper.Group 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":"src/BookStore.ApiService/Projections/PublisherStatisticsProjection.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"630695e60be2f17c15a9409ec70575478cebf5885eac79f5dbd79972ff871d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"BookStoreEventsService.ListenToStreamAsync (cognitive 21): BookStoreEventsService.ListenToStreamAsync has cognitive complexity 21 (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":"src/BookStore.Client/BookStoreEventsService.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5219cd39147262c2dbf27142bace0d75dc48a1d4ba75d4904abda4225117ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceNameParser.Parse (cognitive 19): DeviceNameParser.Parse has cognitive complexity 19 (threshold 15). 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":"src/BookStore.ApiService/Infrastructure/DeviceNameParser.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e90bd4da780f065aaf7828c3147cd4c879347fc9a2d10fd516367adf913d88"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationServicesExtensions.AddIdentityServices (cognitive 19): ApplicationServicesExtensions.AddIdentityServices has cognitive complexity 19 (threshold 15). Most of this is not in the body itself: 0 of the 19 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 279, 201, 260, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Infrastructure/Extensions/ApplicationServicesExtensions.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9910d4866e3c54123f0a79d7e109ef0d89fff2c9254e0d6f91b43c47ae90ba47"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminUserEndpoints.GetUsers (cognitive 18): AdminUserEndpoints.GetUsers has cognitive complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 3 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":"src/BookStore.ApiService/Endpoints/Admin/AdminUserEndpoints.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b2fad48669966ea7446f6f02f8a47dfe6a7abbcd09520002f1edc49a622dfb"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseSeeder.SeedSalesAsync (cognitive 18): DatabaseSeeder.SeedSalesAsync has cognitive complexity 18 (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":"src/BookStore.ApiService/Infrastructure/DatabaseSeeder.cs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5f828fe4ba2639a8001313834837548df628a45fdb81109467fce35dfc3f28"}},{"ruleId":"D2","level":"warning","message":{"text":"ProblemDetailsExtensions.ToError (cognitive 17): ProblemDetailsExtensions.ToError has cognitive complexity 17 (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":"src/BookStore.Web/Infrastructure/ProblemDetailsExtensions.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ead9e224dee2ea76fc426764f65be7010e51be85376ccc9d00a5baf3e5cb48"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandMustBeRecordAnalyzer.AnalyzeTypeDeclaration (cognitive 17): CommandMustBeRecordAnalyzer.AnalyzeTypeDeclaration 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":"src/BookStore.ApiService.Analyzers/Analyzers/CommandMustBeRecordAnalyzer.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed330033f5e6cea207d923d670d1618a2b633f08ece50679d2978f35e7d9358"}},{"ruleId":"D2","level":"warning","message":{"text":"AggregateRulesAnalyzer.AnalyzeClass (cognitive 16): AggregateRulesAnalyzer.AnalyzeClass has cognitive complexity 16 (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":"src/BookStore.ApiService.Analyzers/Analyzers/AggregateRulesAnalyzer.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4902a8ecd0b50190cb67635513d00508efada2ece9b5b190cf4ea99c690d5db"}},{"ruleId":"D2","level":"warning","message":{"text":"BookHandlers.Handle (cognitive 16): BookHandlers.Handle 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":"src/BookStore.ApiService/Handlers/Books/BookHandlers.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db209887a44f55533d47add34c2b343d70ebea4224abacd6520d2ecc720d580"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MartenUserStore: TooManyMethods \u2014 166 significant lines (blank, comment-only and punctuation-only lines excluded), 47 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":"src/BookStore.ApiService/Infrastructure/Identity/MartenUserStore.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78165196eebfced130be17e734ca2847d82db5341f19ea9f2d012b05ec6a23eb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BookEndpoints: ClassTooLong \u2014 499 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Endpoints/BookEndpoints.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7706261304252073003f718bf35f6797d8e35e73d5c3572cb5fb24276f27d67"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DatabaseSeeder: ClassTooLong \u2014 441 significant lines (blank, comment-only and punctuation-only lines excluded), 11 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":"src/BookStore.ApiService/Infrastructure/DatabaseSeeder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf98b73ee4a0386b5ca6d1cf2d28ceb9cdf79e4cb96699ad4def6703d5b4f663"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Endpoints/BookEndpoints.cs: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Endpoints/BookEndpoints.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeee973ae03317dd4b18fc6f72e641bc77eeef25ccb43c28b296fc88c35f9494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/BookStore.ApiService/Infrastructure/LocalizationHelper.cs:43-60 | src/BookStore.ApiService/Infrastructure/LocalizationHelper.cs:63-80 \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 \u0060src/BookStore.ApiService/Infrastructure/LocalizationHelper.cs:43\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":"src/BookStore.ApiService/Infrastructure/LocalizationHelper.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"50651beb2621b2fce1dc7081580145b3fb43e1e8d690fffec90ae5eeda932e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/BookStore.Web/Services/TenantService.cs:89-105 | src/BookStore.Web/Services/TenantService.cs:120-135 \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 \u0060src/BookStore.Web/Services/TenantService.cs:89\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":"src/BookStore.Web/Services/TenantService.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ed98e007117dd0b11f7fa274b9696177f5061200c7ff5f26948950969557aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/BookStore.ApiService/Infrastructure/ETagHelper.cs:73-88 | src/BookStore.Client/ETagHelper.cs:21-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/BookStore.ApiService/Infrastructure/ETagHelper.cs:73\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Infrastructure/ETagHelper.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7211194ea2a658dbe2cc33847bc9574f06e116210016aa1f14b0ad2b84118b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/BookStore.Web/Components/Pages/Register.razor:414-428 | src/BookStore.Web/Components/Pages/Login.razor:376-390 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/BookStore.Web/Components/Pages/Register.razor:414\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":"src/BookStore.Web/Components/Pages/Register.razor"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"04387b32c6381d99a0a48b08a194d59ffd6cdd1ee9676aa2bdf887c56ff56779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/BookStore.ApiService/Infrastructure/Notifications/NotificationService.cs:53-66 | src/BookStore.ApiService/Infrastructure/Notifications/RedisNotificationService.cs:124-137 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/BookStore.ApiService/Infrastructure/Notifications/NotificationService.cs:53\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":"src/BookStore.ApiService/Infrastructure/Notifications/NotificationService.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d3f7d79d3e597e9f66ef6b3a552805ef5473aa44be7d7457dbbbf0950c1749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/BookStore.Web/Components/Pages/Register.razor:437-449 | src/BookStore.Web/Components/Pages/Login.razor:399-411 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/BookStore.Web/Components/Pages/Register.razor:437\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":"src/BookStore.Web/Components/Pages/Register.razor"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09f7646d0ce468ac42a3883e360bb50108d98e9fb2117922df6fd33d8526a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/BookStore.ApiService/Projections/AuthorStatisticsProjection.cs:100-112 | src/BookStore.ApiService/Projections/CategoryStatisticsProjection.cs:87-98 | src/BookStore.ApiService/Projections/PublisherStatisticsProjection.cs:88-99 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/BookStore.ApiService/Projections/AuthorStatisticsProjection.cs:100\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":"src/BookStore.ApiService/Projections/AuthorStatisticsProjection.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f6a15cc90bb7f394c2e080b6ee7048dfdaeebc83360e18cc650c9e0942c5f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/BookStore.ApiService/Aggregates/BookAggregate.cs:375-386 | src/BookStore.ApiService/Aggregates/SaleAggregate.cs:26-37 \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":"src/BookStore.ApiService/Aggregates/BookAggregate.cs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2596ec27c5a8f090c4e5d3aa98523288a18cde4fb724df46c9e3e62d72c730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/BookStore.ApiService.Analyzers/Analyzers/AggregateRulesAnalyzer.cs:55-65 | src/BookStore.ApiService.Analyzers/Analyzers/CommandMustBeRecordAnalyzer.cs:83-94 | src/BookStore.ApiService.Analyzers/Analyzers/EventMustBeRecordAnalyzer.cs:100-111 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/BookStore.ApiService.Analyzers/Analyzers/AggregateRulesAnalyzer.cs:55\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":"src/BookStore.ApiService.Analyzers/Analyzers/AggregateRulesAnalyzer.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee255ebd927ce08ab1a6b144355d1a3c07a0f7a6cec1659447bc8b1721605b91"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: BookStore.Shared: BookStore.Shared: abstractness 0.02, instability 0.00, distance 0.98 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db9f7da31e62896fe3389205ff4792019213687c9bc2963d6c13c3ea3769d08e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: BookStore.ServiceDefaults: BookStore.ServiceDefaults: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a33fb8c108e0af11d8e4303343f45fcc3323cd523dd10370abd57543289e4aae"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MartenUserStore (LCOM4 16): MartenUserStore\u0027s methods form 16 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Infrastructure/Identity/MartenUserStore.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c649e93dcc31a3aa25a184d9b847c40c81db381c8072d2a06afeb250df42d73b"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured: The test suite couldn\u0027t be built/run in-image and no coverage report is committed, so line coverage was not measured \u2014 and it is EXCLUDED from the score rather than scored on a LoC-ratio proxy. No coverage collector was found in your CI either, so there is no existing report to hand us: add a coverage collector to your test run and commit (or publish) its Cobertura/OpenCover/lcov output anywhere in the repo, or make the suite runnable in-image, and real coverage will be measured."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Apply_BookRestored_WhenPublisherMatches_ShouldIncrement: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/BookStore.ApiService.UnitTests/Projections/PublisherStatisticsProjectionTests.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2f6096fdf167b9e0a4744b07ecf8395e391787a5b0771d593389bd3c0bc938"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ResendVerification_ForNonExistentUser_ShouldReturnGenericSuccess: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/BookStore.AppHost.Tests/EmailVerificationTests.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"11598e8009ae41e2db717f166dbed82693cc520cd7565f3951347d06bd16d00b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GenerateFakePassword_OutputSamples: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/BookStore.AppHost.Tests/PasswordGeneratorTests.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeb5a1f985066e2954e21769870acc5b3737bce7efb65a007bce7fde934098a"}},{"ruleId":"D11","level":"warning","message":{"text":"Test reliability not measured \u2014 no test run produced results: Test reliability NOT MEASURED: the test run produced no results for any test tier, so no test ever ran and flakiness could not be exercised. The cause could not be attributed, so it is excluded from the score rather than read as an absence of tests."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7d83a505f7fa19aeeece76141ae1e468d77e2a3fea2e88604b8140ebad47a6fe"}},{"ruleId":"D12","level":"error","message":{"text":"Vulnerable: Marten: Marten 8.30.1 \u2014 Critical severity. https://github.com/advisories/[GHSA redacted]"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"416590cc9fb43c0efc07465a64da655c7a1569f0f6e4b30a6103ebccb9e34c25"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Blazored.LocalStorage: Blazored.LocalStorage 4.3.0 \u2014 Legacy"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d4a8dc53f4e4885bf899771b1a56e59293c2dc9e17c151918562ec86fdc76a10"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 76 significant file(s) lose their only recent owner: src/BookStore.ApiService/Infrastructure/DatabaseSeeder.cs, src/BookStore.ApiService/Endpoints/BookEndpoints.cs, src/BookStore.ApiService/Endpoints/PasskeyEndpoints.cs, src/BookStore.ApiService/Endpoints/JwtAuthenticationEndpoints.cs, src/BookStore.ApiService/Infrastructure/Extensions/ApplicationServicesExtensions.cs, src/BookStore.ApiService/Infrastructure/MartenCommitListener.cs, src/BookStore.ApiService/Aggregates/BookAggregate.cs, src/BookStore.ApiService/Infrastructure/Identity/MartenUserStore.cs (\u002B68 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dc9037308962d39507bdaf170a0a86df541fb97f1eea1a093fe6d6f88a77895e"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS8603 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Endpoints/Admin/AdminBookEndpoints.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c33161661c2c19413a5d1863384a290972941a1e64fedd4ddc0fcb49a6aa1c"}},{"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":"src/BookStore.ApiService/Handlers/Sales/SaleHandlers.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f9988a101cdf32582882fcd6d8ceab2be8634ae0f0902b70c50a618df93abd"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1848 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Infrastructure/MartenConcurrencyExceptionMiddleware.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"57906d686aa76262dda2e7bf5d8cfd67a504475aeaee9d65fb3071ee787e9529"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1848 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.Web/Infrastructure/LoggingHubFilter.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"457316f94ab017120739f793b2b5c481af06c58446a4c2c0aa3ee8ea4461c93d"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] WaitForEventAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/BookStore.AppHost.Tests/Helpers/SseEventHelpers.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a507dd2d04962a2dc1a0d79ae908ada3027aa66c46a0581b250382abea3b0a"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: NU1701 \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":"tests/BookStore.ApiService.Analyzers.UnitTests/BookStore.ApiService.Analyzers.UnitTests.csproj"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"693ea1f1840fe48498c60c2266764720c452fd964f5feee40d098ea2dea035e4"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: EXTEXP0018 \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":"src/BookStore.ApiService/BookStore.ApiService.csproj"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5480d8aebc734fea29f9c88b4753dfb002a0d7566e51cb3ea52b13822394b6c0"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: EXTEXP0018 \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":"Directory.Build.props"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8608c30f6b7562eee3a17359e1dac40c3e599653cc72392155491c149b7979"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: RS2008 \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":"src/BookStore.ApiService.Analyzers/BookStore.ApiService.Analyzers.csproj"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d31c5ce2a9b96a952a8d40cb6f20a92d7344ebac507211f551784950598d530"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: RS1038 \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":"src/BookStore.ApiService.Analyzers/BookStore.ApiService.Analyzers.csproj"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"26df9c3574e96f554505e682bfac4455527e6a4d17eff00f0afa783a9b4e33df"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: NU1608 \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":"Directory.Build.props"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0472f599130e5a076288858c9dd190791bd476a16ac8831fcdcf95db9b9fd34"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found at common paths; consider documenting architectural decisions in Docs/ADL/ or similar."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 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":"D24","level":"note","message":{"text":"redundant comment: \u0022SHA-256 hash of the raw refresh token returned to the client.\u0022 \u2014 trim - the digest already says this"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Models/ApplicationUser.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d03bc64aa7874d54ab245b6f78de2ecce1a5eb97f81e15973c5569d68626b2"}},{"ruleId":"D26","level":"note","message":{"text":"Split BookStore.ApiService: A 14k-LoC API service that is spread over 29 unrelated namespaces is a sprawling grab-bag. Suggested: by namespace: BookEndpoints, OrderProcessing, Inventory, Payments"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d3983e9795eeba05aab966a3a677873d7286e1dbacbefc9dcd59b3dc2df7328a"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 94 % of calls cross a namespace and only 42 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"ruleId":"D29","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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"7ceee73d76663034321cbd3b5bbecae8b673163039b70b12462f979a331e73d3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"b869d41a92311c66c619c46a2761bbd4dc966cdd17904a0e453914dde9414a80"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"66547d01684e92101f7d2ffc32a4e8d5b1cc84079cdee9a5236f6ed281bb9909"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"b2448338e6cb28b3ab9dd7b5c267e9da9d54c1c6ee80bb3a8bcb9d837cf24259"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"fa36441bb218502eff71d560aabf39e03a38aa76dcfc125a1e5326ed1af11fe9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"8eb50784ab958284eb3ecd7050384e4061ddeae0c76cf46d9d242ff3f816fc6b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"4b67fdb41eacc0ab6ec92820426056c2fa1dcf74f0df37f23ac36ad83e5f6bbb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"bddbca9c804db274cab60d4e7683499ab56a35eafecf2d57c041bec73838e45c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"c730a413e06e31e38b9ce0614b4c1d4ecab89394ada4ef2802711e4baa76ec61"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"453bd1e22a2ed89ee0baf797a2bfbadd7f419ff8fc2da44585ad843c68d731c1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"fef619f91c5faf1a613330588a66207696827c9b7efcd6ebbc0ab5e65ada51f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"ed6fdc226c4d3b560a6765bd753130fbd1dbb00e11437de41604f04caeeea5a7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"055602a3a1cdc5b9e89218f502c9e61eeade13f5e070e071043a3f93072d5055"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"8cac62aa76c37ce66766e5640c1bb9a863e1a97fa528d5aa7328f853dbf10b51"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"8f78cc937e3224ad68b6179fb2d33a59b49eb02ad210dca990b44cfed49bff56"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"0435afa8f5d73048f2b2d73a5f7825882e4f7461d401d5e59611e881f5fb40ac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"2081458e1c018f97916b31370e423a0ec4d10951efd09dadbe12ff2d0fd10ed5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"cc8344a4c1faf168493c86c8f6069549d249ad21e8df50b17bebb3bdeb41136d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"b627ee45eea43080549b70a37d6dab4e38b32afa67ced2d793574c953f1287e0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: AuthorEndpoints.cs, BookEndpoints.cs, CategoryEndpoints.cs: 3 files \u2014 \u0060src/BookStore.ApiService/Endpoints/AuthorEndpoints.cs\u0060, \u0060src/BookStore.ApiService/Endpoints/BookEndpoints.cs\u0060, \u0060src/BookStore.ApiService/Endpoints/CategoryEndpoints.cs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Endpoints/AuthorEndpoints.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"239a9c413fcf9508c0dd885ff9da61e955ad5a1c0fd95bacf2d0ad779a5b6827"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: AuthorHandlers.cs, CategoryHandlers.cs, PublisherHandlers.cs: 3 files \u2014 \u0060src/BookStore.ApiService/Handlers/Authors/AuthorHandlers.cs\u0060, \u0060src/BookStore.ApiService/Handlers/Categories/CategoryHandlers.cs\u0060, \u0060src/BookStore.ApiService/Handlers/Publishers/PublisherHandlers.cs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Handlers/Authors/AuthorHandlers.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0803401c1b3c444e3145eef65a6539122fc31cf240a165060f4a8bb9118f7f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: AuthorAggregate.cs, BookAggregate.cs, CategoryAggregate.cs, PublisherAggregate.cs: 4 files \u2014 \u0060src/BookStore.ApiService/Aggregates/AuthorAggregate.cs\u0060, \u0060src/BookStore.ApiService/Aggregates/BookAggregate.cs\u0060, \u0060src/BookStore.ApiService/Aggregates/CategoryAggregate.cs\u0060, \u0060src/BookStore.ApiService/Aggregates/PublisherAggregate.cs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 6 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BookStore.ApiService/Aggregates/AuthorAggregate.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71d20d6a908b40b136200d6ee81693588a6680bb3b65a0e43165bfc0ba9fd31"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AdminCategoryEndpoints.cs \u2194 AdminPublisherEndpoints.cs: \u0060src/BookStore.ApiService/Endpoints/Admin/AdminCategoryEndpoints.cs\u0060 and \u0060src/BookStore.ApiService/Endpoints/Admin/AdminPublisherEndpoints.cs\u0060 change together 57% of the time (8 of the 14 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":"src/BookStore.ApiService/Endpoints/Admin/AdminCategoryEndpoints.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a36520d310834b8d47ece85cd6dc5aab55841d6b8c97e406c31f00bbee83cd3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AdminBookEndpoints.cs \u2194 AdminPublisherEndpoints.cs: \u0060src/BookStore.ApiService/Endpoints/Admin/AdminBookEndpoints.cs\u0060 and \u0060src/BookStore.ApiService/Endpoints/Admin/AdminPublisherEndpoints.cs\u0060 change together 57% of the time (8 of the 14 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":"src/BookStore.ApiService/Endpoints/Admin/AdminBookEndpoints.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da1a66d75a317b024b2cdda8ecb01b18611be51b458fb4536c2eaf163e12dc9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AdminAuthorEndpoints.cs \u2194 AdminPublisherEndpoints.cs: \u0060src/BookStore.ApiService/Endpoints/Admin/AdminAuthorEndpoints.cs\u0060 and \u0060src/BookStore.ApiService/Endpoints/Admin/AdminPublisherEndpoints.cs\u0060 change together 57% of the time (8 of the 14 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":"src/BookStore.ApiService/Endpoints/Admin/AdminAuthorEndpoints.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f609a2752697e000246b08996680ad56fa70e66616a0285d3e0ffefb61641ed"}},{"ruleId":"D36","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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}}],"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-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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-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":24,"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."]}]}