{"$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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"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":"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":"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"]}},{"id":"D39","name":"IL Efficiency","shortDescription":{"text":"IL Efficiency"},"helpUri":"https://codehealth.canine.dev/dimensions/D39"}]}},"results":[{"ruleId":"D2","level":"warning","message":{"text":"InMemoryCosmosDomainService.SaveAggregate (cognitive 20): InMemoryCosmosDomainService.SaveAggregate 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":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11fd48b4530e77df2ff81b804a3e735d2879def7649babb9ed4dbd284b51de3"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceCollectionExtensions.RegisterHandlers (cognitive 18): ServiceCollectionExtensions.RegisterHandlers has cognitive complexity 18 (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/Memoria/Extensions/ServiceCollectionExtensions.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb7f1bbb76520c71ad968a593daa9ea586c1f7d603035cedefea4d0fddabb9a"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditInterceptor.UpdateAuditFields (cognitive 17): AuditInterceptor.UpdateAuditFields 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/Memoria.EventSourcing.Store.EntityFrameworkCore/Interceptors/AuditInterceptor.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a872b8e10f0e11bbb6de9fa1cdb9b9bb6ea9a86695eb12ce2142790c797b72d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Memoria.Messaging.RabbitMq.InMemory/InMemoryRabbitMqStorage.cs:35-51 | src/Memoria.Messaging.ServiceBus.InMemory/InMemoryServiceBusStorage.cs:35-51"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.Messaging.RabbitMq.InMemory/InMemoryRabbitMqStorage.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f7ff24e9520ac1d4d9c96bb7242dd3dcfc173a62a2550977a52be5823b55ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs:348-363 | src/Memoria.EventSourcing.Store.Cosmos/CosmosDomainService.cs:515-530"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f97b4a2780a02e86f38e14e2fca09311a8c33596fafe85533550259421dc49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs:462-477 | src/Memoria.EventSourcing.Store.Cosmos/CosmosDomainService.cs:613-628"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d5c8b5e327ae403ccd69570f2ffce32723fcbb1fa2422edca14815a98ccece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Memoria.Messaging.RabbitMq.InMemory/InMemoryRabbitMqStorage.cs:66-81 | src/Memoria.Messaging.ServiceBus.InMemory/InMemoryServiceBusStorage.cs:66-81"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.Messaging.RabbitMq.InMemory/InMemoryRabbitMqStorage.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf83b37d50b6ad02b37d6039111571c10906f04a10c1507b237b87c36ae6a86b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs:248-262 | src/Memoria.EventSourcing.Store.Cosmos/CosmosDomainService.cs:362-376"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7742f5eb137faa297c9485c00487bb1d710c0d2d778c639c8230a4f95fecb0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs:273-287 | src/Memoria.EventSourcing.Store.Cosmos/CosmosDomainService.cs:396-410"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bfc803ce1d011c64e83112000c9cf7fdc028092ebf443cd23786957ffccd15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs:300-314 | src/Memoria.EventSourcing.Store.Cosmos/CosmosDomainService.cs:433-447"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc3c11b124e90e14478caccd26dde594bebfe7200dc2d2da997ab116f37547c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Memoria.Messaging.ServiceBus/ServiceBusMessagingProvider.cs:34-48 | src/Memoria.Messaging.ServiceBus/ServiceBusMessagingProvider.cs:69-83"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.Messaging.ServiceBus/ServiceBusMessagingProvider.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b422f1cb01946128a0bbc4ddd6c7927df2d52791e014774aefd785cc1f09117a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs:22-35 | src/Memoria.EventSourcing.Store.Cosmos/CosmosDomainService.cs:57-70"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0262821c36e461899cace010177372da130bf9c5c68fcc036848ac5de75052db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Memoria.Validation.FluentValidation/Extensions/ServiceCollectionExtensions.cs:30-43 | src/Memoria/Extensions/ServiceCollectionExtensions.cs:50-63"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.Validation.FluentValidation/Extensions/ServiceCollectionExtensions.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c09aadf54600e31f94bbd2c0ecab6801adee90ca9a0aeb3b7c0edd5cf5b0516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): src/Memoria.Messaging.RabbitMq.InMemory/InMemoryRabbitMqMessagingProvider.cs:32-44 | src/Memoria.Messaging.RabbitMq.InMemory/InMemoryRabbitMqMessagingProvider.cs:65-77 | src/Memoria.Messaging.RabbitMq/RabbitMqMessagingProvider.cs:114-126 | src/Memoria.Messaging.RabbitMq/RabbitMqMessagingProvider.cs:192-204 | src/Memoria.Messaging.ServiceBus.InMemory/InMemoryServiceBusMessagingProvider.cs:32-44 | src/Memoria.Messaging.ServiceBus.InMemory/InMemoryServiceBusMessagingProvider.cs:65-77"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.Messaging.RabbitMq.InMemory/InMemoryRabbitMqMessagingProvider.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7612b185517ea838b1a90f9606596fb2788485944a65122dad6faf6e18c4cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs:49-61 | src/Memoria.EventSourcing.Store.Cosmos/CosmosDomainService.cs:84-96"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa18dfba18e77969f78d3788ad0b8b6e5dd2976ff838d51ba846261188a3b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDataStore.cs:220-231 | src/Memoria.EventSourcing.Store.Cosmos/CosmosDataStore.cs:319-330"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDataStore.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf31677bd57347c8749dd8700da2be720708b2accc44523c314d44b16746dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs:146-155 | src/Memoria.EventSourcing.Store.Cosmos/CosmosDomainService.cs:188-197"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDomainService.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"199471ca6151fa6c8c740a2886109ea871fe675e33993942ac9aa89e1d20b4a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Memoria.Messaging.RabbitMq/RabbitMqMessagingProvider.cs:80-88 | src/Memoria.Messaging.RabbitMq/RabbitMqMessagingProvider.cs:156-164"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.Messaging.RabbitMq/RabbitMqMessagingProvider.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e540080bf4214e5380437a3112ed58d83c43ac8500c40b704f8f4d1911c4ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDataStore.cs:97-104 | src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDataStore.cs:115-122"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDataStore.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ad9779c448d73429fb92031de7ec2b679f7d907e006a3a40853bb3f714b4b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDataStore.cs:133-140 | src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDataStore.cs:151-158"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDataStore.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40934c9d180a0445174c06e7ccfc33ac121971dcf3404aa63f51ff368b3b70f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Memoria.EventSourcing.Store.EntityFrameworkCore.Identity: Memoria.EventSourcing.Store.EntityFrameworkCore.Identity: abstractness 1.00, instability 1.00, distance 1.00 \u2014 zone of uselessness \u2014 abstract and unstable, so it\u0027s likely unused."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d6b30715ebb09d1beefabca3ceaf765245796fda93db13ae386ffcedbf172b25"}},{"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. Commit the Cobertura/OpenCover/lcov report your CI already produces (anywhere in the repo), or make the suite runnable in-image, and real coverage will be measured."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.9.2 \u2014 Legacy xunit.v3 \u003E= 0.0.0"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d37c8c0e8046c9e8358e976373216abfb78e9fdef63ed53d3edcaa7d2238edcd"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: src/Memoria.EventSourcing.Store.Cosmos/CosmosDomainService.cs, src/Memoria.EventSourcing.Store.Cosmos/CosmosDataStore.cs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f6f3d65b01600597dc201d325edb16e9f693e44ac656b4ff684e2271232cfb7d"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: 5 project(s) carry only a thin slice of real code (e.g. \u0060Memoria.EventSourcing.Store.EntityFrameworkCore.Npgsql\u0060 with 26 significant line(s)). The mean analysable-surface weight is 95 %, lowering Solution Shape by about 0.4 point(s). Consolidate thin projects or grow them into substantial, well-scoped assemblies."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dd0b92fd965c2065080f16843920964ee00f7696ea03d87cdf61aed4cd2c746a"}},{"ruleId":"D19","level":"note","message":{"text":"The Concepts section begins (\u0027### Concepts\u0027) then is cut off in the middle of \u0027Providers\u0027 before covering the outlined topics (read modes, providers, roadmap).: Ensure the Concepts outline matches what appears: read modes, providers, and the roadmap. The clip truncates mid-Providers, so those sections are present but not shown."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/index.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80de7a24175e7076699fa98feb0990470212044ea64251239b20381405a2daad"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Memoria.Examples.Caching.Memory: Memoria.Examples.Caching.Memory: 0 % XML-doc coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Memoria.Examples.Caching.Memory/Memoria.Examples.Caching.Memory.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bb0baf490e9ca6e4d48ca349c54316a0a5a89418c48a0d51059ec47b21c43b"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Memoria.Examples.Caching.Redis: Memoria.Examples.Caching.Redis: 0 % XML-doc coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Memoria.Examples.Caching.Redis/Memoria.Examples.Caching.Redis.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3104785fed6b5f86d21a881f49ab14265e67ded669962bd9a308fd0fe347d3a4"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Memoria.Examples.EventSourcing.Cosmos: Memoria.Examples.EventSourcing.Cosmos: 0 % XML-doc coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Memoria.Examples.EventSourcing.Cosmos/Memoria.Examples.EventSourcing.Cosmos.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64de1f1646798f180c6ff16d23e28bade09f7609eb4a5be1b5309ffdcdbbcb48"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Memoria.Examples.EventSourcing.EntityFrameworkCore: Memoria.Examples.EventSourcing.EntityFrameworkCore: 0 % XML-doc coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Memoria.Examples.EventSourcing.EntityFrameworkCore/Memoria.Examples.EventSourcing.EntityFrameworkCore.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c7f00c2758ce0463896f2345b60b784c4ac3160c4f9b52352942b9bdbcdd1b"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Memoria.Examples.Messaging.RabbitMq: Memoria.Examples.Messaging.RabbitMq: 0 % XML-doc coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Memoria.Examples.Messaging.RabbitMq/Memoria.Examples.Messaging.RabbitMq.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cef41da87d7bcf55798a42ea5d8d5da7bd00888ec7f723f9e62e66d4f3724f"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Memoria.Examples.Messaging.ServiceBus: Memoria.Examples.Messaging.ServiceBus: 0 % XML-doc coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Memoria.Examples.Messaging.ServiceBus/Memoria.Examples.Messaging.ServiceBus.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaa6c1f8f1c097e1b544def41931ace61ddacfd1a777b9c259951460c24b075"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Memoria.EventSourcing.Store.Cosmos.InMemory: Memoria.EventSourcing.Store.Cosmos.InMemory: 7 % XML-doc coverage (3/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/Memoria.EventSourcing.Store.Cosmos.InMemory.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60e64925a88bcc344e3e97fc09028d31dac4411d75e7fb36303a65e29776dda"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Memoria.EventSourcing.Store.EntityFrameworkCore.Identity: Memoria.EventSourcing.Store.EntityFrameworkCore.Identity: 0 % XML-doc coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.EntityFrameworkCore.Identity/Memoria.EventSourcing.Store.EntityFrameworkCore.Identity.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9c81ba4b35f8bd0f3ab5c666341db0d9934f6e6aa063d2e5908a5c67f70129"}},{"ruleId":"D21","level":"note","message":{"text":"The method \u0060SetupActivity\u0060 is duplicated in two different \u0060TestBase\u0060 classes (Cosmos and EntityFrameworkCore). While they may do similar things, the duplication suggests a shared base class or interface should be used to enforce consistency and avoid drift.: Create a shared \u0060TestBase\u0060 base class or interface for these test helpers to ensure consistent naming and behavior. (symbols: Memoria.EventSourcing.Store.Cosmos.Tests.TestBase.SetupActivity(), Memoria.EventSourcing.Store.EntityFrameworkCore.Tests.TestBase.SetupActivity())"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"eb9be781fa032e6a8ecc6f79c9a483f08fabe99a4ca8fc3edaff78fd134e0f5f"}},{"ruleId":"D21","level":"note","message":{"text":"The interface \u0060ICosmosDataStore\u0060 and its implementation \u0060CosmosDataStore\u0060 both expose \u0060GetEventDocuments\u0060. However, the interface also exposes \u0060GetAggregateEventDocuments\u0060. The naming \u0060GetEventDocuments\u0060 vs \u0060GetAggregateEventDocuments\u0060 is slightly inconsistent in scope (all events vs aggregate-specific).: Ensure the interface and implementation names are perfectly aligned. If \u0060GetEventDocuments\u0060 is the primary query, consider if \u0060GetAggregateEventDocuments\u0060 is a necessary distinction or if it can be filtered via parameters. (symbols: Memoria.EventSourcing.Store.Cosmos.CosmosDataStore.GetEventDocuments(...), Memoria.EventSourcing.Store.Cosmos.ICosmosDataStore.GetEventDocuments(...))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3f55bb37b14c99b77e0eb3fb6d86e726c7055da5bcedb684255499de4473d658"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 11123 LoC spread over 33 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 namespace prefixes that belong to it \u2014 e.g. \u0060architecture:\u0060 \u2192 \u0060contexts:\u0060 \u2192 \u0060Billing: [\u0022Acme.Billing\u0022]\u0060, \u0060Catalog: [\u0022Acme.Catalog\u0022]\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}},{"ruleId":"D24","level":"note","message":{"text":"misleading comment: \u0022For debugging\u0022 \u2014 Delete - the code is not a debug marker but a structural annotation; it reads as benign noise."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Memoria.Examples.EventSourcing.EntityFrameworkCore/Program.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2100acbd6813d36fc4e27628a665abdf54a911a1e74f48383c87ef7c1392c46a"}},{"ruleId":"D24","level":"note","message":{"text":"misleading comment: \u0022Storage is shared, so we don\u0027t clear it here\u0022 \u2014 Fix - this contradicts the GC call (clearing) and the \u0027shared\u0027 claim is false; remove or correct one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos.InMemory/InMemoryCosmosDataStore.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc342447dd5cfd49d49824d091e6876351c45bc006b7fa84bc4515d0f24e0e86"}},{"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":"be82002869094debafd47ffc0021bdb17eacecac471c254f8f1b3bfbd31ecf12"},"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":"8d612c7ebc7afc6292060e4aefd997b9af495696007cefe3611b00f1e091679e"},"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":"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":"d246d75b65523bf2d2a40511b99aa4a99c398d84dce0bc89395442294f995af5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: FluentValidationProvider.cs \u2194 ValidationService.cs: \u0060src/Memoria.Validation.FluentValidation/FluentValidationProvider.cs\u0060 (context Memoria.Validation.FluentValidation) and \u0060src/Memoria/Validation/ValidationService.cs\u0060 (context Memoria) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched the less-changed of the two, renames followed) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.Validation.FluentValidation/FluentValidationProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24c4bd41cd827fcb3396e569ece4845def979cc0591fc8de37e5b342a9ae150"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: CosmosDomainService.cs \u2194 GetInMemoryAggregate.cs: \u0060src/Memoria.EventSourcing.Store.Cosmos/CosmosDomainService.cs\u0060 (context Memoria.EventSourcing.Store.Cosmos) and \u0060src/Memoria.EventSourcing.Store.EntityFrameworkCore/Extensions/DbContextExtensions/GetInMemoryAggregate.cs\u0060 (context Memoria.EventSourcing.Store.EntityFrameworkCore) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched the less-changed of the two, renames followed) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos/CosmosDomainService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82e4110919e1f8d939f13f876e825b3be5750f6f746128967997d14079c93b8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ICommandSender.cs \u2194 IDispatcher.cs: \u0060src/Memoria/Commands/ICommandSender.cs\u0060 and \u0060src/Memoria/IDispatcher.cs\u0060 change together 61% of the time (25 of the 41 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria/Commands/ICommandSender.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7334d849720fd6f5e4aa72a097d270e753a0142f5c42fb9f16ccc1e52e0068"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CosmosDataStore.cs \u2194 CosmosDomainService.cs: \u0060src/Memoria.EventSourcing.Store.Cosmos/CosmosDataStore.cs\u0060 and \u0060src/Memoria.EventSourcing.Store.Cosmos/CosmosDomainService.cs\u0060 change together 60% of the time (12 of the 20 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. They already sit in the same directory, so if they share structure, extract the common part into one unit; otherwise break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.Cosmos/CosmosDataStore.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c8c66935ca081515fd75e86d727a27892bf9fe0ab999b2ec91736fe21f1431"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: EntityFrameworkCoreDomainService.cs \u2194 GetInMemoryAggregate.cs: \u0060src/Memoria.EventSourcing.Store.EntityFrameworkCore/EntityFrameworkCoreDomainService.cs\u0060 and \u0060src/Memoria.EventSourcing.Store.EntityFrameworkCore/Extensions/DbContextExtensions/GetInMemoryAggregate.cs\u0060 change together 55% of the time (6 of the 11 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria.EventSourcing.Store.EntityFrameworkCore/EntityFrameworkCoreDomainService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80985532bd5d4b4e0fbc8438181e3baedd7fc0f7ca4b1f262cf96913d93ea1b2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CommandSender.cs \u2194 Dispather.cs: \u0060src/Memoria/Commands/CommandSender.cs\u0060 and \u0060src/Memoria/Dispather.cs\u0060 change together 55% of the time (6 of the 11 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Memoria/Commands/CommandSender.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ab225658b4b91df2acf02ea0e12511336134dd17189a49adb60f13564b7abb"}},{"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"}},{"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":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}}],"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-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-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-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":9,"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."]}]}