{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"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"}]}},"results":[{"ruleId":"D2","level":"warning","message":{"text":"ModernControllerGenerator.Execute (cognitive 16): ModernControllerGenerator.Execute 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/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eef452ccebcd2812d47f82e401c603fe9cf6a88f22c00cd9beed0cab5645f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ModernInMemoryControllerGenerator.Execute (cognitive 16): ModernInMemoryControllerGenerator.Execute 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/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d556bdd759087b1819c5b858c2b7ebe8224d1a4270d5d9e2a3245e9920f778b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModernEfCoreRepositoryWithFactory: TooManyMethods \u2014 349 significant lines (blank, comment-only and punctuation-only lines excluded), 32 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/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4714a825f4ff1a70fea8525c2936347272ae7c564724a7a5b7b914eadf765d5f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModernEfCoreRepository: TooManyMethods \u2014 330 significant lines (blank, comment-only and punctuation-only lines excluded), 32 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/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bdbfa4c2355d3290121c05d8fc4c85229b806f41504b001b8d97803b57894f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModernEfCoreRepositoryForUnitOfWork: TooManyMethods \u2014 272 significant lines (blank, comment-only and punctuation-only lines excluded), 32 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/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1909813f1efd51d3ad2d1efa600804da4686d7db6e41a2bf96406519206a16a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:636-661 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:543-568 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:664-689 \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/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:636\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/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"940c731f77bc2b5a0be8e325bc917dbb07d37534814e29462e42fe008ddcbb8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5): src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs:38-60 | src/WebApi/Modern.Controllers.DataStore.OData/DI/Features/GenericControllerRouteConvention.cs:37-59 | src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericControllerRouteConvention.cs:38-60 | src/WebApi/Modern.Controllers.DataStore.InMemory.OData/DI/Features/GenericControllerRouteConvention.cs:37-59 | src/WebApi/Modern.Controllers.CQRS.DataStore/DI/Features/GenericControllerRouteConvention.cs:38-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs:38\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/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bbb5cb5bf6ef70cd38006866d9b31e0ba6c5276607eddd972854bb45ba0ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs:25-44 | src/Repositories/Modern.Repositories.EFCore/Specifications/Base/OrSpecification.cs:25-44 \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/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc70b9adb8601b688164bd3c9601f1f51949fac1881264729a7c372fa0742c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Repositories/Modern.Repositories.MongoDB/Specifications/Base/AndSpecification.cs:25-44 | src/Repositories/Modern.Repositories.MongoDB/Specifications/Base/OrSpecification.cs:25-44 \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/Repositories/Modern.Repositories.MongoDB/Specifications/Base/AndSpecification.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8a42070afdae32a35d5526ba9cab63ac0f66bdbd0bcaf997cdca578efadffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB/Specifications/Base/AndSpecification.cs:25-44 | src/Repositories/Modern.Repositories.LiteDB/Specifications/Base/OrSpecification.cs:25-44 \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/Repositories/Modern.Repositories.LiteDB/Specifications/Base/AndSpecification.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c499894ac1c9c2ce9cebff8eb2e417ce85f8e67597ef1d93f9e3dc591c36b9b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/AndSpecification.cs:25-44 | src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/OrSpecification.cs:25-44 \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/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/AndSpecification.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7317116b21d0e1e9109c4e81d86fe49abf3a9ce1284187cc6c088bc057a698b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Services/Modern.Services.DataStore/ModernService.cs:314-330 | src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:363-379 \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/Services/Modern.Services.DataStore/ModernService.cs:314\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/Services/Modern.Services.DataStore/ModernService.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b447b96888563937cacc996eed249ebd0c256818f7022315f4a1472d572814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:317-332 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:226-241 \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/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:317\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/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ba06cb04fd9e55c1eb6e1c416faaeaa00d4cf490a04121005be5e18724e3a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs:23-37 | src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs:22-36 | src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:23-37 | src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs:23-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs:23\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/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7202bd65be649787660be7ab613eefc611ab5d9cf5c60a0a6ced3258b284cea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs:23-37 | src/SourceGenerators/Modern.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs:23-37 | src/SourceGenerators/Modern.Services.DataStore.InMemory.SourceGenerators/ModernInMemoryServiceGenerator.cs:23-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs:23\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/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f28608c25fa4640006bc0f6ba9bac155927ccfe7b2c6a5c64a1ffd180eb14b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Services/Modern.Services.DataStore/ModernService.cs:175-189 | src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:224-238 \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/Services/Modern.Services.DataStore/ModernService.cs:175\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/Services/Modern.Services.DataStore/ModernService.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1442146f7d7a2ee90716f924af94f4fda1a9a771cfc9184e7b9e454992feb91d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWherePagedQueryHandler.cs:68-82 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWherePagedQueryHandler.cs:68-82 \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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWherePagedQueryHandler.cs:68\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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWherePagedQueryHandler.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"16318f297bf62b7b57581905447933d3d1fc6b88c91e117c2cf982d81299ea28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs:26-40 | src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs:26-40 \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/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs:26\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/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a500b78aa3346502b7acda04bc211ba361719bdb9afc419209ce2cbe12e995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Services/Modern.Services.DataStore/ModernService.cs:200-213 | src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:249-262 \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/Services/Modern.Services.DataStore/ModernService.cs:200\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/Services/Modern.Services.DataStore/ModernService.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df97d2bd6abcf215accd724427173d9e44be01693fc1ffc070935564c355ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Services/Modern.Services.DataStore/ModernService.cs:221-234 | src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:270-283 \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/Services/Modern.Services.DataStore/ModernService.cs:221\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/Services/Modern.Services.DataStore/ModernService.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c6c6bc6785d86abcff653a45a7e28ab6a0c70f0e7aa5f5c1b00d13185b9103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:415-428 | src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:437-450 \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/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:415\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/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"afec9951c43787933e3c22158d4887ec2bb78a4e4b8e37d9c95681613febea1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Services/Modern.Services.DataStore/ModernService.cs:154-166 | src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:203-215 \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/Services/Modern.Services.DataStore/ModernService.cs:154\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/Services/Modern.Services.DataStore/ModernService.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"af96a778d4fcefd1a0097927355e2cd4c41ad488d39718b05e1ad9308c5179ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Services/Modern.Services.DataStore/ModernService.cs:241-253 | src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:290-302 \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/Services/Modern.Services.DataStore/ModernService.cs:241\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/Services/Modern.Services.DataStore/ModernService.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e38330ddd3dbb1b910276676714940ad9e152ede01c470c9070f121ebce9707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Services/Modern.Services.DataStore/ModernService.cs:263-275 | src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:312-324 \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/Services/Modern.Services.DataStore/ModernService.cs:263\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/Services/Modern.Services.DataStore/ModernService.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"601080d20861b1fc1a713272410d9802817bda9562df97fc257ba9d44601fceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Services/Modern.Services.DataStore/ModernService.cs:285-297 | src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:334-346 \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/Services/Modern.Services.DataStore/ModernService.cs:285\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/Services/Modern.Services.DataStore/ModernService.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0425acec1cc524cc92045d87056dce3a05c10dfe391294e7e975eae297572ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountAllQueryHandler.cs:54-66 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountAllQueryHandler.cs:54-66 \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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountAllQueryHandler.cs:54\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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountAllQueryHandler.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b6d0d6f94a8d06a5b4b41fb7f18037b47a70f6eccaf9edb36179b3d3fd6f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountQueryHandler.cs:59-71 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs:59-71 \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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountQueryHandler.cs:59\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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountQueryHandler.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6518c56de1a536e91243c7acd0e608dca7ba4974042601189ff3fe7883abf9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetExistsQueryHandler.cs:59-71 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetExistsQueryHandler.cs:59-71 \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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetExistsQueryHandler.cs:59\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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetExistsQueryHandler.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf981b5a119638cc65abbf475967ae61c48abca0d860cd25eb260cd86453697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:407-419 | src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:428-440 \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/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:407\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/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d1134ecbe5bb0aa166886c1a9641ebee43cdfa74c5b9fc3490db1a8b6ecbc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:116-128 | src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:151-163 \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/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:116\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/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"566338e7dabc1279e9240a55688092ebb327bee144f3bddcf1460ce4d33810c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:38-50 | src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs:38-50 \u2014 before extracting anything, compare \u0060src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs\u0060 and \u0060src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f076b96683366661754c6b14716ec2ab44d7ec9266314659961a7eaa684e317e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs:28-39 | src/Services/Modern.Services.DataStore.Cached/DI/ServicesExtensions.cs:38-49 \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/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs:28\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. 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/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d17d8d8a76ba0ee9f8cef9b36a10d2a90947d23e58ad50f818bf74af105047"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetAllQueryHandler.cs:55-66 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetAllQueryHandler.cs:55-66 \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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetAllQueryHandler.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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetAllQueryHandler.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49b113aa9ebe231bc8c8b51ec697751ee0ea97fa2230dc1cfec5a829e01d083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:762-772 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:667-677 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:790-800 \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/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:762\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/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"792c877f6dc01a6858ff4ae0e86a06196761f88698df55ccd47e4c4cc0845161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:33-43 | src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs:34-44 \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/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:33\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/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"822c409f7de307d413063b8b4b7135b38930adc8fa735969f3e9be402c7788b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:57-67 | src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs:58-68 \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/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:57\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/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e05121f87df302ff738730fdbe47b2cb90d30cdc119ea704db908e39bb1ccee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/Specifications/EfCoreSpecification.cs:35-45 | src/Repositories/Modern.Repositories.MongoDB/Specifications/MongoDbSpecification.cs:30-42 \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/Repositories/Modern.Repositories.EFCore/Specifications/EfCoreSpecification.cs:35\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/Repositories/Modern.Repositories.EFCore/Specifications/EfCoreSpecification.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa17fc0d08706cca04bf41adf45fb7822622cb4a020d5d48fb98187989297df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetFirstOrDefaultQueryHandler.cs:57-67 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetFirstOrDefaultQueryHandler.cs:57-67 \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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetFirstOrDefaultQueryHandler.cs:57\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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetFirstOrDefaultQueryHandler.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6f90fdb2e6b3ce87fba837b366fb7230f55e680302a18c0c06c678cc643a2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetSingleOrDefaultQueryHandler.cs:58-68 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetSingleOrDefaultQueryHandler.cs:58-68 \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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetSingleOrDefaultQueryHandler.cs:58\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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetSingleOrDefaultQueryHandler.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb906e42e654f24b3ba2ec04a08f09d454c3379bb5c78480e723f2113315e8cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWhereQueryHandler.cs:57-67 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWhereQueryHandler.cs:57-67 \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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWhereQueryHandler.cs:57\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/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWhereQueryHandler.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"027f1832691b209a9f81c8e2a8752192433f82ae004d8ac4d6929e08f76265d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:78-87 | src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs:80-89 \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/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:78\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/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07822f1f6d6de11734bc9da51189906319440a845232f84a5826f85636fc860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:98-107 | src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs:101-110 \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/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:98\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/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b273297e8d8900600f2e881938c83a547fde0bab83322a2cde359c0b5d7fb3e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/SourceGenerators/Modern.Controllers.SourceGenerators/EntityRequestGenerator.cs:85-94 | src/SourceGenerators/Modern.Controllers.SourceGenerators/EntityRequestGenerator.cs:102-111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Controllers.SourceGenerators/EntityRequestGenerator.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8082307b9643b1fba15f07b73374fd7a39035bae7d0a2ef0ba936c6671d3dfc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs:109-118 | src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs:109-118 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f809e47151f882de593215cb1b6ca5eea6b69dd0234cba1375aad98a44d3342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs:91-99 | src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:90-98 | src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs:90-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b8fe21aa04aa7aca2b071ba793c465ad81fd207369295fa7148f4df2b71f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:114-122 | src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs:117-125 \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/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:114\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. 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/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"776eaccd6bba4fe33ff489792ea3f3b5ce9ad36a91941d7cf91986a57824d067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericTypeControllerFeatureProvider.cs:34-42 | src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericTypeControllerFeatureProvider.cs:34-42 \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/WebApi/Modern.Controllers.DataStore/DI/Features/GenericTypeControllerFeatureProvider.cs:34\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/WebApi/Modern.Controllers.DataStore/DI/Features/GenericTypeControllerFeatureProvider.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dc397aa4c60c685b7c78d2b2f96b8da8f4610c2de4d976309cc1424fae8b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:79-87 | src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:132-140 \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/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:79\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/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"79af8000453c039390e21603b82b618e234fdab271d26d66fbcd8060db3fc2e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:79-87 | src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:130-138 \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/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:79\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/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6675fe8e46b546eeb53c651551fdc66abbfc7593219131acda7d63025a0bb3e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:101-109 | src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs:101-109 \u2014 before extracting anything, compare \u0060src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs\u0060 and \u0060src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"118e1f47d0163ada64ffea9afa6ecbe02df574081f4b07592d707602b0ac2a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs:85-93 | src/SourceGenerators/Modern.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs:88-96 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e39d2aea4031f29429e714db83df5ca4c1a594b3b822eb7a0157868ea344e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:70-77 | src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs:67-74 | src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs:58-65 | src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:67-74 | src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs:67-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f5cb7569fda40cf739e368f57ade49bad0397261751471c392e9593ab50fe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs:57-64 | src/SourceGenerators/Modern.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs:57-64 | src/SourceGenerators/Modern.Services.DataStore.InMemory.SourceGenerators/ModernInMemoryServiceGenerator.cs:57-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f03f44c655b3df9043a968e9e4514bf56fe89c78523fadcf625dbcfa0405a0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Repositories/Modern.Repositories.Dapper/Providers/OracleQueryProvider.cs:24-31 | src/Repositories/Modern.Repositories.Dapper/Providers/PostgresQueryProvider.cs:24-31 \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/Repositories/Modern.Repositories.Dapper/Providers/OracleQueryProvider.cs:24\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/Repositories/Modern.Repositories.Dapper/Providers/OracleQueryProvider.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4c4695b45ee5c7b22b9961b34542ae78630f112fd9e5513871cffeb9c45a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/Repositories/Modern.Repositories.Dapper/Providers/MySqlQueryProvider.cs:20-25 | src/Repositories/Modern.Repositories.Dapper/Providers/PostgresQueryProvider.cs:18-23 | src/Repositories/Modern.Repositories.Dapper/Providers/SqliteQueryProvider.cs:18-23 | src/Repositories/Modern.Repositories.Dapper/Providers/SqlServerQueryProvider.cs:18-23 \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/Repositories/Modern.Repositories.Dapper/Providers/MySqlQueryProvider.cs:20\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/Repositories/Modern.Repositories.Dapper/Providers/MySqlQueryProvider.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a4567892466c11c6568fb6f80efc132e974d11fca23b2364158d0a9e26d73a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:66-70 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:75-79 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:84-88 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:93-97 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:102-106 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"54017026c71a25ede3798398626fa92c64f53a495bdfa9f398ba2f51ded896fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:66-70 | src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:75-79 | src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:84-88 | src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:93-97 | src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:102-106 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c7fa2ef0f5662a2fee9eaadbfca23f0ead78ff42a587aa1aff220504f77542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/Repositories/Modern.Repositories.Dapper/Providers/OracleQueryProvider.cs:16-20 | src/Repositories/Modern.Repositories.Dapper/Providers/PostgresQueryProvider.cs:16-20 | src/Repositories/Modern.Repositories.Dapper/Providers/SqliteQueryProvider.cs:16-20 \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/Repositories/Modern.Repositories.Dapper/Providers/OracleQueryProvider.cs:16\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/Repositories/Modern.Repositories.Dapper/Providers/OracleQueryProvider.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5de22d5d8fc97710395e5f8fbeca22352ec9c33963dd2abb53c9ba51202e5a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Data(net8.0): Modern.Data(net8.0): abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 19 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dbafaff089b292ef7ec619f579fdaf59c0ddb7cffc6d41a74642c1424544cccf"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Exceptions(net8.0): Modern.Exceptions(net8.0): abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 22 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b637b2d1178f175eb022aac3350c9ab2d5fc9076314d7981b0f5c81a351c2a5a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Controllers.Attributes: Modern.Controllers.Attributes: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c783e5df596a4bc1154beb7180290deb988f096605d25985bab9335635252314"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Repositories.EFCore.Attributes: Modern.Repositories.EFCore.Attributes: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"637ee12bb51f320ab2e5417b525e4d6015a8cfa0896046982b24b0ffa472efff"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Repositories.MongoDB.Attributes: Modern.Repositories.MongoDB.Attributes: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9c73720acf63b05c34c39fd644f8e5f7b3ef97ec4f4d5725989bfd2efa6f9f84"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Repositories.Dapper.Attributes: Modern.Repositories.Dapper.Attributes: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"49aece447d15330846bf370ecec83fa4248af88205bedde181b92b114fbeeb6d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Repositories.LiteDB.Async.Attributes: Modern.Repositories.LiteDB.Async.Attributes: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6b47a4a88a7ed3613acd51ade334b1774b75410dc1702245ea4a3f6cae77fe09"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Repositories.LiteDB.Attributes: Modern.Repositories.LiteDB.Attributes: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"096351189c6859327c27e8a5a64f55d43719c068e4cdda1508040723926117eb"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Services.DataStore.Attributes: Modern.Services.DataStore.Attributes: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c14bc834e092c53287d495843e968655b1aac549e484453305eda167508f55d1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Services.DataStore.Cached.Attributes: Modern.Services.DataStore.Cached.Attributes: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"994abebaba531a9b20d19b7f22c900cbe58833331c46809fe5f56569eed0f4c4"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Services.DataStore.InMemory.Attributes: Modern.Services.DataStore.InMemory.Attributes: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f03c845486b2bc7a0a5b5c1b2cadb587f399a4baa04c8fa9cd51bef04ade3cf7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Controllers.InMemory.Attributes: Modern.Controllers.InMemory.Attributes: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d8e73532a2003852de5bbd3c2b804470cb337c8ee5c6d4fcb8dbfb673feb060"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Modern.Extensions.Microsoft.DependencyInjection(net8.0): Modern.Extensions.Microsoft.DependencyInjection(net8.0): abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 17 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"74a31e085d6da4e45d6d8fa545e6507003d5a18f85a86cf947fac7fb856ae2bb"}},{"ruleId":"D9","level":"warning","message":{"text":"Tests outside the analyzed solution: 2 .NET test project(s) exist on disk but aren\u0027t in the .NET solution that was analyzed (e.g. Modern.Cache.Redis.Tests.Integration.csproj), so they aren\u0027t built or gated with the production code and can\u0027t be assessed here. If this .NET code is part of the product, add those projects to the solution or point CodeHealth at a solution that includes them; if it is a client/compatibility harness beside a product written in another language, nothing is wrong here and this row can be ignored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7a0b53e0d18583a1361cd04775cd53329dedef67393349e0c99678c3c468f894"}},{"ruleId":"D16","level":"warning","message":{"text":"single-maintainer \u2014 knowledge-concentration (bus factor) risk: single-maintainer \u2014 knowledge-concentration (bus factor) risk (1 author(s) across 161 commit(s) sampled)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b4b49d961df742f0e507f4cc5c8094fb077ba0391a27fd015d18320865187719"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.Dapper/Providers/MySqlQueryProvider.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"765ed5883696a28dbf87f32a353d8a14febb606a919f3ed8128ec8a56b976048"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: no reflection here if possible \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42671614760ddbadc3063a9fd42653c27b0a4c52c7bc7582b9daf32078ae8bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: no reflection here if possible \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d04855fee4edf1859c9f71e3c47f41c5e3e5b4f6645cd52972f735c4459239"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: no reflection here if possible \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"e552036da6a732717d6a0caec1d5e80766e887af2a778f1d1923472dd820c1fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //    // TODO: configure this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c017e0e7427d6ca8b891c63c0671b547b440e898ff62301461f04ca7ab8a351b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a01dbf67c1842838382bf098b29273a3b6078c47cf06b9234d82483bceeffaa"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fc29ea9bc4b6b75c1b481fb0b45fa91155b949d1ee5a8e1c8808c387700a5b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5e8d59d47f9a4c8eeadd88dd40f48f26ab8d5e4ab0444767eb36e9f6a8ecd3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65ff7049b500e663704663eafc2fd3b1f95a32f04c27920e2f6db7683360bf8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"1070d8eb9438362358f04441ff4fd53da00c23d6d4e8c812a55eb0bf6d3f97d8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03c60f99fe68c2967c2c5615dc804b5aae12484e7293bc2e06f94b9456a7f2a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"a107803e5ab74ec77452e24e223e524a1a44ee062f44e11d27e44762f6904edf"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e453b7a442680093610a2b3ee61c913f1613af47179353e2498f4b0a0b17afcc"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f321b6115e7454cdd1f1dc243eaee00a4156ddc3dc7d0794ad227b3a25ca6135"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f91d93bf836e1f54cc1f1074e01bf79f7e69adb74fdd23de62cc91a17e83e39"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 13 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed204ed195d54f8dfc2ce651a18050adcc853cb623ed9ea55c1bd7047de2ac6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc606ab26a092f40f9dd5d00957842cd43375e8ba34d94e5f544c9237d6e8c0"}},{"ruleId":"D18","level":"warning","message":{"text":"Monorepo: only 1 of 2 solutions was scored: This repository contains 2 .NET solutions, but a scan analyzes ONE. Every score, lens, and finding here reflects only \u0060src/Modern.sln\u0060 \u2014 the other 1 (\u0060examples/Modern.Examples.sln\u0060) were not analyzed and are not represented in the headline. To cover them, scan each solution as its own target and group them in a Solution or Product for a portfolio roll-up. If a secondary solution is an archived or vendored tree, declare it \u2014 \u0060.gitattributes\u0060 (\u0060path/** linguist-vendored\u0060) or \u0060.editorconfig\u0060 (\u0060[path/**] generated_code = true\u0060) \u2014 to exclude it from discovery the same way generated code is."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a714c749a7ed0270f25ef54f0d77846abefb01ce5214d0fe8c64e4324d302faf"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Modern.CQRS.DataStore.InMemory: \u0060Modern.CQRS.DataStore.InMemory\u0060 contributes only 0 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.InMemory/Modern.CQRS.DataStore.InMemory.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bef74bacf58124e4073d82c4676c070858642d81d292cb5da921459920770ac"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Modern.CQRS.DataStore.InMemory.Abstractions: \u0060Modern.CQRS.DataStore.InMemory.Abstractions\u0060 contributes only 0 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.InMemory.Abstractions/Modern.CQRS.DataStore.InMemory.Abstractions.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4f178441f852456aca3e80de87d7691c5d6ce8d2685ca6a44b91f478c9cf7f"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Modern.Repositories.EFCore.Tests.Integration: \u0060Modern.Repositories.EFCore.Tests.Integration\u0060 contributes only 1 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/IntegrationTests/Modern.Repositories.EFCore.Tests.Integration/Modern.Repositories.EFCore.Tests.Integration.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf43dee470d5c2f65bb32b94917031203a1626c337acb445105d83a84003a75"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Modern.Repositories.MongoDB.Tests.Integration: \u0060Modern.Repositories.MongoDB.Tests.Integration\u0060 contributes only 1 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/IntegrationTests/Modern.Repositories.MongoDB.Tests.Integration/Modern.Repositories.MongoDB.Tests.Integration.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81d514883d3df02cdb741163897516a3ed0a2682f32771773680879fbf48211"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Modern.Repositories.Dapper.Tests.Integration: \u0060Modern.Repositories.Dapper.Tests.Integration\u0060 contributes only 1 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/IntegrationTests/Modern.Repositories.Dapper.Tests.Integration/Modern.Repositories.Dapper.Tests.Integration.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58d0e8ac7c5f1d5c11e03568051287f3dbe83206c2c6f177e1573a58241c949"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Modern.CQRS.DataStore.Cached.Tests.Unit: \u0060Modern.CQRS.DataStore.Cached.Tests.Unit\u0060 contributes only 1 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnitTests/Modern.CQRS.DataStore.Cached.Tests.Unit/Modern.CQRS.DataStore.Cached.Tests.Unit.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26b2abc0d96c335cf1a0f61f76f9e78ce9ddd3287936a46ae1a4921c8f15f0b"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Modern.CQRS.DataStore.InMemory.Tests.Unit: \u0060Modern.CQRS.DataStore.InMemory.Tests.Unit\u0060 contributes only 1 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnitTests/Modern.CQRS.DataStore.InMemory.Tests.Unit/Modern.CQRS.DataStore.InMemory.Tests.Unit.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf5c7251f008cbc0d545613006a310f620a4d37c5cf39798cb165a518a85103"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Modern.CQRS.DataStore.Tests.Unit: \u0060Modern.CQRS.DataStore.Tests.Unit\u0060 contributes only 1 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnitTests/Modern.CQRS.DataStore.Tests.Unit/Modern.CQRS.DataStore.Tests.Unit.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9ded9e18612e3ae7fe58c44ca0e011a090d06e869823f328bc56e864b7626c"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Modern.Services.DataStore.Cached.Tests.Unit: \u0060Modern.Services.DataStore.Cached.Tests.Unit\u0060 contributes only 3 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnitTests/Modern.Services.DataStore.Cached.Tests.Unit/Modern.Services.DataStore.Cached.Tests.Unit.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdcb20d3d40ac1cc607bf2568bbd6dabff918739d7717f7162c345fa58f6bf3"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Modern.Services.DataStore.InMemory.Tests.Unit: \u0060Modern.Services.DataStore.InMemory.Tests.Unit\u0060 contributes only 1 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnitTests/Modern.Services.DataStore.InMemory.Tests.Unit/Modern.Services.DataStore.InMemory.Tests.Unit.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e9dcec040741438ed86ea222cbd0acf8bdd4f6bbcf90743427ebda37232a8f"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Modern.Services.DataStore.Tests.Unit: \u0060Modern.Services.DataStore.Tests.Unit\u0060 contributes only 3 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnitTests/Modern.Services.DataStore.Tests.Unit/Modern.Services.DataStore.Tests.Unit.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6fb5327cd4a8fae218f790c70de55eb5778c02130ff050b3c5c1d2ec454687"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: 11 project(s) carry only a thin slice of real code (e.g. \u0060Modern.Application.Host\u0060 with 11 significant line(s)). The mean analysable-surface weight is 19 %, lowering Solution Shape by about 6.45 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 single controller README explains how to register controllers but does not cover usage of OData controllers or the OData-specific repository types.: Add a short Usage section covering OData query syntax and which repositories are used for OData."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebApi/Modern.Controllers.DataStore/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f567b5a072f491fdde1f51768745bb9c510896a59225be25972bf1d4e0c8362c"}},{"ruleId":"D19","level":"note","message":{"text":"The CQRS data-store in-memory abstraction is referenced but the README does not show how to register or use it.: Document the DI registration and a minimal constructor example for Modern.CQRS.DataStore.InMemory."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebApi/Modern.CQRS.DataStore.InMemory.Abstractions/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c0b728158b8f5d91be3a353d8e23ce1af09ee451a2e1d2fa7f442ab2d6961b"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found at common paths; consider documenting architectural decisions in Docs/ADL/ or similar."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D21","level":"note","message":{"text":"Typo in namespace \u0027Infrastracture\u0027 (missing \u0027t\u0027) in the \u0027EntityIncludeQuery\u0027 definition, while other query-related types use \u0027Query\u0027 or \u0027Infrastructure\u0027 correctly spelled.: Correct the typo in the namespace from \u0027Infrastracture\u0027 to \u0027Infrastructure\u0027. (symbols: Modern.Repositories.Abstractions.Infrastracture.EntityIncludeQuery\u003CTEntity\u003E, Modern.Repositories.EFCore.Query.IDbQueryProvider, Modern.Repositories.EFCore.Query.EfCoreQueryProviderWithFactory\u003CTDbContext, TEntity\u003E.Execute, Modern.Repositories.EFCore.Query.EfCoreQueryProvider\u003CTDbContext, TEntity\u003E.ExpressionQueryableSourceModifierVisitor)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cf73bb14586268df891a251c463a2f0a603f2aa3066ccde472b2a528233fe8f1"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 17966 LoC spread over 82 projects the codebase is both 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":"D34","level":"note","message":{"text":"Dormant codebase: 100 of 100 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 100 separate risks. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e0a78655b2cb22fdf8f506d6b5baf246485edd146aa97e5487eb808e356bf6"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"169c24c56cd43275dc6fc8fd06e3dd31aef8c9b5d8c2dee13816158031a929c8"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bda12fb4561c7cc3c0ed65aac9b680f1ad3425ddf8b297e5512d1f35e0429f"}}],"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-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-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-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":0,"secretScannerRunsExcluded":0}}}]}